#ot1-perplexing-regexing

1 messages · Page 546 of 1

inland wolf
#

i see

low chasm
#

Mhm

inland wolf
#

im used to vscode vim

low chasm
#

Lol

vapid nymph
#

Guys

#

I'm having a BLT for lunch

#

Except instead of Bacon it's beef SmirkingThinking

#

And instead of being on sliced bread it's a hot dung bun

low chasm
#

Pfft

vapid nymph
#

Hot DOG

rough sapphire
#

You killed a dog and cooked it?

last mantle
#

Damn

alpine edge
#

i have my assignment tommorow and i have been procrastinating all week

#

I cant stop procrastinating at the through of how boring our assignment is

rough sapphire
#

good

#

Turn off the internet

#

it helps

alpine edge
#

our assignment needs the internet

wraith hound
#

Download everything you need.

#

And then turn off the internet.

alpine edge
#

ill use one of those website blocking extention

alpine edge
clear plume
acoustic moss
#

flake8 is so fucking annoying

#

like

#

if you know what im doing wrong

#

why don't you fucking fix it yourself

#

smh

#

be like black

last mantle
#

damn

rich moon
#

pycharm always gives option to autofix

harsh tundra
#

pycharm has a keybind to reformat code according to style

young shoal
#

What’s better for game development, Objective C++ or C++
@subtle dagger what even is objective cpp

subtle dagger
#

It’s not a thing, apparently. I did not know that cpp was already object oriented

young shoal
#

c# is a nice language for game dev

subtle dagger
#

Ik

#

So it cpp and Java

twilit shore
#

unity use c# right

subtle dagger
#

It also has python packs

#

But mainly c#

twilit shore
#

*default unity

subtle dagger
#

Default unity uses c#

young shoal
#

cpp is a bit difficult

subtle dagger
#

Ik

#

That’s why I’m learning python first

rich moon
#

C# the ms java

daring sonnet
rich moon
#

the other java

#

that is not c#

daring sonnet
#

I know, I am joking

#

Anyway, C# >>> Java

rich moon
#

@daring sonnet its all java

daring sonnet
rich moon
#

honestly that is probably facts

mint lichen
#

rendering at 2am ;D

#

...

#

okay, let's try that again

#

ok nevermind microsoft despises screenshots

last mantle
mint lichen
#

nevermind, there we go
rendering at 2am ;D

craggy dagger
#

does, anyone at all know why i keep getting this error at random times?

topaz aurora
#

@craggy dagger Probably a corrupted installation

craggy dagger
#

thats odd seeing as, this was installed months ago

topaz aurora
#

Yeah, that's pretty common

craggy dagger
#

so, what do i do? this is getting, really annoying

topaz aurora
#

Uninstall then reinstall

#

I also suggest clearing the associated AppData folder

craggy dagger
#

now this showed up

vocal wren
#

Do you ever just go through help channels instead of doing homework 🤣

vapid nymph
wraith hound
tranquil orchid
#

true

jaunty blade
#

Pog

tribal aurora
#

that's great for starting the day

jaunty blade
#

kool

#

Poggers

wise schooner
latent scaffold
subtle dagger
#

True

#

So manly cpp an c# for game development

wise schooner
#

why is C# rated good for game dev :((

#

it has a GC 💥

#

is there any game which is made only in C# btw?

tranquil orchid
#

A lot of games are made using only unity and c# if that counts

#

But I'm sure unity has some C++ going on under the hood for the physics engine and whatnot

wise schooner
#

nah, unity itself is written in c++ iirc

#

yeah

#

there's minecraft in java and GC spikes are an issue

tribal aurora
wise schooner
#

can someone help with some regex
i want to regex out words in the form pqr word( efg. I need word here
similarly pqr abcd( pqrs( would give me abcd, pqrs.
(\w\() doesn't work 😔

inland wolf
#

\w+ ?

#

\w only matches one

#

give it a quantifier

wise schooner
#

thanks

inland wolf
#

damn

#

nice

latent scaffold
#

or so that's what I remember

tranquil orchid
#

Yes that's how it works

inland wolf
#

yes

bronze bay
#

@steady ridge can u add me friend?

last mantle
#

yes

jolly tinsel
solemn leaf
#

boom

latent scaffold
#

gwa gwa

solemn leaf
#

\🥴

#

ewwwwwwwwwwwwwwwwwww

latent scaffold
#

oh that looks so goofy

solemn leaf
#

wtf

latent scaffold
#

lmfao

#

you should are get joypixels

modest meteor
#

How often should you take breaks between programming?

twin charm
#

I write code when I'm on a break from studying.
so I cant take breaks while I'm on a break.

#

loll.

rough sapphire
#

.topic

median domeBOT
#
**What is the tallest building you've entered?**

Suggest more topics here!

tranquil orchid
#

That's a new one 👀

twin charm
#

oh no its lagging again

latent scaffold
#

What on Earth are these topics

twin charm
#

fuck, my messages are red.

latent scaffold
#

Imagine meeting someone and asking "So, what's the tallest building you've entered?"

tranquil orchid
#

@twin charm Did you add a few?

twin charm
#

I suggested 25+ and I guess a couple got added included the above.

#

.topic

median domeBOT
#
**Tea or coffee? What about milk?**

Suggest more topics here!

twin charm
#

coffee.

tranquil orchid
#

Green tea

twin charm
#

hm.

rough sapphire
#

coffe

twin charm
#

.topic

median domeBOT
#
**If you could be anyone else for one day, who would it be?**

Suggest more topics here!

rough sapphire
#

.topic

median domeBOT
#
**What is your favorite juice?**

Suggest more topics here!

twin charm
rough sapphire
twin charm
#

.topic

median domeBOT
#
**What artistic talents do you have?**

Suggest more topics here!

twin charm
#

None.

tribal aurora
#

Null

inland wolf
#

aha

humble rivet
#

is arch linux bad ?

inland wolf
#

its horribly bad

#

very bad bro

#

ok im kidding

#

its not bad

#

ask someone else

humble rivet
#

bruh

rough sapphire
#

.topic

median domeBOT
#
**What are your hobbies other than programming?**

Suggest more topics here!

latent scaffold
#

Excuse me

rough sapphire
latent scaffold
latent scaffold
rough sapphire
latent scaffold
#

Well, it's good regardless but if you don't know what you're doing, you'll probably break it

rough sapphire
#

which is most fun thing to do with linux

latent scaffold
#

Uh, well... I really had a lot of fun installing Arch tbh

#

Like a DIY project

wise schooner
#

424 branches 👀

dusky wren
#

out of topic but can anyone help me in circular motion physics problem?

last mantle
#

Go on

dusky wren
#

how do i find the centripetal force without the omega

#

it seems they asked for omega in part b so there has to be another method of finding the centripetal force right?

#

@last mantle

wise schooner
#

the tension is balancing the gravitational force

dusky wren
#

yes continue

wise schooner
#

wait, i think i need to make a diagram now

dusky wren
#

okok

gritty zinc
#

it's equal to the kinetic energy at the bottom

#

and from the energy, you can find speed and omega and force... though I see what you mean, hmm

dusky wren
#

i mean gpe=K.E

gritty zinc
#

honestly, I don't like the question at all, because I don't think the force is the same at each point

#

and they don't specify where

last mantle
#

Uh that would indeed be the case for a pendulum but how will you use it here @gritty zinc

#

As dragon said, make components of tension acting on it and solve

#

Taking y component and weight and x component and centripetal force

gritty zinc
#

it'd be the case because the higher the car currently is, the lower the kinetic energy, so the angular velocity, so the current centripetal force

last mantle
#

But it's moving at the same height right?

#

The diagram is confusing

wise schooner
#

the centripetal force will vary, yes

#

i assumed they meant at 45 degrees

gritty zinc
#

you know what, nevermind, I'm an idiot and didn't read the problem right

last mantle
#

Not an idiot but yeah

gritty zinc
#

they are rotating around the central axis. Yeah, just draw a diagram and solve for it

last mantle
#

Use forces

tribal aurora
#

woah api's are really cool

dusky wren
#

guys you are missing the point i need to find the centripetal force without the omega

last mantle
#

What is a omega

dusky wren
#

cause they asked for omega in the next part of the question

wise schooner
#

you can get T/root(2) = mg

tribal aurora
wise schooner
#

and then find T

tribal aurora
gritty zinc
wise schooner
#

then take the horizantal component

last mantle
#

Oh angular speed

wise schooner
#

the force tangential to it will be <horizantal_component>*cos(45)

dusky wren
#

@wise schooner could u send me a pic of how u came to that conclusion

wise schooner
#

yeah i suck at ms paint :((

#

wait

dusky wren
#

do a complete solve and send i'll understand it from the math hence

wise schooner
#

tcos45 = mg
t = mg root(2)

polar vigil
#

output

dusky wren
last mantle
#

Uhh @wise schooner isn't Fc towards the right

wise schooner
#

it's always tangential to motion iirc

#

so...

last mantle
#

That's velocity

#

Force is perpendicular to motion right

#

So the circle that it translates , the force is along the radius of it iirc

wise schooner
#

OH

#

mb

#

yes

last mantle
#

Anyways this whole question refreshed my memory lol

wise schooner
#

so it's just T bruh

#

i forgot abt it smh

dusky wren
#

bruh

#

rip

rough sapphire
#

.topic

median domeBOT
#
**What made you want to join this Discord server?**

Suggest more topics here!

rough sapphire
#

nothing

tardy rain
#

Good answer

#

Really gets a conversation going

#

Lmao

rough sapphire
#

.topic

median domeBOT
#
**If you could take only three things from your house, what would they be?**

Suggest more topics here!

rough sapphire
#

meme bank , pc , myself

latent scaffold
#

meme bank...?

prisma agate
#

.topic

median domeBOT
#
**What is the most satisfying thing you've done in your life?**

Suggest more topics here!

rough sapphire
#

Peed

prisma agate
#

Played COD after exams

rough sapphire
#

linus tech tips

low chasm
#

@rough sapphire

#

heyy

rough sapphire
#

hii

#

sup?

low chasm
#

alright

#

So, rust has support for OOP features

rough sapphire
#

yes, like C++ but less

low chasm
#

But, its not an OOP language as a whole

rough sapphire
#

yes

low chasm
#

Modern OOP is mostly derived from Java, right?

rough sapphire
#

no

low chasm
#

Smalltalk?

rough sapphire
#

maybe

low chasm
#

Alright

rough sapphire
#

i am not really good with oop

#

or history

low chasm
#

I like OOP a lot

#

Its great in a lot of cases

rough sapphire
#

I just know

algol -
        -> C -> C++
fortran -```
low chasm
#

Alright

rough sapphire
low chasm
#

Yeah

rough sapphire
#

but it's really not good for what i do

low chasm
#

As well as general programs that could use the organization

rough sapphire
#

rust is cool

low chasm
#

Rust is great yeah

rough sapphire
low chasm
#

Python is OOP since it represents everything as a PyObject

#

Everything is an object with corresponding methods

rough sapphire
#

i wanna make hyperfast modules for python with it :sunglas:

#

i don't think that works

#

does it?

low chasm
#

If you want high speed modules for python, use C, its much more compatible

low chasm
#

numpy is written in C

rough sapphire
#

i meant rust to python

low chasm
#

Ah

#

Maybe

#

I can see it being possible

#

Though its better to use C for this

#

Due to compatibility

rough sapphire
#

compile it to assembly and then use a decompiler to convert it to C

rough sapphire
low chasm
#

I'd recommend learning C

rough sapphire
#

eh

#

later

low chasm
#

Lol

rough sapphire
#

I recommend learning assembly(of your choice)

low chasm
#

Hm, why learn assembly?

rough sapphire
#

it's fun

low chasm
#

Alright

#

I guess it'll be nice to know, but I don't see it being used too much, C would be much more useful to learn

rough sapphire
#

and knowing what's going on under the hood will help debugging on lower level languages pretty easy

low chasm
#

Alright, thats fair

rough sapphire
#

i'll use rust for now

#

sometimes assmebly is only acceptable thing, you know?

low chasm
#

Lol

rough sapphire
#

seems like a name that i will give to one of my classes

rough sapphire
past charm
#

@ornate nymph blocked me 😦

sterile sapphire
#

🥴

#

probably for a good reason

past charm
#

ik why he blocked me btw

tardy rain
#

If you keep pinging people then ...

past charm
#

I spammed his DMs

sterile sapphire
#

well yes

#

that would do it

tardy rain
#

Deserves more than just a block imho

sterile sapphire
#

yeah I agree w what mariosis said

harsh tundra
#

spamming dms and random pinging? counts as harassment, especially since he told you to stop

strange musk
# past charm

ist just me, or the pfp and the message match a little too closely?

harsh tundra
#

the pic looks like saying "go away"

tardy rain
#

Kinda surprised youre still around tbh

humble rivet
#

how can i install garuda linux without grub ?

honest star
sterile sapphire
#

anyways

#

.topic

median domeBOT
#
**Name one famous person you would like to have at your easter dinner.**

Suggest more topics here!

sterile sapphire
#

no one I don't do Easter dinners

#

ah yes

#

I have now figured out a shortcut

#

to make everything on my google doc the same format

#

without having to manually change it

#

god knows why I didn't bother searching this up before

past charm
#

.topic

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

Suggest more topics here!

past charm
#

none I dont celebrate easter

#

.topic

median domeBOT
#
**What is your favorite song?**

Suggest more topics here!

tardy rain
#

Bruh are you actually admitting to spamming staff here

past charm
low chasm
#

pfft

past charm
#

btw he didnt tell me to stop because I was spamming

sterile sapphire
#

That doesn’t make it ok 🥴

past charm
#

I dont even know why he said go away

#

anyway idc

tardy rain
#

He's a helper ofc he's staff

#

Are you for real my dude

past charm
#

oh, didnt know helpers were staff

tardy rain
#

Why would you spam anyone in the first place

gritty zinc
#

The human perception isn’t built for observing fine changes in grayscale images. Human eyes are more sensitive to observing changes between colors, so you often need to recolor your grayscale images to get a clue about them.
were the opencv docs made for fucking aliens

rough sapphire
gritty zinc
#

oh, I got an error for once

#

that's progress

rough sapphire
#

what are you doing?

fresh basalt
#

complaining

#

:D

honest star
#

!tempban 556605996730941480 7D It is in no way acceptable to spam any member of this server, especially a staff member. Please re-read our code of conduct and rethink how you interact with others on this server if you'd like to return.

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied ban to @past charm until 2021-04-16 22:20 (6 days and 23 hours).

young shoal
#

lmfao what

low chasm
#

Huh

harsh tundra
#

nice

sterile sapphire
#

🥴

#

anyways

#

.topic

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

Suggest more topics here!

sterile sapphire
#

uhhhh

#

I read all of It like last night

#

it was really good

strange musk
sterile sapphire
#

Stephen king does really well w the horror genre

#

he does write some unsavory stuff in it tho

#

that I probably shouldn’t say

young shoal
#

not the last book, but certainly one of my favorites. educated by tara westover

sterile sapphire
#

@young shoal what’s it called?

young shoal
#

what

#

educated by tara westoverr

sterile sapphire
#

oh

#

I’m dumb

#

🥴

#

I liked the book middlesex too

#

Really well done

young shoal
#

for nonfiction i like collapse by jared diamond

low chasm
#

who brought the grandmas?

sterile sapphire
#

I’m very bad at reading nonfiction books

#

I get bored

#

I got bored by a book about near death experiences

low chasm
#

cookie clicker is the best

#

mostly cuz im good at it

sterile sapphire
#

Cookie clicker is boring

#

it’s just endless clicking

#

I don’t understand how people are entertained by that

gritty zinc
#

it's very little clicking, and a lot of endless progress

low chasm
#

Yes

#

That's the appeal

#

No need to do work

gritty zinc
#

humans have trouble distinguishing between kinds of progress, so you can bait them along with numbers going exponentially up via some effort

low chasm
#

Mhm

#

Having 518 vigintillion cookies is good

gritty zinc
#

though I found fun in automating it

sonic stream
#

what are your guys favorite mobile games/genres

sterile sapphire
#

it’s endless automated clicking

#

you buy things

#

And it does the clicking for you

#

how fun

#

🥴

sonic stream
#

i like those too

sterile sapphire
#

Mobile games are terrible now

sonic stream
#

i just need ideas

#

how about like

#

puzzle

sterile sapphire
#

Yeah I’m not sure

gritty zinc
#

galaxy on fire 2 😛

sterile sapphire
#

it’s really hard to come up w game ideas

#

no clue how game devs do it

gritty zinc
#

the mobile game that was so good they made it into a PC one later

sonic stream
#

yea

sterile sapphire
#

all the mobile games now are P2W

#

and they all require WiFi

sonic stream
#

im thinking dystopian puzzle

sterile sapphire
#

Gone are the days you could play a game on a car ride

sonic stream
#

yeah

sterile sapphire
#

they made the best football game require WiFi to play 🥴

sonic stream
#

oh

#

trhat sucks

sterile sapphire
#

the AppStore is terrible

sonic stream
#

i agree

sterile sapphire
#

I can’t even name a good console game in 2020

#

miles morales and GOT

#

But miles morales is more like DLC than an actual game

#

Yes it’s not actual DLC

#

but the length definitely feels like it

young shoal
sterile sapphire
#

oh my god dude

#

what is it with Macs and not being able to clear the notification when someone calls you

#

I hit decline so many times

#

and it won't go away

young shoal
#

what genre do you like?

sterile sapphire
#

Mystery

young shoal
#

oh I don't read mystery

#

no recommendations

sterile sapphire
#

the thing is

#

mystery books are very forgettable

#

for some reason

#

like they're not exceptionally well written

#

you see the plot twist coming a mile away

#

and they're very formulaic

young shoal
#

i wouldn't know ¯\_(ツ)_/¯

wraith hound
#

Any Fantasy suggestions?

young shoal
#

eragon?

wraith hound
#

Never heard of it, I shall go search it up.

young shoal
#

whattt

#

it's good

sterile sapphire
#

eragon is so good

#

the movie was awful tho

#

we don't talk about that

#

🥴

#

is GOT or LOTR worth reading

#

what is it with Macs and the inability to block people from facetiming you

#

or sending messages

young shoal
#

just tell them no lmao

sterile sapphire
#

but I want to block them

#

I just end up ignoring them completely

proper dune
#

Including hobbit

sterile sapphire
#

I don't think GOT is even fully written yet

#

the last book didn't come out before the show ended

proper dune
#

Haven't read got

#

Or watched the show

sterile sapphire
#

ah

#

me neither

#

I just got the entire thing spoiled for me

#

which is fine

#

I don't feel pain from spoilers after endgame got spoiled for me

#

but I already predicted the entire plot so

last mantle
#

GOT is easily better than LOTR

acoustic moss
#

agree

#

also

#

my otn

#

yay

sterile sapphire
#

@acoustic moss otn?

acoustic moss
#

channel name

sterile sapphire
#

Ohhh

#

My bad

spare goblet
#

This one's related to cookie clicker, isn't it?

latent scaffold
#

It is

tribal aurora
#

@remote socket so finally you became an emacs user

latent scaffold
#

@acoustic moss how many cookies do you are have

inland wolf
#

yooo i bought grandmas too

latent scaffold
#

I sold a grandma :/

edgy crest
#

jail

inland wolf
#

i sold 40

latent scaffold
#

oh my

edgy crest
#

wait wasnt this ot name just made yesterday or smth

tranquil orchid
#

the rng gods have spoken

latent scaffold
#

o_o

inland wolf
#

bruh

#

stop hoarding cookies broo!!!

#

help

#

ive been grinding for a day

#

and i dont have a billion cookies

twin charm
wise schooner
#

now globals() even has a copyright lmao

twin charm
#

@finite sierra wait.. did you just become a helper?! 🎉

finite sierra
#

Last night

twin charm
#

🎵 celebrate good times, come on 🎵

inland wolf
#

pretty relevant to the ot name

last mantle
#

Lmao

halcyon coyote
#

why the hell is everyone seeming to build only discord bots

edgy crest
#

because this is discord

inland wolf
#

lol

halcyon coyote
#

good answer

edgy crest
#

but eh id agree there are better things to do with programming

halcyon coyote
#

hmm yeah, id also have to agree that building a discord bot seems tempting

edgy crest
#

at first ¯_(ツ)_/¯

halcyon coyote
#

lmao

latent scaffold
#

I shall catch up

rough sapphire
#

what does it look like

#

hacks

#

i mean its just a clicking game so the devs added it inbuilt

#

lol

latent scaffold
#

thpoiler awert!

rough sapphire
#

oh derp yeah i get it

#

Totally legit lemon_sweat

latent scaffold
#

D:

#

i'm click faster!!!

royal lakeBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pydis.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

rough sapphire
#

auto clicker?

acoustic moss
#

why would it be made with you

#

smh

last mantle
#

yes

rough sapphire
#

whats ur autoclicker cps?

latent scaffold
#

o_o

last mantle
#

lmao its from GeeksForGeeks innit

rough sapphire
#

@paper sequoia which website u tested 65?

#

i got 54

#

oh ok

#

oh yeah Well.. You Clicked with the speed of 62.6 CPS

#

cool

inland wolf
latent scaffold
#

rude

inland wolf
#

all is fair in the cookie war

latent scaffold
#

\🔫

young shoal
#

that's...really really fast

#

fast enough that i'd think you're using an autoclicker lol

latent scaffold
#

more than 15 is kind of obvious autoclick, usually

inland wolf
#

heh

young shoal
#

up to 20 is reasonable, but 62? no way

#

that's a pretty sad autoclicker lol

acoustic moss
young shoal
#

yeah, should be way faster

acoustic moss
#

:(

latent scaffold
#

you're an octopus

acoustic moss
#

same

young shoal
#

your mouse software should have a way to create macros

latent scaffold
#

i'm a rabbit

inland wolf
#

yes

young shoal
#

look up your mouse ¯_(ツ)_/¯

acoustic moss
#

POV: you're looking up your mouse

#

ok

latent scaffold
rough sapphire
#

ooof

#

my pc is lagging

#

i tried something i shudnt

rough sapphire
# rough sapphire

is is actually more, but it didnt go more becuase my pc wasnt responding

#

now my pc is super slow oof

dusk holly
latent scaffold
#

Now make an autoclicker in Rust

rough sapphire
#

rust?

latent scaffold
#

yes. Rust

rough sapphire
#

aah i cant handle the slowness of my pc c i shud restarts

latent scaffold
#

Windows amirite

rough sapphire
#

oh derp

#

what was cps?

edgy crest
latent scaffold
#

yes

rough sapphire
#

wait what...

edgy crest
rough sapphire
#

i killed the python interpreter lag stopped lol

#

:shock:

edgy crest
#

if you using pyautogui it already has one most prob

rough sapphire
edgy crest
#

probably

#

lol

rough sapphire
#

oh lol

#

i was using pyautogui he used pynput and got 583 :shock:

#

i mean u cud check the mouse position

#

idk pynput

#

in pyautogui its pyautogui.position()

#

yeah u can

#

i bet there is something in pynput itself

latent scaffold
#

um I broke CLion

rough sapphire
#

uh oh

#

what u didd

#

huh?

#

how will that work

latent scaffold
#

OH AHAHA

#

I autoclicked the build

#

oops

rough sapphire
#

lmfao

latent scaffold
#

I accidentally built my program like 600 times

rough sapphire
#
while p.position().x > safe_pos: pass
latent scaffold
#

oops I broke the website too

rough sapphire
#

reee

#

i was telling the break and greater than sign

latent scaffold
#

My CPS is 2453.2

rough sapphire
#

naniiii

latent scaffold
#
use enigo::{Enigo, MouseControllable, MouseButton};
use std::thread::sleep;
use std::time::{Duration, Instant};

fn main() {
    let mut e = Enigo::new();
    sleep(Duration::from_secs(3));

    let now = Instant::now();
    let mut clicks = 0;
    while now.elapsed().as_secs() < 5 {
        e.mouse_click(MouseButton::Left);
        clicks += 1;
    }
    println!("{}", clicks);
}
rough sapphire
#

which website?

#

same website?

latent scaffold
#

I couldn't use the website, it was too fast

rough sapphire
#

oh i see lol

#

yeah i said something ought to be there

twin charm
#

pyautogui can simulate mouse clicks too.

rough sapphire
#

yeah i did autoclicker with pyautogui

twin charm
#

bruh.

latent scaffold
#

Rust

rough sapphire
#

derp looks so cool

latent scaffold
#

yay

#

it's actually really accurate

last mantle
#

lol

latent scaffold
#

I had to slow it down, I manually put to 60 CPS

inland wolf
#

the website lags out because my autoclicker is too good

rough sapphire
inland wolf
#

lol

latent scaffold
#

lord that's kind of big. my bad

twin charm
#

I got 195.

latent scaffold
twin charm
#

and I accidentally placed the mouse over an ad.... it kept on clicking....

latent scaffold
#

uBlock Origin moment

inland wolf
latent scaffold
#

Huh?

inland wolf
#

ur not using rust analyzer?

latent scaffold
#

I don't think so

inland wolf
#

use it

#

way better

latent scaffold
#

What is it?

inland wolf
#

its a better analyzer

#

for rust code

#

its an extension

latent scaffold
#

but that's for VSCode

#

I'm using CLion

inland wolf
#

oh wait

#

lolz

#

nvm then

latent scaffold
#

I've got the Jetbrains Rust extension

inland wolf
#

ight

latent scaffold
#

Man, this accuracy

#
CPS » 200
Time (s) » 5
Starting in 3...
Starting in 2...
Starting in 1...
Total Clicks: 1000
Delay (ns): 4999900
edgy crest
#

rust analyzer best analyzer amirite

latent scaffold
#

love CLion for Rust

edgy crest
#

nah rust analyzer is better

latent scaffold
#

Sheesh

#

This looks so faked, the numbers are so perfect

edgy crest
latent scaffold
#

Dang, idk what I did but it's actually so accurate now

#

Before, it'd give annoying numbers like 59.8 instead of 60

latent scaffold
#

yes

#

yes

#

43

#

lol

sudden palm
#

it takes 3 lines in python lol

from pynput.mouse import Button, Controller
mouse = Controller()
mouse.click(Button.left, 1000)
#

but it do not handle delay

solemn leaf
#

lol

harsh tundra
sudden palm
#

i know but i ill take more than 3 lines

harsh tundra
harsh tundra
sudden palm
#

ah yes you are right

sudden palm
harsh tundra
#

Dunder import and stuff

#

To make imports on the same line

sudden palm
#

can you show how this works?

edgy crest
#

should work

#

i think

sudden palm
#

it does not

#

for some reason

edgy crest
#

hmm then in tah case

#
(c := __import__("pynput")).mouse.Controller().click(c.mouse.Button.left, 1000)```
sudden palm
#
(c := __import__("pynput")).mouse.Controller().click(c.mouse.Button.left, 1000)```
#

this works

#

ah ok

#

xd we did that same

edgy crest
#

huray

wise schooner
edgy crest
#

if you use semi colons you are disqualified bye

#

thats not one line then

wise schooner
#

lol

#

oh wait~ you were trying to do it in one line?

#

i thought you were trying to code golf lol

sudden palm
#

as small as posible

wise schooner
#

yeah

sudden palm
#

so yes 1 line

wise schooner
#
import pynput.mouse as p; mouse = p.Controller(); mouse.click(p.Button.left, 1000)
``` is smaller i think
sudden palm
#

; is kinnda cheating

edgy crest
#

yes

wise schooner
#

you said small xD

#

not that it needs to be one line

edgy crest
#

small doesnt matter if it is uncool

sudden palm
#

xd in number of lines

wise schooner
sudden palm
#

lol

edgy crest
wise schooner
#

now time to make mine shorter by 1 character pithink

sudden palm
#
import pynput.mouse as p;   p.Controller().click(p.Button.left, 1000)```
drifting sage
#

LETS GOOO GOT SILHOUETTE FROM NARUTO ON MY PLAYLIST SkHypercatjam

sudden palm
#

what????

drifting sage
#

wdym what??

sudden palm
#

how it is eaven related to anything

drifting sage
#

idk

#

it is off-topic

sudden palm
#

yes but off server topic aka python

edgy crest
drifting sage
edgy crest
#

no, silhoutte

drifting sage
#

oh, I love it :)

#

But nothing can stand against Hero Too from My Hero Academy

#

It's too good

#

I mean... 😅

#

Anime songs are just way too good

tribal aurora
#

should every function have a definition in haskell?

topaz aurora
#

@tribal aurora wdym

tribal aurora
#

i read somewhere that every function in haskell have to have a definition

#

is that right ?

#

@topaz aurora

latent scaffold
#

as opposed to headless functions?

topaz aurora
#

When you define top-level declarations, you have to give them a value, yes

#

You can use undefined as a placeholder as well, for example:

arrange :: [Int] -> [Int]  -- You know the type
arrange = undefined        -- But you've yet to write the implementation
tribal aurora
#
say :: Color -> String
say Red   = "You are Red!"
say Blue  = "You are Blue!"
say Green = "You are Green!"
``` why this code works then
topaz aurora
#

Works in what sense?

#

You're not redefining a function that way, you're doing pattern matching

tribal aurora
#

also is Color a type ?

topaz aurora
#

Yes

tribal aurora
topaz aurora
#

With Red, Blue, and Green being the constructors

tribal aurora
#

wha

#

constructors ?

#

how

topaz aurora
#

When you define a data type like:

data Color = Red | Blue | Green
#

Color is your type, the other three are your constructors

harsh tundra
#

Constructors with no arguments are basically singletons/enums

#

And constructors with arguments just show what form your data takes. Like that Maybe being Some value or Nothing (singleton/non-argument constructor). Without Some we don't know that value it's of Maybe type. That's kinda why it's a constructor - we cannot construct the type without using it

#

At least that what I remember from class

tribal aurora
#

lol

#

you learn haskell in class?

topaz aurora
#

Most Unis teach it afaik

tribal aurora
#

owh

latent scaffold
#

Dang, wish mine would've

tribal aurora
#

yea

#

would be cool

latent scaffold
#

not that I'm too interested in learning it

#

but anything would've been nice

tribal aurora
#

yea

#

same idea

#

I feel tired

fresh basalt
#

@topaz aurora Which course? Computer languages?

#

CS right?

#

If you're thinking of a specific curriculum I'd be interested to see it.

#

if you have it handy

topaz aurora
#

I don't, unfortunately

fresh basalt
#

You inspired me to load up my external HDD with my backups from school

#

I could see it being taught in a symbolic programming class.

#

That's where my university taught Prolog and Lisp

#

shit, now I'm stuck in a memory hole

proper dune
#

Almost every big university I know has a class on functional programming, programming languages, paradigms, etc that teaches some sort of functional language (Haskell, ocaml, etc)

#

Definitely not that rare

fresh basalt
#

It's interesting to see which languages are chosen.

harsh tundra
low chasm
#

Hi :D

latent scaffold
#

You know, for doing very little customization, I think I'm quite proud of what I've got

twin charm
#

niice.

wraith hound
#

Ooh, that's quite fancy.

latent scaffold
#

Isn't that a GTK theme?

fresh basalt
#

I notice people streaming video on the server. Is that to share/get help with their code?

wraith hound
#

Because that's a good question.

acoustic moss
#

they can also stream games, etc

#

not everyone has the permission, its given out manually by the moderators

fresh basalt
#

I see. Thank you.

sweet ginkgo
#

How VK is popular in your counttry?

latent scaffold
#

Well, I know vk as Vulkan... which is graphics related

#

Vulkan is a low-overhead, cross-platform 3D graphics and computing API. Vulkan targets high-performance realtime 3D graphics applications such as video games and interactive media across all platforms. Compared to OpenGL, Direct3D 11 and Metal, Vulkan is intended to offer higher performance and more balanced CPU/GPU usage. Other major difference...

harsh tundra
#

VKontakte. Russian social media, popular in Russian-speaking countries.

tribal aurora
#

vulkan is great

#

Used it for rendering in Rust

harsh tundra
#

I mentioned VK earlier as someone was like "how can someone not know English? Internet is in English", so I mentioned VK as big part of Russian/Eastern European

#

But I don't use VK. I only understand some Russian, and I don't think Russian-owned site (especially since it was basically overtaken by pro-Putin people a few years back, read about Durov's dismissal from the company) would like openly queer person...

wraith hound
wraith hound
#

Tailwind in general is really nice.

rough sapphire
#

.topic

median domeBOT
#
**What is your favourite holiday?**

Suggest more topics here!

rough sapphire
#

the day of my death

low chasm
#

pfft what

rough sapphire
#

?

median domeBOT
#
**What is the best advice you have ever gotten in regards to programming/software?**

Suggest more topics here!

rough sapphire
#

Don't do it

inland wolf
#

ok

tardy rain
#

My guy, i dont mean to be offensive but if youre gonna keep doing .topic and answering in this 2-3 word fashion i would consider not doing .topic at all

#

Its spam at this point

wraith hound
rough sapphire
#

oh god

#

this name

#

gives me nightmares

#

it makes me remember cookie clicker

#

and my severe addiction to it

low chasm
scenic blaze
#

I have to write a short essay on my most meaningful accomplishment last month for HR

#

Someone kill me now

tranquil orchid
#

I hate those kinds of tasks

sterile sapphire
#

I had to write a 12 page marketing paper

#

it was mostly copy paste

#

I now know a lot about Walmart tho

#

🥴

rough sapphire
#

🥴

wise schooner
#

🥴

sterile sapphire
#

That was a joke

#

I don’t know anything about Walmart

#

I don’t even care

wise schooner
#

🥴

#

oh they fixed it

wise schooner
#

YES

sterile sapphire
#

What

wise schooner
#

if you edited a reply, it would ping the person you replied to

#

(atleast sometime ago)

sterile sapphire
#

Oh

#

That’s strange

latent scaffold
#

Fixed wot

young onyx
#

truly off topic for a python discord server

#

Herbet Schildt’s “C++: The Complete Reference, Second Edition” is a rather unassuming book at first glance, though on deeper inspection its political and philosophical satire hints at some of the greatest problems inherent in our society today. For instance that, due to the arguably unprovable nature of religion and morality, there is no way to quantify thoughts, actions, or things as positive or negative. This revelation, formally disclosed in “Part 2: C++-Specific Features, Function and Operator Overloading”, is played with throughout the book and forms the basis for Herbet Schildt’s future books, such as “The Art of Java”. Personally, I have found that Herbet Schildt’s “C++: The Complete Reference, Second Edition” provides an insightful and unique perspective on day to day living, encouraging me to consider the origins and utility of human morality at its most basic level.

tribal aurora
#

hehe

twin charm
#

👀

late sedge
#

@hazy citrus lets do it here (here the code for reference againpy if not any(item if item not in topics_dict["body"] else none for item in checkkw):

#

any returns true if the generator behind it returns any value

#

!e ```py
print(any(none))

print(any([1, 2, 3,])```

royal lakeBOT
#

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

late sedge
#

damn

latent scaffold
late sedge
#

fair

latent scaffold
#
In [4]: any([0, 0])
Out[4]: False
late sedge
#

and then behind the any is just an if statement and an iterator

#

also this would be betterpy if not any(true if item not in topics_dict["body"] else false for item in checkkw):

hazy citrus
#

but problem remains

#

still didn't go through though, like for some reason it's as if it's not detecting the words...

print(checkkw[0],checkkw[1],checkkw[2],checkkw[3])
                print(topics_dict["body"])
                print(total)

                if not any(true if item not in topics_dict["body"] else false for item in checkkw):

Print Result:
motherboard i5 3333 lol
['motherboard i5 3333 lol']

late sedge
#

andpy true if item not in topics_dict["body"] else false for item in checkkwis just another form of writingpy for item in checkw: if item in topics_dict["body"]: return false else: return true

#

can you do a quickpy print(checkkw) and print(topics_dict)

hazy citrus
#

1st is the checkkw

late sedge
#

so basically happened is that topics_dict["body"] is a list

#

so it will try to compare if motherboard is in the list and since it only contains the string 'motherboard i5 3333 lol' it fails

#

since motherboard != 'motherboard i5 3333 lol'

hazy citrus
#

oh

#

is there no way to check like word by word instead

late sedge
#

you'd need to join the list

hazy citrus
#

got an idea let me check

#

is there no way to convert the value of a list

#

to a string variable

late sedge
#

you could do " ".join(topics_dict["body"])

hazy citrus
#

if there is I can then just use .split

#

uh

#

where would I do that I've never tried joining lists

late sedge
#

which would work but im not sure how flexible its gonna be

#
if not any(true if item not in " ".join(topics_dict["body"]) else false for item in checkkw):```
hazy citrus
#

well, essentially I need to either: do like body = topics_dict["body"] (but body would have to be a string instead of list somehow) so that I could then do body = body.split()
and I'd get a new list with each word split.

or
somehow be able to use the .find function in a list which obviously doesn't work

#

ill try that

hazy citrus
late sedge
#

the join function basically does thispy separator.join(items)does thispy item[0] + separator + item[1] + separator + item[2] + .... for all items in items

hazy citrus
#

oh the separator = " " between each word

wise schooner
#

true and false are user defined?

#

python uses True and False for boolean iirc

hazy citrus
#

yea I rewrote it

#

but im still not understanding smth

#

if item not in " ".join(topics_dict["body"])

wise schooner
#

also True if condition else False is not really needed

late sedge
wise schooner
#
if not any(if item not in " ".join(topics_dict["body"]) for item in checkkw):
hazy citrus
#

item here is the value of checkkw[item} or?

hazy citrus
#

on the if

#

2nd one*

wise schooner
#

ah

#

remove if

#
if not any(item not in " ".join(topics_dict["body"]) for item in checkkw):
wise schooner
#

wdym?

#

if item is 0, it can't be in a string anyways

late sedge
#

nothing

#

just forgot its gonna be a string anyways

hazy citrus
#

whats the value of item there

#

for it to "not be in"

wise schooner
#

item is iterating through checkkw

#

what is the type of checkkw?

hazy citrus
#

so essentially 0,1,etc or is it the value of checkkw[item]

late sedge
hazy citrus
#

checkkw is a list too

wise schooner
#

yes

#

so it's iterating through all the elements 1 by 1

hazy citrus
#

so whats it doing is

wise schooner
#

i for i in ["a","b","c"]
i will be "a" first, "b" in next iteration and "c" in third

hazy citrus
#

ok got it

#

but what about the separator

#

whats it doing

#

" "

wise schooner
#

basically the opposite of split lol

hazy citrus
#

so why does that work but a simple item in topics_dict["body"] doesn't

wise schooner
#

i don't know how your topic_dict or checkkw looks like to answer that

hazy citrus
#

ok yea

#

if not any(item in topics_dict["body"] for item in checkkw):

#

worked

#

but if checkkw[0] in topics_dict["body"] and checkkw[1] in topics_dict["body"]:

wasn't working before

#

so weird

hazy citrus
#

what if I need ALL the words to match

#

@late sedge

wise schooner
#
if not all(item not in " ".join(topics_dict["body"]) for item in checkkw):
hazy citrus
#

oh I see

hazy citrus
# wise schooner if you need `all`, use `all`

and sorry to bother you so much but one last question hahaha just trying to understand this perfectly so I'll know how to do it next time.

if not all(item not in " ".join(topics_dict["body"]) for item in checkkw):

Basically all() returns a value of true or false right? if not all() then it means if all is False it will continue loop? or is it the other way around?

wise schooner
#

any checks if any of the values is True

hazy citrus
#

then "not all"

#

check if they are all false?

#

or rather continues if they are all false*

wise schooner
#

no, not all checks if any of the values is False

#

since if any of the values inside all is False, all returns False
not all will make this False to True

hazy citrus
#

oh

#

so its the same as if all(item not in " ".join(topics_dict["body"]) for item in checkkw) == True:

It will continue if all is true

late sedge
#

basically if you can use any use it

#

cause iirc the python interpreter can somewhat improve performance on that

#

but dont quote me on that

hazy citrus
#

if all(item in topics_dict["body"] for item in checkkw) == True:

#

doesn't work

#

hmm weird

late sedge
hazy citrus
#

nono it was working

#

if i do like

#

if not all(item not in " ".join(topics_dict["body"]) for item in checkkw):

#

it works

#

if all(item not in " ".join(topics_dict["body"]) for item in checkkw) == True:
also doesn't work

late sedge
#

what will return true if none of the items are in topics....

hazy citrus
#

oh yea forgot to remove the not

#

inside

#

ah yea this works if all(item not in " ".join(topics_dict["body"]) for item in checkkw) == True:

wise schooner
#

remove ==True lol

hazy citrus
#

oh yea I forgot it continues as long as all is true

wise schooner
#

no, if <something> >if <something>==True

#

lol

hazy citrus
#

im still confused at why " ".join(topics_dict["body"] works but a simple "in topics_dict["body"]" doesn't

#

testing smth lol
['testing smth lol']

#

that's the value of checkkw & topics_dict["body"]

late sedge
#

one is a string and the other a list

hazy citrus
#

" ".join(topics_dict["body"] this returns a string?

late sedge
#

so if you run an iterator over them the individual items are "testing" "smth" "lol" and 'testing smth lol'

sterile sapphire
#

guys I need help convincing my mom that the guru she listens to is full of shit

#

but it's very hard

sterile sapphire
#

Sadhguru

#

he's so full of shit dude

solemn leaf
#

👀 Indian author

sterile sapphire
#

everything he says is just self help under a veil of spirituality and psuedoscience

#

and it's all bullshit