#voice-chat-text-0

1 messages Β· Page 259 of 1

peak depot
#

ffs

ivory stump
#

it do in fact be wednesday

ivory stump
#

yeah you're ahead

#

when you hit 600 I will be

#

until then we'll have to see

#

O_O

ivory stump
#

ah

#

looks like it wasnt accurate

#

aaaaaaaaaaaa

#

they sacked mate

#

please just think for a second

#

your oppoent did

#

QxB5 was mate

#

also no I'm not australian

#

Somewhere in GMT πŸ‘€

#

just rewind a few moves

#

I'm alright

#

I can neither confirm nor deny

#

πŸ‘‹

whole bear
#

@balmy crown πŸ‘‹

ivory stump
balmy crown
whole bear
balmy crown
#

i'm good bro how are u

#

hhhhhhhh

#

just for fun

#

it means i'm laughing XD

balmy phoenix
#

hi babes

ivory stump
#

Just run through options each time: Checks, captures, attacks (starting with pins and forks)

#

Doesn't look like you have any good checks or captures here

#

well done

#

No good checks but...

rugged root
#

Wrong chex, my bad

whole bear
#

Chex?

whole bear
rugged root
#

I try

ivory stump
#

Find all checks, are any good? If not look at all captures, do they leave you up material? If not look at attacks (forms & pins being a kind of attack but usually the kind you want to look for first)

#

For example here which checks can you give?

#

Actually ur stream timed out again so idk gimme a sec

#

aiya it was fine again before you cut it manually

rugged root
#

I wonder if voice server region affects the video streams

whole bear
#

Oh

ivory stump
#

!stream 717749310518722691

wise cargoBOT
#

βœ… @whole bear can now stream until <t:1707938585:f>.

ivory stump
#

am I??

#

that's news to me

balmy phoenix
#

sup fellas

ivory stump
#

just play a tiny bit more patiently

#

When you cant find a good move in under 5s you just chuck out a random pawn or kingmove that loses the puzzle instantly

#

Just take a quick breather and plan out the move a bit

#

consider all the checks before you play any

#

Like sure that rook capture check looks good but is there one that leaves the opponent with less counterplay?

#

(For previous puzzle) Your bishop is powerful, it's controlling the g1 square so you should leverage it. That's another way of looking at puzzles, how can you make all the pieces useful?

civic chasm
ivory stump
civic chasm
#

im exploring matplotlib to do exersice in kaggle, and no clue how to do it

fervent grail
#

@whole bear Hey, can we play chess after this game?

#

i can share a link to game

#

send in text chat if you want to play i can't hear in voice chat

whole bear
#

Shijan send it here

fervent grail
#
Chess.com

Login to your Chess.com account, and start enjoying all the chess games, videos, and puzzles that are waiting for you! If you have any issues while logging into your account, do not worry. You can recover your password, or drop us a message and we will gladly help.

whole bear
#

Bruh

whole bear
fervent grail
#

sorry my bad

#
Chess.com

Login to your Chess.com account, and start enjoying all the chess games, videos, and puzzles that are waiting for you! If you have any issues while logging into your account, do not worry. You can recover your password, or drop us a message and we will gladly help.

whole bear
#

@lone flame Join here

frozen owl
#

good

#

so fucking tired

fervent grail
#

i sent a rematch

ivory stump
whole bear
whole bear
somber heath
#

@fresh sphinx @buoyant vine πŸ‘‹

fresh sphinx
#

hi

#

how to code c++ plz

#

understandable have a nice day

#

how to code pyhton plz

buoyant vine
#

I went to the voice-chat.. no permissions? how do I get these? Suppressed - You do not have permission to speak in this channel
no permission to send messages in this channel

fresh sphinx
#

idk

#

trymma figure out how to code

buoyant vine
#

idk? trymma?

fresh sphinx
#

u right

#

finna figure out how to code

somber heath
#

@rough plover πŸ‘‹

whole bear
#

Hi opal

buoyant vine
#

Voice Gate failed
You are not currently eligible to use voice inside Python Discord for the following reasons:

You have sent less than 50 messages.
You have been active for fewer than 3 ten-minute blocks.
#

I can't send messages to others either 'Your message could not be delivered. This is usually because you don't share a server with the recipient or the recipient is only accepting direct messages from friends. You can see the full list of reasons here:
https://support.discord.com/hc/en-us/articles/360060145013

#

so I have to send 50 messages and be active for 3 10m blocks

#

but I can't send messages

#

any recommendations?

somber heath
#

@whole bear πŸ‘‹

buoyant vine
#

how do I leave this voice channel?

somber heath
#

It's red.

buoyant vine
#

Ya - I don't see it;;

#

ah - I think I got it.. it's not red on my end - looks liek an upside down phone

somber heath
#

Yep.

whole bear
coarse turret
#

@civic chasm

#

end of combos.txt (result)

#

4,460,493

mystic lily
#

4460493

#

1 [[1, 'Wayward Compass', 1]]
2 [[2, 'Gathering Swarm', 1]]
3 [[1, 'Wayward Compass', 1], [2, 'Gathering Swarm', 1]]

obsidian dragon
brisk cloud
#

Hey Osyra can I ask code help in voice chat text 0?

obsidian dragon
#

uh yeah I guess

brisk cloud
#

can you review this code if possible and can give me some insigths that everything is good?

#

Function to calculate Mean Absolute Percentage Error (MAPE)

def calculate_mape(y_true, y_pred):
return np.mean(np.abs((y_true - y_pred) / y_true)) * 100

Load the data and preprocess

df = pd.read_csv('ETH-USD.csv')

Remove rows with missing values

df = df.dropna()

closedf = df[df['Date'] > '2017-11-8']
closedf.reset_index(drop=True, inplace=True)
closedf = closedf.sort_values(by='Date', ascending=True)
closedf.set_index('Date', inplace=True)

Create a column for the prediction

projection = 2
closedf["Prediction"] = closedf[["Close"]].shift(-projection)

Drop NaN values created by the shift operation

closedf = closedf.dropna()

Extract features (X) and target variable (y)

X = np.array(closedf[['Close']])
y = np.array(closedf['Prediction'])

Split the data into 70% training, 10% validation, and 20% test sets

X_train, X_temp, y_train, y_temp = train_test_split(X, y, test_size=0.3, random_state=42)
X_val, X_test, y_val, y_test = train_test_split(X_temp, y_temp, test_size=0.33, random_state=42)

Standard Scaling

scaler = StandardScaler()
X_train = scaler.fit_transform(X_train)
X_val = scaler.transform(X_val)
X_test = scaler.transform(X_test)

#

i cant upload txt here

civic chasm
#

im just starting with pandas and machine learning

brisk cloud
#

any idea why?

#

Polynomial Regression

poly_degree = 2
poly_features = PolynomialFeatures(degree=poly_degree)
X_poly_train = poly_features.fit_transform(X_train)
X_poly_val = poly_features.transform(X_val)
X_poly_test = poly_features.transform(X_test)

Create a folder to store plots

if not os.path.exists('whole_dataset2'):
os.makedirs('whole_dataset2')

models = [
LinearRegression(),
Ridge(),
Lasso(),
ElasticNet(),
SVR(kernel='linear'),
DecisionTreeRegressor(),
GradientBoostingRegressor(),
MLPRegressor(max_iter=10000)
]

param_grids = [
{}, # Linear Regression
{'alpha': [0.01, 0.1, 1, 10, 100]}, # Ridge
{'alpha': [0.001, 0.01, 0.1, 1, 10]}, # Lasso
{'alpha': [0.001, 0.01, 0.1, 1, 10], 'l1_ratio': [0.1, 0.3, 0.5, 0.7, 0.9]}, # ElasticNet
{'C': [0.1, 1, 10, 100], 'kernel': ['linear', 'rbf', 'poly'], 'gamma': ['scale', 'auto', 0.001, 0.01, 0.1, 1]}, # SVR
{'max_depth': [3, 5, 10, 15], 'min_samples_split': [2, 5, 10], 'min_samples_leaf': [1, 2, 4]}, # Decision Tree
{'n_estimators': [50, 100, 200], 'learning_rate': [0.01, 0.1, 0.2], 'max_depth': [3, 5, 7], 'subsample': [0.8, 0.9, 1.0]}, # Gradient Boosting
{'hidden_layer_sizes': [(50, 20, 50), (50, 50), (100,), (10, 20, 10), (5, 10, 20, 20, 10, 5)],
'alpha': [0.0001, 0.001, 0.01], 'learning_rate_init': [0.001, 0.01, 0.1]}
]

for model, param_grid in zip(models, param_grids):
if type(model).name == 'LinearRegression':
# For Polynomial Regression
X_train_used = X_poly_train
X_val_used = X_poly_val
X_test_used = X_poly_test
else:
X_train_used = X_train
X_val_used = X_val
X_test_used = X_test

# Hyperparameter tuning using GridSearchCV
grid_search = GridSearchCV(model, param_grid, scoring='neg_mean_squared_error', cv=3)
grid_search.fit(X_train_used, y_train)
#

just need a heads up if everything is fine in my code

obsidian dragon
#

!paste @brisk cloud

wise cargoBOT
#
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.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

brisk cloud
#

Best parameters

best_params = grid_search.best_params_

# Training with best parameters
model.set_params(**best_params)
model.fit(X_train_used, y_train)

# Prediction
test_predictions = model.predict(X_test_used)

# Evaluation metrics
mse = mean_squared_error(y_test, test_predictions)
rmse = sqrt(mse)
print(f"Model: {type(model).__name__}")
print(f"Best Parameters: {best_params}")
print(f"Testing MAE: {mean_absolute_error(y_test, test_predictions)}")
print(f"Testing MSE: {mse}")
print(f"Testing RMSE: {rmse}")
print(f"Testing R^2: {r2_score(y_test, test_predictions)}")

# Calculate MAPE
mape = calculate_mape(y_test, test_predictions)
print(f"Testing MAPE: {mape:.2f}%")

# Plotting
plt.figure(figsize=(12, 6))
plt.plot(closedf.index[len(X_train) + len(X_val):], y_test, label='Actual Test Data')
plt.plot(closedf.index[len(X_train) + len(X_val):], test_predictions, label='Predicted Test Data')
plt.title(f"{type(model).__name__} - Actual vs Predicted (Test Data)")
plt.xticks(rotation=60)
plt.legend()
plt.tight_layout()

# Save the plot to the 'whole_dataset1' folder with a timestamp
timestamp = time.strftime("%Y%m%d%H%M%S")
plot_filename = f"whole_dataset2/{type(model).__name__}_plot_{timestamp}.png"
plt.savefig(plot_filename)
plt.close()

print("Plots saved in 'whole_dataset2' folder.")

civic chasm
#

looking at Intro to Machine Learning and kaggle.com, cannot understand some of the stuff, and no clue where to start.

undone inlet
undone inlet
civic chasm
#

learning curve

sweet sorrel
#

ayo

#

@civic chasm and i have a jar of dir

#

t

karmic obsidian
#

you changed my life bruv @civic chasm

#

Thank you )

#

I came in at the right time

civic chasm
#

blood sweat and tears and 6-7 days of week to study coding related topics.

civic chasm
#

self discipline and s**t that comes with it, imposter syndome etc. its not easy

civic chasm
#

this stuff is not easy for and i need to put in a lot of effort, but it is interesting and i like coding,

somber heath
#

@turbid minnow @hushed tinsel @slim field πŸ‘‹

slim field
#

@echo garden not to be rude u sound like peter grefin

#

anyone here have experience with nvchad?

somber heath
#

@simple skiff πŸ‘‹

simple skiff
#

yes sir ?

karmic obsidian
#

@somber heath hey Opal)

karmic obsidian
#

@somber heath hey do you know spark ?

karmic obsidian
amber raptor
#

Any Python book?

somber heath
amber raptor
#

Are there not OOP Python books?

karmic obsidian
#

so looking for a book which can teach me object oriented programming

karmic obsidian
somber heath
#

For me, there were two big aha moments.

#

One when you learn to write it, another when you understand it.

karmic obsidian
somber heath
#

Which is then when you realise, "Oh, this is how Python thinks."

slim field
#

are anyone having iusse download tensorflow in python 3.12?

somber heath
#

Everything in Python is an "object", a structure of data and attached functionality for interacting safely with that data. Each object lives in memory somewhere.

whole bear
#

Everything in Python is an "object"
which also means according to the type-system everything is an instance of the type object

somber heath
#

Yes. Every object is of a type, a class. This is another kind of object from which objects of that type are created. A class is like a blueprint.

#

For example, in Python, we have strings.

#

These strings, which are objects, represent text.

#

These strings are of class/type str.

karmic obsidian
mighty gyro
#

I still don't understand what class means and what it does

somber heath
#

Or how we have lists, which are of type list.

#

From the list class, we create lists.

#

Like how we might have a blueprint for a house.

#

That's the class.

karmic obsidian
somber heath
#

The object created from that class, the "instance" of the class, is the house or houses themselves.

mighty gyro
#

So class is a plan for something?

somber heath
#

Yes. I mentioned earlier how an object is data with attached functionality for interacting safely with that data.

mighty gyro
#

So objects is inside a class?

somber heath
#

The class governs what kinds of data and its structure can be, and what attached functionality exists in the instances created from the class.

mighty gyro
#

Or not always

somber heath
#

There are always references to other objects inside a class, yes.

karmic obsidian
#

btw there is nothing private in python right ?

somber heath
#

Correct.

whole bear
#

hey hemlock

somber heath
#

!e ```py
class MyClass:
pass

a = MyClass()
b = MyClass()
print(id(MyClass), id(a), id(b))```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

94482694391040 140496338351888 140496338351696
somber heath
#

Here, I have created a class. The name MyClass refers to this object.

mighty gyro
#

what does pass do to the class?

somber heath
#

From this class, I have created two instances.

#

I've assigned a and b to these instances.

#

We see that MyClass, a and b refer to three different objects.

#

pass is a null statement

#

It doesn't do much anything.

#

It's just there to provide syntactical completeness in the compound statement's indentation.

#

An indent has to have something.

mighty gyro
#

So that there's no unexpect indent block ?

somber heath
#

pass is what you put when you don't want to put anything in an indent.

mighty gyro
#

Ohhh get it

#

it works with function too right?

somber heath
#

Yes,.

mighty gyro
#

so if i try to

somber heath
#

There are limited cases when you'd need to use it.

mighty gyro
#

make lists

#

and then i try to multiply it using function

#

but i don't want to fill the function with anything

#

i should use "pass"?

somber heath
#

You'd only use pass if you don't want your indented section to do anything.

mighty gyro
#

ok i get it

rugged root
somber heath
#

!e ```py
class MyClass:
def hello(self):
print('Hello, world.')

instance = MyClass()
instance.hello()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

Hello, world.
somber heath
#

Here, I have created a class called MyClass. This class has one function, which turns into a method attached to the instances created from the class.

#

We see I can invoke this method off the instance.

#

!e py print('ApPlE'.upper())

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

APPLE
somber heath
#

Here, I'm calling the str.upper method, a method that's attached to the string instance.

#

"Hey, string, give me an uppercased version of yourself"

#

Data, attached functionality for interacting with it.

mighty gyro
#

which runs

#

the print

somber heath
#

Yes.

#

Except I'm maintaining a reference to the object created from doing MyClass()

#

!e ```py
class MyClass:
def init(self):
print('Hello, world.')

instance = MyClass()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

Hello, world.
mighty gyro
#

If that's the case, what's the difference between class and function

lime heath
#

Hi everyone any one have idea about extracting toc from word document

somber heath
# mighty gyro If that's the case, what's the difference between class and function

A function represents an object that is a collection of code that can be called upon to be run as many times as needed when needed. A function has an inbox, the parameters, and a few outboxes, the main one of which is the return.

A class represents a template for the creation of objects, defining the kinds of data the objects can have and what attached functionality exists for those objects.

All objects have a type. Functions are objects.

#

Classes are objects.

#

(I use type and class a little interchangeably)

rugged root
somber heath
mighty gyro
somber heath
#

Yes.

#

A class is an object factory.

#

There are a set of special methods that Python attempts to run when certain actions are taken in your code.

mighty gyro
#

So class runs multiple of functions?

rugged root
#

Huh, this is interesting...

somber heath
#

A class is where you write the methods that should be available to be called off the instances of that class.

#

The __init__ method of an object is automatically called when we create that object.

rugged root
#

@urban abyss

somber heath
#

It's kind of an initialisation/setup routine.

rugged root
somber heath
#

It's also where we can give the object initial information to that end.

rugged root
#

(Sorry for the link spam, opal)

somber heath
#

!e ```py
class MyClass:
def init(self, obj):
print(obj)

instance = MyClass('Hello, world.')```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

Hello, world.
rugged root
somber heath
#

!e ```py
class Person:
def init(self, name):
self.name = name

def greet(self):
    print(f'Hello, my name is {self.name}.')

peter = Person('Peter')
sally = Person('Sally')
peter.greet()
sally.greet()```

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Hello, my name is Peter.
002 | Hello, my name is Sally.
mighty gyro
somber heath
#

The object is created, but then apply what might be different per object.

mighty gyro
#

Alright, i need to take time about this

#

Thank you for teaching me all of this

somber heath
#

Here, I have created a Person class.

mighty gyro
#

I hope you are not bothered

somber heath
#

I can't force you to stay.

mighty gyro
#

It is school night

#

I should hop off

somber heath
#

Sleep well.

mighty gyro
#

Thank you very much Opal

rugged root
#

I didn't know you were so hip and with it, Opal

somber heath
#

@frozen spade πŸ‘‹

rugged root
#

I'm still here, just have co-workers back here now

somber heath
#

Zonk.

rugged root
#

Night, bud

#

Ah, brb for a moment

somber heath
#

False start.

civic chasm
#

got my python crash course

echo garden
#

so you know python yet?

#

how fast is this crash course?

civic chasm
#

as i opened the door the package got wet, its nice that he made a pic where doorbell is also there, im at home.

echo garden
#

as you opened the door?

civic chasm
echo garden
#

is it wet?

urban abyss
#

sorry @rugged root realised I was late to standup had to jump off quickly

echo garden
#

that image kinda looks like a rod and reel spinner

civic chasm
#

no the book is fine

echo garden
#

mr hemlock Armandillo is a new talkie

thin breach
#

hi

rugged root
#

NIce

#

0% interest rates are gone

#

That helps justify ousting people

#

@leaden glade Toss the error in here

#

If it's large

whole bear
#

When are you going to unmute Hemlock?

rugged root
#

When my co-worker isn't back here

leaden glade
rugged root
#

Wait

#

Does

matched_index = brokers_data.starter_brokers.clear()
#

Does that change something in line and not return anything?

stark river
#

he cleared something and then passed its None value

rugged root
#

!stream 202099509759574016

wise cargoBOT
#

βœ… @leaden glade can now stream until <t:1708014045:f>.

rugged root
#

Yarp

#

Just have to ask

peak depot
#

What's up, bubble butts

rugged root
#

I can't help much right now, QuickBooks is wanting to attack

#

74

#

Line 74

#

Right, but does .clear() just change something on that object and not return anything?

#

yep

#

!e Because it's like:

ham = print("Blah blah")
print(ham)
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | Blah blah
002 | None
rugged root
#

I'm thinking that's what's happening

stark river
#

but you are trying to pop a None

rugged root
#

@peak depot Sorry, just got a chance to respond

#

Method if it's part of a class

#

Function if it's in the global

echo garden
#

@peak depot hey there

rugged root
#

Saz

#

I hate QuickBooks

#

halp

stark river
#

you need to see the codebase to know which correct method to use

#

yeah what's up

echo garden
#

method and function

rugged root
#

Trying to print a general ledger for year 2023 and we're only able to print/export/convert to PDF like the first 1/6th of the ledger

#

It's massive

#

Trying to figure out how to rectify that

#

Might just have to do month to month...

#

But I am a grumpy boy

stark river
#

you may try combining the pdfs at a later stage using smthg like pandoc

rugged root
#

Possible... Just have to see where one ends at a time

#

I'm also poking the co-worker to see if month to month is acceptable

#

The GL account is something like 6k+ pages using the client's old system

#

They only recently converted to QB Enterprise 2023

#

Not sure what their old solution was

stark river
#

it should be able to handle this πŸ€”

rugged root
#

That's what I was thinking. It can't even do it as a CSV

#

Which I would think would be easiest for it

#

No report headers or what have you

stark river
#

convert to excel and then to csv?

rugged root
#

Same issue. We get to ~500 pages

#

Same with direct print to PDF

#

I'm wondering if it's a memory limitation

#

Oh my god

#

Is QB a 32 bit program..

#

If we're hitting the 4 gig limit, that would make sense

stark river
#

what if you leave the account range fields blank?

rugged root
#

Checking. Having to boot into our QB machine, since I don't have my own license

stark river
#

last time i used qb was in 2011?.. i am so glad i moved on and obtained the ability to create accounting software

rugged root
#

I'm envious

stark river
#

it's not that difficult.. use sqlite db to store the transactions...

rugged root
#

Yeah it's just making a good interface

#

Oh huh, no it's large address aware, so it's not a memory limit...

#

At least not the 4 gig one

urban abyss
#

list = ['first', 'second', 'third']

#
> 'first'```
rugged root
#

!e

list = ['first', 'second', 'third']
print(list[0])
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

first
rugged root
#

Just note, it doesn't work like a repl. You have to print your output

stark river
#

curr_id

urban abyss
#

!e

print(starter_brokers[0])
print(starter_brokers[1])```
wise cargoBOT
#

@urban abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.

[['1', 'first'], ['2', 'second']]
rugged root
#

Also also

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

rugged root
#

Syntax highlighting

stark river
#

i think so

urban abyss
#

!e

print(starter_brokers[0])
print(starter_brokers[1])```
wise cargoBOT
#

@urban abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | ['1', 'first']
002 | ['2', 'second']
stark river
#

given that you are checking if curr id in val

rugged root
#

It's awesome

#

@fierce dawn Yo

stark river
#

if curr id is a list.. there is no need for list or []

urban abyss
#

!e

print(starter_brokers[0])
print(starter_brokers[1])
for val in starter_brokers:
  if '1' in val:
    matched_index = starter_brokers.index(val)
  starter_brokers.pop(matched_index)

print(starter_brokers)
wise cargoBOT
#

@urban abyss :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | ['1', 'first']
002 | ['2', 'second']
003 | [['2', 'second']]
rugged root
#

Opinion: Should usernames be case sensitive in things

stark river
#

like classes?

rugged root
#

A list of the list methods

#

@urban abyss I appreciate you helping out.

#

I love seeing users helping users here

urban abyss
#

Trying my best, not the best teacher πŸ˜†

rugged root
#

You're doing great

stark river
#

is in the best operator here? shouldn't it be ==? (i don't know what val is)

stark river
rugged root
#

I try

#

I just fail

#

Oh

urban abyss
stark river
rugged root
#

Help system may at least get eyes on it

urban abyss
#

in means different things dependent on the type of variable you're ining against

rugged root
#

I just know I'm not the smartest person when it comes to some of your questions

stark river
#

nah i've just stopped asking

rugged root
#

Sorry..

urban abyss
#

i mean it's nobody's obligation to help dude, it's just a nicety

stark river
#

don't get me twisted.. i' m not saying it's an obligation

rugged root
#

No no no I know

#

It's a personal quirk I have

#

I hate not being able to help

#

@leaden glade Honestly it's a good thing for you to do. Being able to explain the what and the why will help it stick in your head as well

#

Explaining/teaching is the best way to learn

#

Damn it, still capping out at 683 pages

stark river
#

program said in the middle r u shitting me n quit

rugged root
#

Also fun weird fact

#

After it generates that report, it doesn't free that memory until you start to try to print another report

#

So it has some weird memory holding

#

Not a leak at least

stark river
#

probably someone trying to cache?

rugged root
#

That's what I'm thinking, but then why does it scrap the whole thing

#

Especially when it's the exact same parameters

hard vine
#

wassup

stark river
#

683 pages is a qb limit or an acrobat limit?

hard vine
#

how are you guys

rugged root
stark river
#

coz if it's an acrobat limit you could try exporting to excel?

rugged root
hard vine
rugged root
#

Oh I just checked, if you want to verify, you meet the conditions. Go over to #voice-verification and hit the button

#

Daaaaaamn it

#

Print to CSV, same issue. Gonna try export to CSV. If THAT doesn't work, going to restore from the backup file I have then run the File Doctor on it

#

Wish me luck. And patience

stark river
#

i think they are the same function

rugged root
#

I wonder if it's just that the file is borked.... The backup is like 8 gigs

#

And it shouldn't be that large given the age of the QB company file and what all is in there....

#

Sorry, using you guys as my rubber ducky

#

Oh thought that gif had more of the song

stark river
#

yeah u enjoy that bubble bath 🫧

rugged root
#

I've never actually had one

#

Always felt too messy

#

Soap scum everywhere

stark river
#

soap is self cleaning

rugged root
#

I mean

#

Technically yes

#

Can soap go bad?

#

Asking the deep questions in life

stark river
#

go bad as in is it safe to eat after a week?

rugged root
#

Yeah. Do you have to refrigerate it?

#

Or is there a specific heat you need to cook it to again?

regal wraith
#

hey yall

#

wassup

rugged root
#

Yo

#

Not much, you?

regal wraith
#

same tbh

#

hows it going

stark river
#

maybe you could make an internet challenge out of it

rugged root
#

What like a TikTok challenge?

trim folio
#

hey

rugged root
#

I'd rather not be responsible for people having nightmareish diarrhea

rugged root
regal wraith
#

does someone use kali here

rugged root
trim folio
#

How ya doin

rugged root
#

Hanging in there, you?

trim folio
#

nothing much

rugged root
regal wraith
#

it's very useful if u do ethical hacking

stark river
#

if someone really did eat soap it's darwanism at work

trim folio
gentle flint
#

all it'll probably do is make you throw up

#

the soap I mean

#

not the conversation

rugged root
trim folio
#

oh cool

rugged root
#

@hot drum Your mic is cutting in and out. Your sensitivity is too low

#

Or high?

#

Not sure which

regal wraith
#

I like admins here

#

You're very friendly

rugged root
#

I appreciate it. I just like hanging out with folks

stark river
#

yeah you butter them up nice n good

rugged root
#

Meh

#

I just try to be easy going

#

Too many admins on other servers love the power trip it gives them

regal wraith
#

There's some people that are toxic for no reason

rugged root
#

I just like to teach

stark river
#

but r u easy on the eyes as well @rugged root ?

hot drum
#

@leaden glade maybe this will help:
if isinstance(name, str) and len(name) == 3

#

maybe it will help

rugged root
#

You tell me

#

(not my actual body)

#

Blame @gentle flint

stark river
#

is that christian bale?

rugged root
#

That's my legit face

#

But again, just not the body

regal wraith
#

oopsie

rugged root
#

We got mod pings for keywords like that

#

Please don't make my life harder than it has to be

regal wraith
#

Oh

#

Sorry

#

Didn't know XD

rugged root
#

Not the right audience for jokes like that

regal wraith
#

Channels are familly-friendly?

amber raptor
rugged root
#

Who needs it?

#

Mert?

#

!stream 500620954087587840

wise cargoBOT
#

βœ… @hard vine can now stream until <t:1708018081:f>.

rugged root
#

@hard vine Just have to ask. I'll usually grant it on request

hard vine
#

ok ty

hard vine
rugged root
#

@hollow finch Yes, you do have to do 50 non spamming messages

#

If you continue to spam, we'll extend the amount of time it takes you to verify by 2 weeks

rugged root
#

I can help in a bit

hard vine
#

just for like two minutes

#

itss not big

rugged root
#

Is it something you can type and ask?

#

I can look as I can

hard vine
#

i not its alright

rugged root
#

Yeah, I can't right now

hard vine
#

ok

rugged root
#

Currently fighting (and losing) against QuickBooks

hard vine
#

wait can i send a screenshots?

rugged root
#

Of course

rugged root
hard vine
#

so this is the main function i want to make asyncronus

rugged root
#

Just trying to keep our little piece of sanity on Discord

hard vine
#

with the pytube library

rugged root
#

Ah so that's not something we can offer help with

#

!ytdl

wise cargoBOT
#
Our youtube-dl, or equivalents, policy

Per Python Discord's Rule 5, we are unable to assist with questions related to youtube-dl, pytube, or other YouTube video downloaders, as their usage violates YouTube's Terms of Service.

For reference, this usage is covered by the following clauses in YouTube's TOS, as of 2021-03-17:

The following restrictions apply to your use of the Service. You are not allowed to:

1. access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as specifically permitted by the Service;  (b) with prior written permission from YouTube and, if applicable, the respective rights holders; or (c) as permitted by applicable law;

3. access the Service using any automated means (such as robots, botnets or scrapers) except: (a) in the case of public search engines, in accordance with YouTube’s robots.txt file; (b) with YouTube’s prior written permission; or (c) as permitted by applicable law;

9. use the Service to view or listen to Content other than for personal, non-commercial use (for example, you may not publicly screen videos or stream music from the Service)
rugged root
#

Not the same library, but same reason why we can't

hard vine
#

ok i understand...

#

but thank you

rugged root
#

Sorry bud. I appreciate you being understanding about it

hard vine
#

yeah i know that youtube does not allow it and you want to secure yourself

#

im just doing this for myself to learn

rugged root
#

Oh sure sure. If you're wanting to practice things like web scraping, Wikipedia explicitly allows it. It's a great place to learn and try it

hard vine
#

yeah i learned it with bs4 and websites that are meant to learn from thats cool

rugged root
#

@leaden glade Nah, just listening

#

Bootcamps aren't for everyone. Neither is college

#

So there's caveats to that

#

If you're self learning, you'll need to make a good portfolio. And it'll be tough

#

Everybody and their dog are trying to get into programming ever since covid hit

#

Job market is tough right now

#

God damn it QuickBooks

#

Let go of the memory already!

#

Nope, full on memory leak now

#

@leaden glade I'm in the same boat as you. I'm a coding hobbyist, I'm not in the industry. I'm trying to get my hand into freelancing, but breaking that inital barrier is really tough

whole bear
#

@hollow kelp Hello

stark river
#

sigkill

urban abyss
#

@leaden glade I have to bounce, but good luck with the rest of your course! You got this πŸ˜„

rugged root
#

Later JSON!

urban abyss
#

Later dudes!

rugged root
#

OOP

#

Concept of classes and objects

whole bear
#

Hemlock

rugged root
#

@leaden glade Right there with you. I find that working with people makes a big difference. Having folks that keep you accountable

#

Source: I also have ADD/ADHD

whole bear
#

I'm sef diagnosed

rugged root
#

Unit tests are testing specific sections of the code, usually functions and methods, to make sure they're doing what you expect

karmic obsidian
#

pattern printing in python

#

it'll give you lay of the land of logical stuff works @leaden glade

#

bye bruv see ya

rugged root
#

Work

#

@tender orchid What're you using to make the api?

#

Ah gotcha

#

It can be a bit tedious

rugged root
#

I'm okay with it

#

regex

#

Regular Expressions. It's for matching patterns in strings

#

Good for if you're parsing and finding things like phone numbers, name, emails, etc.

#

Very powerful, very helpful

#

But a pain to write sometimes

#

@maiden quiver Yo

#

@leaden glade Usually will be if you haven't used them yet

#

So if you aren't using them in the body of the code

#

They will be as you put them in the code

#

That's why it's grey

#

So they may have had it in the file with the intent of you to use it?

#

Not sure what the specific problem criteria is

#

Do you have a rubric or something?

#

I wouldn't stress about it then

whole bear
#

Yes

rugged root
#

Have you had any official diagnosis on anything?

#

Sorry if that's too personal of a thing to ask

#

I'm just always curious

whole bear
rugged root
#

I've got ADD/ADHD, anxiety disorder, and depression for context. I try to be very open about mine

whole bear
whole bear
#

I have Hydrocephalus

rugged root
#

@leaden glade The issue is that the file they gave you had imports that you don't use, right?

#

Ah gotcha

#

Back in a bit

leaden glade
#

Ok it's our lunch break so I'll be back in an hour

rugged root
#

I have returned

#

@amber raptor Sup

#

Anything exciting going on?

amber raptor
#

More home construction

rugged root
#

Just the tiles being put in?

#

Or are you having other work done too

amber raptor
#

repairing some damage

rugged root
#

Fair

#

@quaint oyster Sup

#

Doing well?

#

Niiice

#

Where as I'm over here completely forgetting what I was doing

#

Yay

#

Sorry I'm quiet. I've got a co-worker back here

#

@dusk raven Suuuuuup

#

I'm good, how're you

whole bear
#

@patent gyro πŸ‘‹

rugged root
#

Conscious

#

It's the best I can hope for

patent gyro
rugged root
#

And it's the most amusing reply I could think of

#

Nah

short owl
#

next to fire extinguisher ---> emergency joke book

rugged root
#

It's tax season, they have it rough as it is

#

Hey folks who joined

dusty vapor
#

hi

rugged root
#

US tax code is very complex, and clients are lazy and don't get everything they need to us, wait until the last minute, etc

#

Makes for stressed out co-workers

late gorge
#

hey guys can anyone help me creating a voice command beyblade

rugged root
#

Yeah. It's the worst time for programs to misbehave

rugged root
#

@jovial ermine Glad to have you here

#

@dusk raven What're you working on?

#

Fancy

#

Fancy compared to what I'm doing

#

Uhhhhh for another couple hours

#

He's not having an issue

#

Other than dealing with clients

#

Ideally

#

Oh I mean people clients

#

Not like software clients

amber raptor
#

@dusk raven Do you know of Squad Python Library that will stream RCON?

#

not run RCON commands but get the stream

rugged root
#

@late gorge Yo

#

Like a villan

#

Preach it

late gorge
rugged root
#

How is it streamed out?

#

Ah okay

#

I'm seeing some for making a client...

#

Right

#

You're just ah okay

#

Eh, figure I'll take a peek

#

@peak depot Yo

#

@amber raptor Not sure if it's helpful

#

Hey MAD

#

That you are

amber raptor
rugged root
#

God damn it, I didn't hit paste

#

Yeah the other stuff I'm seeing requires their token

#

Grapefruit is bigger than an orange

#

It's fist sized

#

Ah okay

#

That's very different

#

You wouldn't be able to lower your arms

#

The worst fruit in the world, yeah

#

It's an abomination

#

God was sleeping when it was made

somber heath
#

There are worse fruits.

rugged root
#

Which

#

They're wrong

quaint oyster
#

jackfruit

#

not even edible

rugged root
#

I thought Jackfruit was

#

You just have to cut it open and scrape out the innards

#

And you need a machete to open it

#

Same

#

Think about what you said

#

πŸ˜‰

somber heath
#

Manchineel, any number of other poisonous fruits.

rugged root
#

Well

#

Shit

rugged root
quaint oyster
#

durian

rugged root
#

Double correction, edible and won't kill you

somber heath
#

People have a thing against durian.

rugged root
#

Yeah the smell is terrible but again, I've heard the pulp is quite nice

#

It smells of rotting meat, opal

#

That's prunes

somber heath
#

Figs are...an acquired taste. They can be quite gritty and earthy.

rugged root
#

True

#

I do enjoy that

rugged root
#

How old was the villa? What was the villa age?

#

When I think villa I for some reason think way older

#

Fair

somber heath
#

I don't like grapefruits, either.

rugged root
#

Oh and and and and, if you take certain medications, you cannot eat grapefruit because it will fuck you up

#

EXACTLY

#

It's evil

#

Ritzy

#

Where were the servant's quarters?

somber heath
#

There was the discussion about the milk, I haven't heard of the grapefruit thing.

rugged root
#

That you know of

#

They were that good

#

Yep

#

Google is tracking our conversation

#

I typed in which into chrome? INSTATLY gave me "which medication interact with grapefruit"

#

INSTANTLY

#

I've never looked that up before

somber heath
#

Hm. The grapefruit slows down the processing of medications in the liver and the effect lasts days.

rugged root
#

Maybe they're just tracking me

peak depot
rugged root
#

Or it knows me

#

Never have

#

Dude, the FIRST pop up

#

For WHICH

#

That's just not right

#

I meaaaan

#

For getting your ears pierced

#

It was a thing in the 80's and 90's

#

Maybe 70's as well

jovial ermine
#

istg. my ass be DREAMING about something and my first ad is about that

rugged root
#

Left was - yep

#

Exactly

somber heath
#

There's the finger length ratio thing.

rugged root
#

@raw carbon Well yeah, because they're getting dream scraped for future advertising

#

Like seriously

#

How many fruits try to kill you because you're taking certain meds

#

I'm just saying

#

Factually wrong

#

Eh

#

Eh

#

Okay

#

They're dead to me

#

Strawberry is a gift to mankind from whatever higher beings there may be

#

I will fight anyone on that

#

Don't touch my accessory fruit

somber heath
#

Watermelon can be variable. It's between meh and delicious.

rugged root
#

(because they're not a berry)

#

@whole bear Yo

rugged root
whole bear
#

Is this the first time I spoke today?

rugged root
#

No

whole bear
#

Ah Gotcha

rugged root
#

@raw carbon The only way I can think that they say watermelon is bad is if they're eating the rind

#

And only the rind

#

I'm saying for that survey

#

I feel like blue cheese would kill me

#

I have a mold allergy

somber heath
#

Whoever it was that said watermelon is bad has their head shoved up their arse.

rugged root
#

Yep

somber heath
#

At worst, it's ordinary.

rugged root
#

I can take or leave mangos and peaches

#

I've gotten into them again

#

Had a period where I was just sick of them

somber heath
#

Strawberries are variable, too. From meh to yum. Bananas are fine if they're ripe. Mangoes are fine if they're ripe.

jovial ermine
#

Who actually likes moldy cheese.

rugged root
#

Those and peaches are kind of slimy

somber heath
#

I mean, shit, it's almost like fruit needs to be ripe.

rugged root
#

Wait wait, what was that one cheese

quaint oyster
#

old cheese makes it better, maybe not the moldy part of it though

rugged root
#

Is that the one where you eat the bug poop?

jovial ermine
#

Why does everyone hate on the french?

rugged root
#

The one that's banned in multiple countries

#

Oh that's right

#

Just wear your maggot goggles

#

Problem solved

jovial ermine
#

EWWW

rugged root
#

Wait are they technically a fruit?

jovial ermine
#

I found a picture of a shitkebab

rugged root
#

Huh, TIL

#

That sounds great

#

Fuck yes

jovial ermine
#

I can't send it. it is too. uh

#

shitty

rugged root
#

Don't eat the pit, though

rugged root
#

Please don't make my life more difficult

#

Swallowed whole

somber heath
#

Avocados grow from small.

rugged root
#

Kiwi are hairy

#

They're weird

jovial ermine
#

will fit right in

rugged root
#

Probably

#

But not here

#

I'm happy to have folks here so long as they don't make this place shitty

#

Let us have one place on Discord that isn't awful

#

@peak depot He could if you pissed him off

#

He's strong

#

The sadness

#

Swallowing the sadness deep into my soul

#

Or something

#

Back in a bit. Have to get some programs on someone's machine.

peak depot
somber heath
#

Whoever keeps writing these worst fruit articles needs to sit down.

whole bear
#

faster

jovial ermine
#

You guys know some people eat avocados as like. apples

#

normal fruit

somber heath
#

I'm currently feeling off, so thanks for that, @raw carbon.

somber heath
#

People who unironically say "Nani the fuck?"

jovial ermine
#

You guys want me to share my random cat gifs? I have a collection...

peak depot
peak depot
jovial ermine
#

Bitter almonds are like 50% nuclear waste 50% random nut

peak depot
jovial ermine
#

My german knowledge consists of 1 week of duolingo

dusk raven
#

RindfleischetikettierungsΓΌberwachungsaufgabenΓΌbertragungsgesetz

jovial ermine
#

hei

peak depot
#

Hei hei

jovial ermine
#

fΓ₯rstΓ₯r du meg?

whole bear
#

gus van rossum

#

waltuh operator

peak depot
#

Hi Jan

#

lentokonesuihkuturbiinimoottoriapumekaanikkoaliupseerioppilas

whole bear
#

same

peak depot
#

Norsk?

#

Dansk?

jovial ermine
#

Norsk

#

Er du dansk?

peak depot
#

Nej

jovial ermine
#

svensk?

peak depot
#

Finsk

#

Perkele

jovial ermine
#

recoil

#

shock

#

wave

#

let me paint a representation

peak depot
split plover
#

what

rugged root
#

What'd I miss

jovial ermine
#

Just got back

rugged root
#

@mild quartz So is the sliding scale pretty much if you want it fast it'll cost an arm and a leg, if you want it cheap it'll take forever?

mild quartz
#

to finetune you need to pay for a certain number of gpu hours

#

those can happen over time or all at once

#

same cost

rugged root
#

Huh

#

That's weird to me

#

The fact that the costs balance out like that

mild quartz
#

there are cheaper and more expensive ways of finetuning

#

which relate to quality

rugged root
#

Is overtuning a thing?

#

I can hear

#

Just can't speak

mild quartz
#

very contextual

rugged root
#

Gotcha

#

Neat

#

Yeah, med tech

#

Neat

celest wren
#

@mild quartz or @civic chasm any of you know Jinja ?

jovial ermine
#

Think Im going to leave the call

#

I have been lurking for 2 hours

onyx trout
#

could someone help me ?

stark river
onyx trout
#

Do i need to put x +y in a variable

mild quartz
#

assert all(isinstance(i, int) for i in [x, y]), "Enter a number!"

stark river
#

i would use a try catch block

mild quartz
#

yeah or

if not all(isinstance(i, int) for i in [x, y]):
    raise ValueError("Enter a number!")
celest wren
# onyx trout yh i know but is just dont know how

x = input("Give me a number: ")
y = input("Give me another number: ")

if not x.isdigit() or not y.isdigit():
print("Please enter valid numbers!")
else:
result = int(x) + int(y)
print("The sum is:", result)

rugged root
celest wren
rugged root
#

Work calls for me!

final osprey
#

hey

#

@civic chasm may I ask you a question?

civic chasm
#

im a beginner but sure

final osprey
civic chasm
#

no

final osprey
#

ah ok

#

Thanks anyway

#

πŸ™‚

final osprey
#

@vernal bridge are you familiar with discord.py πŸ™‚

vernal bridge
#

nope

waxen barn
#

yo @somber heath I got myself the samsung tab S9 fe as my tablet and I used the website you gave me to find it so thanks a lot

waxen barn
#

yea I picked it up yesterday and its already helping me with my work flow

#

such a nice tool to have in your arsenal

civic chasm
#

someone changed the icon again, first i thought im in wrong place ... πŸ˜„

versed heath
#

hi can some of the admins allow me to stream plaesae

somber heath
#

@bronze relic πŸ‘‹

whole bear
#

another day of studying data structures and algorithms 8 hours straight with a crappy book ❀️

#

should have time to hang out tomorrow tho

hollow kelp
whole bear
#

ofc, it's not like I sit down and do nothing else for 8 hours. I take like 15 minute breaks every 90 minutes

#

but yes, I did sit down and said "except for short breaks, I am doing DSA the next 8 hours" and then did it

#

having said that, I only do that like once every 3 months when I need to catch up with work haha

hollow kelp
#

grt work, i am also planning to restart dsa.

whole bear
#

you should, it's very good

#

I mostly did it because I have this assignment due and I had to do this or I wouldn't finish in time haha

hollow kelp
#

is there any specific online resources from where i can constantly start working on dsa?

whole bear
hollow kelp
#

ok , which textbook will be suggested according to you ?

earnest crag
#

win V

obsidian dragon
earnest crag
#

@obsidian dragon

obsidian dragon
earnest crag
#

@PH-KDX coauthored commits on merged pull requests.

#

a

#

t

#

d

#

a

#

s

#

d

#

a

digital ermine
#

hey

rapid chasm
#

@obsidian dragon ^^

brisk bridge
#

hi

shy folio
earnest crag
#

@dry jasper

somber heath
#

@gentle flint That's goodbye.

#

Not hello.

earnest crag
#

gtg

somber heath
#

@dense shuttle πŸ‘‹

dense shuttle
#

Hii

obsidian dragon
#

hi

sweet coyote
#

Hey

#

I still cannot type here

dense shuttle
#

Is data science really good ?

sweet coyote
#

I mean speak in voice*

sweet coyote
dense shuttle
sweet coyote
#

depends on your interests

#

but demand is huuuge

#

what field are you in now?

dense shuttle
#

I like maths and stats but never got good marks in both

sweet coyote
#

It's something you practice

#

by making a lot of exercises

#

you can get better at it

dense shuttle
sweet coyote
#

what's bca?

dense shuttle
#

Bachelor of computer application

sweet coyote
#

ahhh

#

that's nice too

#

isn't there a data specialization or minor you can take?

#

my friend did computer science and had the opportunity to do a lot of data science stuff too

dense shuttle
#

I'm learning about it from free courses

sweet coyote
#

on coursera there's some good courses too i believe

obsidian dragon
#

!voice @sweet coyote

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

dense shuttle
sweet coyote
#

I can't talk yet Osyra

#

don't have 50 messages

obsidian dragon
#

how many do you have

sweet coyote
#

Like 25 or something

#

I will get there slowly

#

like in 10 mins or something haha

sweet coyote
#

Do you already know what you want to learn more about?

#

There's a ton of specialization areas

#

for example, here econometrics and actuarial sciences are pretty popular

sweet coyote
#

Wjay are you up to @obsidian dragon

#

What*

#

?

obsidian dragon
#

@sweet coyote voice ai

sweet coyote
#

cool

#

I will join the VC in a short while

obsidian dragon
#

hi mossy

mighty gyro
#

how do you know

#

im

#

here

sweet coyote
#

haha

#

that sounds scary

mighty gyro
#

osyra

#

dude ur scaring me osyra

sweet coyote
#

im making chicken soup

mighty gyro
rugged root
#

Sup nerds

#

How goes it

stark river
#

fellow nerds*

#

making a SPA
low key thinking about streaming

rugged root
#

Just say the word

#

@fierce grail Yo