#ot1-perplexing-regexing

1 messages · Page 532 of 1

sterile sapphire
#

F

carmine niche
#

oh god

proper dune
#

Who cares about Tesla, they're weirdos

sterile sapphire
#

why don't they make it open source?

strange musk
sterile sapphire
#

bc they want money ig

strange musk
#

its a old project

proper dune
#

MATLAB computer vision actually sucks

strange musk
#

theyve sunk decades of work in it

#

so they can;t give it free

strange musk
#

I have a pirated version

proper dune
#

MATLAB is unbeatable for:

  • signal processing
  • image processing (sort of)
  • aerospace
  • control theory
  • robotics (sort of)
#

I say sort of because there's other options for those but they suck

carmine niche
#

what even is control theory

proper dune
#
#

Accurate

carmine niche
#

Control theory is the field of controlling systems to do what you want them to do.
coulda just said that

strange musk
#

Boston Dynamics’ robots (No, they don’t use any Machine Learning!)
I refuse to beleive that

proper dune
#

It's true :p

#

0 machine learning going on

twilit shore
carmine niche
#

you underestimate the intelligence of humans

proper dune
#

Although they're adding machine learning for vision now

strange musk
#

good for them (unless they want to be obsolete)

carmine niche
#

??

proper dune
#

?

carmine niche
#

why on earth would not using ML make them obsolete

proper dune
#

Does not doing machine learning make them obsolete

graceful basin
#

ML isn't a universal solution to every single problem

carmine niche
#

^

strange musk
#

There's a limit to the stuff they can hard-code 🤷 ML can automate a human doing everything just in little time

carmine niche
#

not accurate

proper dune
#

I'll take another ignorant opinion from pydis for 100, Alex

carmine niche
#

^

#

lmao

strange musk
#

after that, they literally just need to transfer movements from human to the robot

carmine niche
#

ah yes

proper dune
#

Ahahahahahahahahahahaha

graceful basin
#

You severely overestimate machine learning

carmine niche
#

the one-step process of training a model to make a robot move like a human

strange musk
#

I ....really don't see why you cant do something thats already done??

proper dune
#

while robot doesn't look like dancing human:
train()

haughty laurel
#

i just lost my virginity!

strange musk
carmine niche
#

dawg it takes a fuckton of effort to get a computer to see the difference between a cat and a dog you think training an ai to operate a whole fucking dog robot is gonna be easier than that?

proper dune
#

Openai sucks dick at robotics

strange musk
carmine niche
#

i don't see how a text-generation ai has anything to do with controlling a robot

strange musk
#

some good arguments are better

#

lemme explain

proper dune
#

Okay here's an argument. Being able to co-ordinate complex motions while having fast responses to online event which respect real life physics, while also adapting to changing hardware parameters is an incredibly complex task that machine learning is a decade away from solving.

hybrid rock
#

Robotics need even more money.

proper dune
#

Current state of the art control theory can do all of that, generate new motions which adapt to disturbances, while respecting physics.

twilit shore
proper dune
#

While taking no time to train

carmine niche
haughty laurel
#

wrong stuff in copy paste

#

meant to pase this

#

i need to make a face detection thing from video
how can i start

strange musk
#

So, openAi's RL arm has a primary focus of doing what exactly we are talking about - in they want to invest in the ability of the model to generalize in the real world even after being trained in a simulation. (one example is there arm solving rubix cubes -- look it up)
So, they could use human actor to replicate the movement to different robots that generalizes well (like the arm can solve even if its fingers are tied/obstructed WITHOUT BEING SHOWS BEFORE!!)

proper dune
#

The amount of arrogance it takes to declare the state of the art result that machine learning has never even come close to achieve obsolete for not using machine learning is ridiculous

strange musk
#

they attempt is pretty great IMO

proper dune
haughty laurel
proper dune
twilit shore
#

OpenCV

#

Sorry got confused

strange musk
#

they solved the cube fully everytime

carmine niche
#

i don't know anything about control theory and i know enough to know that you have no clue what you're talking about

strange musk
#

🤷

twilit shore
strange musk
#

no no, I am not saying anyting about control theory

#

I am demonstrating that a similar experiment has been done in a narrow domain

carmine niche
#

@haughty laurel there are help channels, off-topic is not the place for python-related help, esp. not in a channel where there uis already a conversation

carmine niche
strange musk
proper dune
#

I think you should really check your understanding of both ML and Control theory before you call the state of the art obsolete

strange musk
#

Using ADR, we are able to train neural networks in simulation that can solve the Rubik’s Cube on the real robot hand

proper dune
#

You're allowed to claim ML is better when anyone in the world makes a dancing ML robot

haughty laurel
carmine niche
twilit shore
proper dune
#

Solving a Rubik’s Cube one-handed is a challenging task even for humans, and it takes children several years to gain the dexterity required to master it. Our robot still hasn’t perfected its technique though, as it solves the Rubik’s Cube 60% of the time (and only 20% of the time for a maximally difficult scramble).

strange musk
carmine niche
#

oh come on it is not that challenging

haughty laurel
#

i am a girl, so it's ok

proper dune
#

It will not, it will be a long time

carmine niche
twilit shore
proper dune
#

I am telling you, machine learning is not the solution to every problem and thinking so is just stupidity.

haughty laurel
#

bro it's cool being gay now, i am gay, look at the support gay people gets in google

#

i am gay but i dont fuck guys

twilit shore
#

Ok .topic

strange musk
#

<@&267629731250176001>

twilit shore
#

.topic

median domeBOT
#
**What is the title of the last book you read?**

Suggest more topics here!

twilit shore
# median dome

A book about the battle of Stalin grad from the point of Italian alpini

hybrid rock
proper dune
#

Again, you're telling a roboticist who knows a lot about both robotics and machine learning, about what machine learning is capable of in robotics and what it isn't, saying the world's smartest roboticists are doing something wrong even though people can't even begin to imagine how machine learning will work so well

#

ML has been very unsuccessful in robotics, mostly because model free RL sucks

strange musk
#

well, what's to say that ML will not improve over time?

#

or are all robotics doing the same thing for decades?

proper dune
#

"Boston dynamics is obsolete because one possible techniques might get better"

carmine niche
#

might be better in the future does not make something that is the best in the world right now obsolete

proper dune
graceful basin
#

!tempban 270845530689634304 2m hello, please familiarise yourself with our code of conduct and overall try to have less horribly spammy activity before you return to the server. You clearly have something meaningful to say, so please keep only that and not all the noise.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied ban to @haughty laurel until 2021-05-07 23:24 (1 month and 29 days).

proper dune
#

I have low belief ML will beat control theory in legged robotics

#

Because ML isn't the only thing that gets better

#

Control theory does too

strange musk
#

algorithms? ML's aim is to make a mother of all algos (whether its close to or its existence I cant comment on)

proper dune
#

Ahahhahahahaha

#

You need to drink less Kool aid

graceful basin
#

ML is only going to be better for some algorithms

strange musk
graceful basin
#

There are algorithms which are proven optimal/cannot afford incorrect results

#

ML isn't 100% correct. It's close, but you can't be close enough in a bank

#

And some robots will destroy themselves on invalid inputs

strange musk
#

ye, but DL's whole point is to map any arbitrary function. no individual algo can promise that. The more complexity - the more complex function we can map

hybrid rock
#

It's important to remember that while stuff like HTM is dealing with the neocortex / high level planning, etc. There is still EVERYTHING ELSE.

proper dune
#

You seriously can not believe every single field and their algorithms developed over the last 200 years will become obsolete because of gradient descent over nonlinear activations

shell raptor
#

I guess another disadvantage of self-learning algorithms is that you can't look inside of them and tweak them.

graceful basin
#

@strange musk but if you already know the best function, the hell you need dl for

strange musk
strange musk
#

no I did not

graceful basin
#

And you often do know the best function

strange musk
#

if you read my above chats ^^ I didn't say anything like that

tranquil orchid
#

Youtube just likes to throw me some random stuff from four years ago every once in a while

graceful basin
#

In fact, I would argue 99% of the time, when solving a problem, you don't want not need ML

strange musk
strange musk
#

IMO

graceful basin
#

I don't think 99.5% correct is good enough for robotics

proper dune
#

Again, I remind you you're a person with no experience in robotics, telling another person with a lot of experience in both ML and robotics that the people best in the world for robotics not using ML for robotics are wrong because one field you know might get better in the future.

#

Consider that you may be talking out of your ass

strange musk
#

wrong

#

I never said that. only that it might be

proper dune
#

Lots of goal post shifting with the whole "unless they want to be obsolete"

strange musk
#

I don't see you as someone who can predict what would actually happen. If 20 years later, roboticists do use ML, how can you predict that?

proper dune
#

Because I am at the forefront of robotics research in a group with good experience in robotics and ML. If anyone's qualified to comment on the future of the field, it's me

#

Can anyone predict the future? No

#

Can I make a good estimate? Yes

strange musk
#

that pretty arrogant that you think you may be able to predict something 🤷

#

especially the future

proper dune
#

"No one can predict the future therefore I can judge a field that I know nothing about for not using a field I vaguely know because there's a small chance it might somehow beat everything they've developed over 200 years"

strange musk
#

If anyone's qualified to comment on the future of the field, it's me
Still - its arrogant and doesn't provide much credentials unless you are actually a very well known figure

proper dune
#

Saying Boston dynamics want to be obsolete because they aren't using machine learning is arrogant

#

Bringing up that I am far more qualified to make that judgement than someone who knows nothing about robotics is not anywhere near

strange musk
#

I said they could be. there is a difference between speculation and actually believing it

proper dune
#

You could have said "I don't know anything about robotics but is there a chance their approach becomes obsolete because of machine learning?"

strange musk
#

These are arguments my man, not statements (unless you dont know english)

proper dune
#

Or "is there any reason why transfering from human movement doesn't work?"

#

Whatever, just got to work. Have to actually do work now

vapid nymph
#

Man what even went on here

proper dune
#

People of PyDis have a tendency to think they're more qualified to talk about fields they know nothing about than they actually are

vapid nymph
#

Specifically you~~

#

If Boston dynamics was obselete then they wouldn't have just been bought and sold a record number of spots.

#

I thought there was ML for spot to know how to walk, tho @proper dune

proper dune
#

Nope

#

No ML

vapid nymph
#

Oh dang

proper dune
#

Not even a little bit of ML

vapid nymph
#

So someone came up with a flipping algorithm for the entire thing

proper dune
#

Control theory is a very impressive field

strange musk
#

There were discussions on hackernews about boston dynamics, and some "insiders" claimed that BD uses heavily engineered, hand tuned but quite old ZMP algorithm. It looks like BD doesn't use any machine learning, they go exactly opposite route:

#

hand tuned but quite old ZMP algorithm

proper dune
#

We know very very well what algorithms they use

#

They don't use ZMP

#

Lol

vapid nymph
#

Oh

proper dune
#

They have a centroidal dynamics based trajectory optimisation stage followed by model predictive control

vapid nymph
#

Autonomy != ML
Does it?

strange musk
#

well, we all have work to do, so lets just end it and get to work. adios

proper dune
#

Nah, would love to point out what Boston dynamics uses

vapid nymph
proper dune
#

(and also they dont use handtuned ZMP)

#

They have stage 1:
They only consider the whole-body centroidal dynamics. Only the orientations and positions of the whole body pose is considered. This is run through a trajectory optimisation process where it runs a one-time optimisation process to create motion plans which satisfy some particular goals (eg. start off on the ground, go upside down in the air some time, fall back down to the ground). It generates large complex motions.

Stage 2:
This runs another optimisation process but this time it's a much faster process meant to follow the overall trajectory generated by the first one rather than generate complex motions of its own. It considers all joints individually, adapts the motion to the particular situation and rejects any disturbances.

#

Using these two, they're able to generate incredibly rich motions which respect physics of what's possible, follow it in real time at control loops at hundreds of times a second rejecting disturbances, and adapt them to the situation

#

@vapid nymph @strange musk

vapid nymph
#

👀

proper dune
#

I'm good at cable management

carmine niche
#

mood

#

@.Raggy i am interested in your take on my take on the starter blink.ino project
i don't really have the materials to do anything interesting so when i am in an arduino mood i entertain my software-oriented self by rewriting beginner projects in (what i think are) interesting ways

#define LED 13
#define TIME 500

bool state;

void setup() {
    pinMode(LED, OUTPUT);
    state = false;
}

void loop() {
    inv(&state);
    digitalWrite(LED, state);
    delay(TIME);
}

void inv(bool *b) {
    *b = !*b;
}
sterile sapphire
hybrid rock
carmine niche
#

some people don't like being pinged and they were offline so i didn't wanna risk it

#

they are online now tho

#

probs cuz squiggle pinged them

#

lmfao

#

hi raggy

proper dune
#

Arduinos are garbage anyway

carmine niche
#

hmm

proper dune
#

Use plain AVR libraries and avrdude + makefile to flash

carmine niche
#

see i would but i would have to learn how to do that which is like..

proper dune
#

Create things using proper interrupt handlers and set stuff using bit manipulation

#

It's not hard to learn

carmine niche
#

lmao

proper dune
#

AVR is a simple architecture

carmine niche
#

ok

#

maybe later

#

is it C?

#

that is, can i use C?

proper dune
carmine niche
#

C > C++ imo

proper dune
carmine niche
#

uwu

wispy garnet
#

anyone know a fix for no sound streaming with discord?

quartz heron
proper dune
low chasm
#

I have a final exam tomorrow lmao

sterile sapphire
#

@low chasm good luck

clear plume
#

<@&267629731250176001> sorry for the ping but y'all might wanna clean this up

frail saddle
#

It is one message

#

in off topic

clear plume
#

That takes up half the screen lol

frail saddle
#

Lol 2 of my screens

remote socket
frail saddle
#

my laptop small 😦

clear plume
frail saddle
#

its op

clear plume
#

Lmao let me just install a "gaming" browser rq

vapid nymph
#

hello @remote socket

#

damn he slow

clear plume
#

Well like

#

He probably has things to do

quick bay
#

he probably just ignored it

remote socket
#

both

tribal aurora
#

why do my usb device gets blocked even with secure boot disabled

fading anchor
#

I've got a question about ML, im unsure where to drop the question

#

it isn't explicitly python related, it's more just general advice on it. Where would people recommend i ask?

graceful basin
fading anchor
#

cheers! ^^

graceful basin
#

unless you mean ML the programming language

fading anchor
#

nah machine learning

winter terrace
#

how do i compile assembly files?

solid pollen
#

hmm you need an assembler for that

#

Technically you don't compile but assemble them

winter terrace
#

where'd i get that?

solid pollen
#

Which OS?

winter terrace
#

mac

solid pollen
#

Not sure, you should search the internet for mac assemblers

odd sluice
vapid nymph
#

hello @solid pollen who is def not a bot

rich moon
#

naw hes just blinded by the lights

solid pollen
#

mhm?

twin charm
#

ahaha

vapid nymph
#

well fuck

#

this is definitely abuse of azure /s

#

has anyone ever used autohotkey

#

well

#

i have a friend

#

who signed up for azure student

#

and installed autohotkey on the vm

#

this is the guy who wrote discord.ahk, which is like discord.py but for autohotkey

#

.….so you can guess what is happening

#

hint: running a discord bot written in autohotkey on azure.

winter terrace
#

is a vm worth the effort?

vapid nymph
#

in this case

#

its basically a raspberry pi

#

basically

#

it's slightly better imho

winter terrace
#

i mean like worth the effort to set up

#

wait no im just over complicating things sick

winter terrace
#

LETS GOOOOO

vapid nymph
#

👀

#

what did you set up

#

@winter terrace

#

did you set up an azure vm lel

winter terrace
#

ubuntu

#

and it kinda works but not really

#

apparently steam doesnt have a linux download lemon_angrysad

#

i really want to play 32 bit games :(

#

its also really slow

rough sapphire
#

@winter terrace did you do sudo dpkg --add-architecture i386?

vapid nymph
#

?

#

what are you running on

#

your own stuff or cloud stuff

winter terrace
#

just in virtualbox

#

Now, click Start and pray
i think this sums up setting up virtual machines perfectly

rough sapphire
winter terrace
#

in mac?

vapid nymph
winter terrace
#

yeah

vapid nymph
#

Ah okay

winter terrace
strong arrow
#

Does anyone here happen to own an old motorola/java-based/non-smartphone phone that can connect to the internet
This is important (ping me if so)

bronze patio
#

I just tried word online and it is truly hard to use

mild abyss
#

yes

#

yes

bronze patio
#

I thought it was good

mild abyss
#

i think by now cucumbers have already taken this server

#

as hostage

strong arrow
#

!!!!!

#

Please lmk if you definitely have access to one and can try to access a website with it

mild abyss
#

@vapid nymph how did u install grub lol

#

i think the GUI debian installer is a step by step process, u dont need to worry much

vapid nymph
#

ffs it was the ubuntu installer that just hated something

mild abyss
vapid nymph
#

and grub errored. every. time
ffs

mild abyss
#

because

vapid nymph
#

no fucking clue

mild abyss
#

u didnt install grub?

#

u didnt run grub-mkconfig?

vapid nymph
#

it was the ubuntu installer

#

there was no place for a command line

#

it was trying to do it itself

mild abyss
#

there is actually.

vapid nymph
#

and failed

#

every time

#

👀

#

ffs

#

yes, i am ffs-ing everywhere

mild abyss
#

just find a youtube video for it, debian is one of the difficult installs but it gets easier once u do it again and again

vapid nymph
#

no

#

debian was easier smh

#

ubuntu was the borken one

mild abyss
#

¯_(ツ)_/¯

#

dunno

#

maybe broken ubuntu installer too

vapid nymph
#

yes

#

perhaps

#

pls static ip load

#

ffs

#

today is the day of the ffs!!!

#

ffs!

edgy crest
vapid nymph
#

my router rn

mild abyss
#

debian's GUI installer is step by step, u should not have missed something hmm

vapid nymph
#

i didn't

mild abyss
#

welp cant help u with that, most people installing linux are usually on their own haha

#

in the end

vapid nymph
#

ffs

#

👀

mild abyss
#

imma go now byeee

vapid nymph
#

man

#

ubuntu spoiled me

#

ffs?

#

ffs.

ancient wedge
#

I'm just a cucumber..

rich moon
#

did u like do a system wide update

#

cuz those will be installed after a system update

#

at least the first time u do it

vapid nymph
#

@rich moon

#

sudo apt update
sudo apt install

#

I did those....

#

But there was nothing

rich moon
#

huh cuz when i tried manjaro

#

and i did a system update

#

a whole load of stuff was installed during that update

tribal aurora
rough sapphire
#

does anyone know how to make a giveaway reroll command

mild abyss
#

sudo apt install @narrow pecan

narrow pecan
#

Don’t mind me. I’m just a cucumber

narrow pecan
# vapid nymph

You should be able to just install dev tools. The actual package (group?) name differs depending on OS, but there should be something like that available

#

It includes git, gcc and most other common things you’ll need

last mantle
#

Finally the gurkans get some attention

mild abyss
#

we are taking this server hostage

last mantle
#

Indeed

tribal aurora
mild abyss
tribal aurora
#

ok

narrow pecan
bleak pine
#

What does olive oil taste like?

solid pollen
#

Like vegetable oil

#

But it taste good

#

You're welcome

narrow pecan
#

What OS?

vapid nymph
#

Debian linux

solid pollen
#

Isn't it python-build-tools or something

narrow pecan
#

Then it should be called build-essential

solid pollen
#

Well

vapid nymph
#

danke

#

i have 3 machines i have access to

#

a raspberry pi, a server running ubuntu server
and a server running debian

#

gonna shift the pi to either debian or ubuntu

solid pollen
#

Raspbian is a good choice for some use cases

vapid nymph
#

👀

#

its running raspberry pi os rn

#

ig i could leave it

#

thoughts?

#

well

#

time to build 3.9.2

vapid nymph
solid pollen
#

Uuhh

#

depends on the use case

vapid nymph
#

server

solid pollen
#

Raspbian or whatever is the current name is quite good with the CLI only mode

low chasm
#

I started trying to learn rust :D

solid pollen
#

Niice

vapid nymph
#

raspbian and raspberry pi os

solid pollen
#

No idea which one is which haha

vapid nymph
#

O

#

Cool

#

Txt attachments could be allowed soon

#

Wait what does it say again

royal lakeBOT
#

Hey @vapid nymph!

Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:

• If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)

• If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:

https://paste.pythondiscord.com

winter terrace
#

so im trying to set up steam inside an ubuntu vm, but its saying i dont have an internet connection

#

and yet im still able to use the browser?

last mantle
#

ahh yeah there is a fix for that

near zealot
#

Hello there! Where should I ask for candidate to maintain a project? My two co-worker disappeared, and doing things alone is not the best choice out there. I also don't want to leave the community.. Any suggestion?

tardy rain
#

you can showcase your project and if people are interested they will contact you

#

needs to be opensource however

near zealot
#

Yes it's super open source

#

Where can I showcase it? There is a dedicated channel?

tardy rain
#

no, you can use the offtopic channels

vapid nymph
tardy rain
#

python3 -m pip3 -V maybe?

quick ledge
vapid nymph
#

well

#

fuck

solid pollen
#

Hey, 0.05% got through

vapid nymph
#

sorry noticed my name was in it here's a new ss

rough sapphire
#

@frozen coral what's the hex code in your status mean?

frozen coral
rough sapphire
#

why must you do this

frozen coral
#

🙂

stiff jasper
#

🥴

winter terrace
#

do rejected suggestions for sir lance bot get closed or do they just get ignored?

rough sapphire
#

i made the same mistake

rough sapphire
frank canopy
#

Hello! I have a malware in my pc cause I had 99% cpu, then 2% cpu and 100% disk, and those percentages keep changing

livid sandal
#

rip ur device ig

#

try track the malware and deleting it

fading sequoia
strange musk
#

@fading sequoia know how to do this?
Q. Find the probability of rolling at least two 7s in four tosses in a pair of dice.

strange musk
frank canopy
#

Imma get the pc on fire

#

Cause idk much bout pc so idc

gritty zinc
strange musk
#

well, then its a lost case. better install linux tomorrow

gritty zinc
#

a d6 is just a normal 6-sided (from 1 to 6) dice

#

2d6 is common notation for "roll 2 d6es and sum them"

strange musk
#

is that something related to some bernoulli's trials?

gritty zinc
#

Well, somewhat related, yes

#

rolling a 7 is a binary outcome, so you're being asked about the probability of getting >=2 of these in 4 trials.

#

though you still need to find out the probability of each trial (rolling a 7 on a 2d6)

strange musk
#

atleast 7

gritty zinc
#

Not "at least two at least sevens" 🙂

strange musk
gritty zinc
#

Outcome 1: you roll a 7.
Outcome 2: you roll something other than a 7.

strange musk
#

ohhh

gritty zinc
#

the probabilities of these two outcomes are very different, of course

strange musk
#

could you possibly explain it with combinations and permutations to better hammer in the idea?

gritty zinc
#

Hmm, which part?

  1. About the probability of getting 2+ 7s in 4 trials (in terms of the probability of getting a 7 in a trial)?
  2. About the probability of getting a 7 on a 2d6 (which can be calculated by considering which of the 36 equally probable outcomes result in a 7)?
strange musk
#

no, like the whole thing without ds 🥺

gritty zinc
#

mmm... let me put it this way. Suppose I asked you

Find the probability of getting at least 2 positive outcomes in 4 tries, if the probability of a positive outcome in each trial is p.
#

would you be able to solve it then?

strange musk
#

maybe ye, make 2 cases: 1 positive, 2 positives. for first, it would be p. then for second, p*2. then....I multiply both?

#

oh, its least not most 😊

gritty zinc
#

This problem is exactly what Bernulli trials are about, basically.

strange musk
#

simplifying a large number of trials

gritty zinc
#

as the bernoulli formula (or whatever it's called) tells you, the probability of getting exactly m positives from n trials is C(n,m) * p^m * (1-p)^(n-m)

#

where C is the binomial coefficient

strange musk
#

😦 is this for the last year of high school? my teacher said that it would be too advanced

#

so C(n.m) constructs a binomial expansion?

gritty zinc
#

Similarly, for 2 outcomes you have p^2 * (1-p)^2 - and that's for each possible choice of the successful pair, which there are C(4,2) = 4*3/2 = 6 of.

strange musk
#

ok, I am getting that. but how is that C supposed to be calculated?

gritty zinc
gritty zinc
gritty zinc
#

yup, from-n-choose-m, the binomial coefficient

strange musk
#

ahhh

#

so, this p*(1-p)^3 would be multiplied by the positive ones chosen from the total?

strange musk
gritty zinc
#

So another question you need to answer is simply

What's the probability of getting a 7 as a sum of two fair six-sided dice?
high zealot
#

.snake fact

median domeBOT
#
Snake fact

The world’s longest venomous snake is the king cobra from Asia. It can grow up to 18 feet, rear almost as high as a person, growl loudly, and inject enough venom to kill an elephant.

high zealot
#

.snake fact

median domeBOT
#
Snake fact

The snake has held various meanings throughout history. For example, The Egyptians viewed the snake as representing royalty and deity. In the Jewish rabbinical tradition and in Hinduism, it represents sexual passion and desire. And the Romans interpreted the snake as a symbol of eternal love.

rough sapphire
#

Hi guys

low chasm
#

Rust is great :D

#

I started learning it

#

not as great as python tho

rich moon
#

im thinking about learning it too

#

cuz the new c++ standards are doing some pretty wack stuff

low chasm
#

Its a bit of a change from python though, being more low level

rich moon
#

like c++ 11 was okay

#

but 17 and onwards is just messed up

low chasm
#

Oof

#

What changed?

rich moon
#

extra syntax

#

that idky u need

low chasm
#

Huh ok

rich moon
#

and clang tidy starts using those syntax

low chasm
#

Lol

gritty zinc
low chasm
#

Ooh cool

#

I don't like how they declare types in rust though

gritty zinc
#

I love that clippy does "suggestions" like this:

low chasm
#

Oh cool

gritty zinc
#

sometimes clippy warnings are like "what you're doing is perfectly fine, but have you considered that function you might not know about that does this in half the code and possibly more efficiently?"

low chasm
#

Lol

#

Is rust as low level as C?

gritty zinc
low chasm
gritty zinc
low chasm
#

Oh

#

Ok

gritty zinc
#

pretty small ones too. Like, even when working with raw pointers, the only parts you need to wrap in unsafe is dereferencing them

low chasm
#

Cool

gritty zinc
#

because it's the only operation that can be dangerous (the compiler is trusting the programmer that the memory the pointer is pointing to contains an object of the right type - and, well, is allowed to be red from at all). As long as you don't try dereferencing, pointers are basically just some numbers.

low chasm
#

Rust seems more appealing than C

gritty zinc
low chasm
#

Lol

gritty zinc
#

especially since I don't quite get when you're supposed to use what type

low chasm
#

Im using the rust book to learn, is it a good resource?

gritty zinc
#

like, usize as opposed to u32. usize is u32 by default on all machines if I remember the Rust book right, but some builtin stuff like iterator indexes is usize and some is u32.

low chasm
#

Hm

gritty zinc
low chasm
versed saffron
#

usize allocates the size of a single address on your machine iirc "For example, on a 32 bit target, this is 4 bytes and on a 64 bit target, this is 8 bytes."

versed saffron
gritty zinc
#

ah, I misremembered a bit: isize and usize are always just dependent on the bitness. I was thinking about default types:

integer types default to i32: this type is generally the fastest, even on 64-bit systems. 
The default type is f64 because on modern CPUs it’s roughly the same speed as f32 but is capable of more precision.
low chasm
#

Whats the data type for strings?

gritty zinc
#

depends on whether you mean smart Strings or string slices &str

#

see 8.2 about how the data is stored, it's quite fascinating

low chasm
#

The chapter?

gritty zinc
#

yeah, I personally didn't really think much about how Unicode works before I read it

low chasm
#

Oh ok, i'll check it out, thanks :D

gritty zinc
versed saffron
#

huh that's pretty neat

tardy rain
#

Theres also rustlings

gritty zinc
#

oh, right

tardy rain
#

Excellent exercises, i wish python had something similar

gritty zinc
#

my problem with rustlings is that they aren't skippable

#

nor seem to have an index

graceful basin
#

Python koans are somewhat similar, but idk how good those are nwvadays

tardy rain
#

You can run specific tests iirc

gritty zinc
#

I have no idea how many exercises are in front of me, on what topics they are, and when will interesting ones begin

#

which isn't very nice

versed saffron
#

I like how helpful the errors are tho

gritty zinc
#

yes

#

Rust compiler screams at you a lot, but it's okay at the end, because you love it

mild abyss
#

it makes me feel like i am loved

undone fox
#

hi guys, i need help from those that use vscode. So i currently have a workspace that i made but i figured out that instead of inheriting the settings from user settings, it inherit the settings from vscode default settings. What can i do so that any workspace that i made will inherit settings from the user settings instead of the default one?

mild abyss
#

and open workspace instead of open folder once u open vscode

#

i will give an example

undone fox
#

so i can only open 1 workspace at a time?

mild abyss
#

but i havent explored much

undone fox
#

o so multiple vscode windows?

mild abyss
#
{
  "folders": [
    {
      "path": "Chapter 1 - Getting Started"
    },
    {
      "path": "Chapter 2 - Programming a Guessing Game"
    },
    {
      "path": "Chapter 3 - Common Programming Concepts"
    },
    {
      "path": "Chapter 4 - Understanding Ownership"
    },
    {
      "path": "Chapter 5 - Using Structs to Structure Related Data"
    },
    {
      "path": "Chapter 6 - Enums and Pattern Matching"
    },
    {
      "path": "Chapter 7 - Managing Growing Projects with Packages, Crates, and Modules"
    }
  ],
  "settings": {
    "files.defaultLanguage": "rust",
    "editor.fontFamily": "'FantasqueSansMono Nerd Font','JetBrainsMono Nerd Font'",
    "editor.hover.enabled": true,
    "editor.fontLigatures": true,
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.formatOnType": true,
    "editor.formatOnSaveMode": "file",
    "editor.defaultFormatter": "matklad.rust-analyzer",
    "rust-analyzer.cargo.allFeatures": true,
    "rust-analyzer.server.path": "/usr/bin/rust-analyzer",
    "rust-analyzer.updates.channel": "nightly",
    "lldb.displayFormat": "auto",
    "lldb.showDisassembly": "auto",
    "lldb.dereferencePointers": false
  },
  "extensions": {
    "recommendations": ["matklad.rust-analyzer"]
  }
}
#

here is an example workspace config

mild abyss
undone fox
#

when you work on your projects do you only open 1 workspace at a time (personally)?

mild abyss
undone fox
#

i see

mild abyss
#

because rust-analyzer works only if there is a cargo.toml file

mild abyss
rough sapphire
sterile sapphire
#

or something

rough sapphire
#

Yee

#

I think

sterile sapphire
#

interesting

sterile sapphire
#

idk I found this funny

clear plume
#

Wow this is one very dead chat

tribal aurora
#

mhm

royal fable
strange musk
twin charm
#

what is the context for this ot name btw

gritty zinc
twin charm
#

ohh

#

I understand

#

so relatable 🥲

violet roost
#

argh
I like NumPy-style docstrings more than rst, but rst is better documented, especially for working with Sphinx

#

hmmmm

#

choices, choices...

rough sapphire
#
@bot.command()
@commands.has_permissions(manage_messages=True)
async def tempmute(ctx, member: discord.Member, time):
    muted_role=discord.utils.get(ctx.guild.roles, name="Muted")
    time_convert = {"s": 1, "m":60, "h":3600,"d":86400}
    tempmute= int(time[0]) * time_convert[time[-1]]
    await ctx.message.delete()
    await member.add_roles(muted_role)
    embed = discord.Embed(description= f"![TickSpin](https://cdn.discordapp.com/emojis/818097255617527808.webp?size=128 "TickSpin") **{member.display_name}#{member.discriminator} is Muted Successfully**", color=discord.Color.green())
    await ctx.send(embed=embed)
    await asyncio.sleep(tempmute)
    await member.remove_roles(muted_role)

For some reason my bot doesnt mute for 10 seconds 10 minute or something like that even if i say so. it just mute for 1 minute or 1 second. how can i fix that

tribal aurora
#

@violet roost yo what's up

#

where have you been

violet roost
#

doin' class

tribal aurora
#

it's been a while since we've met

violet roost
#

such a while that I can't even remember meeting

#

rip me

tribal aurora
#

that's right, because i've changed my name multiple times

#

I think u know me Death, Death.exe Lost

#

or u still can't remember ._.

#

 ã ØVcˆ

#

what are these

violet roost
#

Yeah, I remember now

#

I had to answer a question

violet roost
#

idk

tribal aurora
#

that's the ascii of 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

violet roost
#

oh

#

it's not ascii

#

lol

tribal aurora
#

yea but that's what it gave me

violet roost
#

copy my status and google it

burnt bane
#

ok

tribal aurora
#

so it's AACS encryption

violet roost
#

yes

frozen oak
#

Hey! Does turning off the power damage my computer?

tardy rain
#

No, why would it

#

Just turn the pc off first

frozen oak
#

But if i forgot to turn of pc

#

@tardy rain

tardy rain
#

You might lose files i guess idk

twin charm
#

all unsaved work will be lost

frozen oak
#

Thats all?

#

No pc hardware demage?

#

@tardy rain

tardy rain
#

Bro stop pinging me wtf

frozen oak
#

Just asking

tardy rain
#

How am i supposed to know if your pc is gonna be damaged

#

Treat it right and it wont

frozen oak
#

Aright thanks

still sky
#

Does this make sense They made their agreement to negotiate an extent of the Mississippi River. Portuguese explorers include the first Africans, who captured and Revere of the Ohio River. The capture of Quebec led to the French Declaration of the Rights of Man and the Citizen Treaty of Rights of Man and Commerce. The spirit of the Declaration of the Howes and judges of the people became free to colonize most of Canada.

#

Like is this true? Is it written well? And is it accurate

#

It's text generation for something I'm making for fun

violet roost
#

Portuguese explorers include the first Africans, who captured and Revere of the Ohio River.

#

who captured and Revere

#

eh?

still sky
#

I think it meant they captured Revere (of or and) the Ohio River

#

Paul Revere in this case

#

But it's just one small mistake

#

I'll generate another piece of text

#
The Europeans in North America were overwhelmed by settlers and by a wave of European settlers and trade, including a new population of Africans. A significant number of European languages did not appear to exist in the Americas until decades after Asia and Africa were separated from it during the Age of Discovery. After the introduction of other cultures to the indigenous nation, civilizations began to develop communications with Europe via telegraph by a trans-Atlantic cable. The first recorded European references to North America (other than the English or Spanish-American letters) were put in the first English (other than the later cultural) to be used in``` don't mind the last sentence it was cut off
edgy crest
#

does anyone know what font is this

#

nvm found it

#

monster rat

twin charm
#

ctrl+shift+i moment

finite sierra
last mantle
finite sierra
#

wdym?

twin charm
finite sierra
#

oh wait whaaat

#

time to scroll

finite sierra
twin charm
last mantle
#

i thought you would ask somehting and it would continue in flow

#

thats all

finite sierra
#

oh oof

#

i'd gone for dinner :/

twin charm
#

oh shii-

last mantle
#

ok then continue here

#

that is a good laptop

finite sierra
#

i haven't got much to ask other than whether that is good lmao

#

okay nice nice

#

gonna take your word for it

last mantle
#

wait

#

check if you have extra storage and ram slots in it

finite sierra
#

i think i saw some reviewer dude say it's easy to extend the RAM

#

dunno about storage

#

tbh storage shouldnt be too much of an issue, i don't use much

last mantle
#

hmm ok

#

tbh i would go for a ryzen 7, your choice tho

finite sierra
#

yeah there is the same laptop with the ryzen 7 which i really wanted

#

but i waited too long and now it's gone out of stock

last mantle
#

ahh

#

sad

finite sierra
#

need to order soon, so gonna settle with this i guess :(

last mantle
#

imma wait for zen3

finite sierra
#

ooh

#

alright thanks for the advice :D

last mantle
#

heh , i did not advice you on anything but ok

finite sierra
#

validation, then

thorn belfry
sterile sapphire
spiral sapphire
high zealot
#

sorry

#

whar

#

t

high zealot
sterile sapphire
#

@high zealot yeah bc these people don’t listen

eager cliff
#

greetings

rich rover
#

I used to be an adventurer like you, but then I took an arrow in the knee!

vapid nymph
high zealot
#

yes i have heard

vapid nymph
#

well this channel name is

#

uh

quartz ermine
#

you kind of shot yourself in the foot there

vapid nymph
#

👀

rough sapphire
#

omg

#

i'm staff now??

low chasm
#

Lol

narrow pecan
#

Oh no, our staff chat leaked!

rough sapphire
#

oh noes

#

what are we gonna do about that

low chasm
#

I'd imagine the staff channel to be more active :D

rough sapphire
#

it probably isnt

#

considering how the vc stays empty all the time

frozen coral
#

Hah you'd be surprised

rough sapphire
#

lol

#

maybe some day

narrow pecan
#

@rough sapphire try searching how many messages I have

vapid nymph
rough sapphire
#

29.438

narrow pecan
#

That’s the count if we exclude staff channels

#

If we include them, it’s 50,200

low chasm
#

Lol

vapid nymph
#

31k

#

oh

rough sapphire
#

good lord

vapid nymph
#

wait so

#

you can actually be an admin without being a moderator, like @honest star

low chasm
#

Whoah

vapid nymph
#

i thought they could just add and remove the role from themselves

royal lakeBOT
#

@covert folio Please don't try to ping @everyone or @here. Your message has been removed. If you believe this was a mistake, please let staff know!

narrow pecan
#

Yep, you can be an admin without being a moderator (Kay’s a mod though)

low chasm
#

All staff have to be helpers though, right?

vapid nymph
#

but why tho

#

yeah

vapid nymph
low chasm
#

Alright

narrow pecan
vapid nymph
#

iirc the helper role is actually an internal role

#

where alll staff have the helper role

narrow pecan
vapid nymph
#

like

#

wouldn't admins be mods by extension

low chasm
#

Hm, what difference in perms do admins and mods have

frozen coral
#

It's less about perms, more about actual role in the community

low chasm
#

Alright

frozen coral
#

Kutie didn't moderate, but had admin duties

low chasm
#

Oh

rough sapphire
#

honestly

narrow pecan
#

They can moderate if they want to, sure, but they aren’t moderators per say. If you look at lemon, he’s fantastic when it comes to managing the server, being a driving force and and working on our branding. But that doesn’t mean he wants to moderate actively. Sure, if someone is spamming he can manage it, but it’s not as much of a commitment as to being a moderator

rough sapphire
#

i'd deny getting a staff role if i was offered one

low chasm
#

So admins have more responsibilities than the mods

honest star
#

I'm only a mod as of today and it's to primarily help out the mod team. I don't forsee myself having this role forever.

low chasm
#

Oh ok

#

Cool

honest star
#

admins have different responsibilities than moderators.

#

Most admins are mods, so it blurs, but I wouldn't say more.

rich moon
#

seems mods are the ones that do the !ban

low chasm
#

Oh ok

narrow pecan
#

I like how this actually became a staff chat, instead of a staff chat

low chasm
#

Lol

mellow spire
#

Moderators modeate over the server

#

while admins, administrate

#

lol

low chasm
#

Lol

narrow pecan
#

77 + 33 ≠ 100

vapid nymph
low chasm
narrow pecan
#

This is all I can tell you lemon_zipped

low chasm
#

Lol

rough sapphire
#

2 + 2 * 2 = 8

narrow pecan
#

That’s what happens when Rick ends up in the duck pond. Truly a tragic story

narrow pecan
low chasm
#

Lol

rough sapphire
#

i know

vapid nymph
#

ffs i need _ctypes

rough sapphire
#

it's just that the majority of people responds with 8

narrow pecan
#

Disturbing thought

rough sapphire
#

it's usually under pressure

low chasm
#

I have PEMDAS burned into my head lol

rough sapphire
#

which humans are terrible and handling

#

most of us at least

narrow pecan
#

Imagine that you’re in a car race, speeding up toward the finish like. You just pass the person in 2nd place. What placement do you get?

low chasm
#

Well, i'll go eat dinner, cya guys

narrow pecan
#

Alright, enjoy

mellow spire
narrow pecan
vapid nymph
#

👀

rough sapphire
#

i mean

#

you passed the guy on the second

#

you become the second

vapid nymph
#

good job yes

rough sapphire
#

yeah i can see how people would answer first to that

#

i am staff now 😎

#

160K members became staff.

#

surely this will end well

#

and not in catastrophe

narrow pecan
#

lol

#

If you get asked about it live, it’s quite common to say 1st place, because it makes sense, even though it doesn’t

rough sapphire
#

yeah

vapid nymph
#

i mean vester doesn't have mod perms so

#

ugh vester, have you ever built python from source before?

narrow pecan
#

It’s about the fact that positions are relative in races. If you pass the 2m line in normal things, the line won’t move. Instead, you’ll be in front of it (maybe at 1 meter). The same concept applies to the race thing

narrow pecan
vapid nymph
#

i'm missing the _ctypes module

#

I need that module!!

#

but it fails to install

#

hm

#

I wonder if its what I did to get the github on the machine

#

since its firewalled I had to download it here and scp it over

#

ffs

narrow pecan
#

That’s annoying

vapid nymph
#

i built python3.9.2 from source on 3 machines

#

and each one

#

has a different quirk

#

in one, it installed to the wrong folder

#

in another one it left out _ctypes

#

and a third one installed 3.10

#

welp

#

no, 3.10

#

its a difference smh

rough sapphire
#

so long as i dont need a reason to build from source i am happy

narrow pecan
#

CPython is switching to using a main branch instead of master

vapid nymph
#

ok master

#

ffs

#

its the reason behind master why they're switching

#

since it has other meanings and the origin

narrow pecan
#

Yeah, I think that’s it

#

Do you know about GitHub’s initiative to change it as the default?

vapid nymph
#

yeah

#

that's why i remember this

#

but ffs

#

why is each install have something wrong with it

#

anyways

narrow pecan
#

Time to sleep

#

Night!

vapid nymph
narrow pecan
#

I have a board meeting tomorrow morning lol, gotta get some rest

vapid nymph
#

you could at least respond to komododragon before you go, even to just say anything

rough sapphire
#

!otn a sick-stick-man

#

awww

low chasm
#

Hi :D

rough sapphire
#

can we get an otn

#

"ill-loner-x-society"

low chasm
#

Lol

narrow pecan
#

@low chasm @,,MrKomodoDragon#7975 I could swear that someone (joe?) mentioned it in a staff channel, but I can’t find the source now

low chasm
#

Oh lol

narrow pecan
#

Take it with a grain of salt, unless you find something yourself

low chasm
#

Alright

narrow pecan
#

Oh, I meant to ping @vapid nymph

low chasm
#

lmao

rough sapphire
#

btw

honest star
rough sapphire
#

have you 👁️ d today?

vapid nymph
#

👀

#

👁️

narrow pecan
#

Thanks kat!

shrewd tulip
#

is this

#

general

vapid nymph
#

well this is a nice error

low chasm
rough sapphire
#

so yeah

shrewd tulip
#

ooh

low chasm
rough sapphire
#

i guess it is

narrow pecan
vapid nymph
#

because that file doesn't exist on the github

shrewd tulip
narrow pecan
#

We can chat about python here too, though

rough sapphire
narrow pecan
#

(As we just did)

vapid nymph
shrewd tulip
#

BRO??!

rough sapphire
narrow pecan
#

Yeah, that’s allowed here

shrewd tulip
#

wtfff

low chasm
#

Lol

shrewd tulip
#

how did u even get that pic

rough sapphire
shrewd tulip
#

bro

rough sapphire
#

saying "she looks hot right?"

shrewd tulip
#

i took that pic like

#

yesterday

rough sapphire
#

jesus

shrewd tulip
#

?????

rough sapphire
#

that's pretty fucked up

shrewd tulip
#

anyways guys pls help me w my hw im about 2 cry

royal lakeBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, be considered malicious or inappropriate. Do not help with ongoing exams. Do not provide or request solutions for graded assignments, although general guidance is okay.

shrewd tulip
#

oh

low chasm
#

We can guide you though

rough sapphire
#

we can guide her though

shrewd tulip
#

yes pls

rough sapphire
#

guidance is alright

#

so?

strange musk
rough sapphire
#

very wonderful thing

strange musk
#

I still don't get it

rough sapphire
#

you don't need to

shrewd tulip
#

so

#

pls provide general guidance

rough sapphire
#

with?

shrewd tulip
#

can i dm

rough sapphire
#

sure

vapid nymph
#

👀

last mantle
vapid nymph
wise schooner
#

👀

opaque sentinel
#

Staff chat?

twilit shore
#

Staff leaks

rough sapphire
#

hacker moment

high zealot
low chasm
#

Guys, say I have two disks, an ssd and a hard disk, and I want to install a Linux vm, is there a way I could have the installation on the hard disk, and allocate 5-10gb on the ssd to use as a cache?

young shoal
#

sorry, staff only

low chasm
#

Lmao

acoustic moss
#

lol

low chasm
#

Im the last message In all of the ot channels I'm so powerful

acoustic moss
#

not any more

low chasm
#

Nope, still am

vapid nymph
#

👀

low chasm
#

Lol

vapid nymph
#

👀

low chasm
#

Lmao

vapid nymph
#

👀 no

low chasm
#

xD

vapid nymph
#

👁️ stop

low chasm
#

K

vapid nymph
#

this is completely a useless convo

low chasm
#

Yes

vapid nymph
#

agreed

low chasm
#

Also agreed

robust jetty
#

same

twin charm
#

wait hahah I thought the mods forgot to hide this channel 🤣

low chasm
#

Lol

acoustic moss
#

God I love reddit

You have to choose one person from all of human history to shit their pants, at a time so as to change the course of history as much as possible. Who would you choose, when and why?

sterile sapphire
#

Hitler when he quit art

wise schooner
#

newton before the apple fell on him

sterile sapphire
#

idk why tho

acoustic moss
wise schooner
#

no, he would have other things to worry about then :D

acoustic moss
#

true

sterile sapphire
#

trump’s inauguration ceremony

#

He would never be able to move past that

acoustic moss
wise schooner
solemn leaf
#

staff chat 👀

#

hello staff 👋

sterile sapphire
#

This isn’t staff chat

#

This is SPARTA

meager oxide
wise schooner
#

python already has ;

vapid nymph
#

seriously could this stop being reposted

#

i'm gonna bring that r/jokes thing here if it continues

#

this is meme 26 above

edgy crest
#

ye pls add {} in python

wise schooner
#

why isn't it being added tho? if everyone wants it

vapid nymph
#

!d f-strings

royal lakeBOT
#

This appears to be a generic page not tied to a specific symbol.

vapid nymph
#

there

#

they exist

#

be happy

edgy crest
wise schooner
acoustic moss
vapid nymph
#

ffs don't ruin it

wise schooner
#

ugh compiling cpython is p a i n on windows

#

anyone did it?

golden walrus
#

the staff chat, the user lounge

young shoal
#

🤔

#

tos breaking clients be like

wraith hound
#

They do though.

#

I've never used one, but I'm in the Discord Testers server, and so many people have bugs that are because of that.

vapid nymph
#

I didn't think it was called staff-chat.... Lemme check

#

!src

royal lakeBOT
golden walrus
vapid nymph
#

Yeah I was just looking for it