#voice-chat-text-0

1 messages ยท Page 111 of 1

rugged root
#

What do you do for a job?

maiden skiff
#

I'm working part-time at a convenience store at night.

somber heath
#

Once the wind gets under something, it's so often just game over.

visual cedar
#

it's mental

somber heath
#

and with cars, oh, look...a convenient gap

rugged root
#

Hope the night goes quick for you at least

willow light
maiden skiff
rugged root
#

That suuuuuuucks

#

So is your sleep schedule flipped?

#

Like sleep during the day and up at night?

visual cedar
maiden skiff
willow light
#

Mississippi

#

in April 2011

maiden skiff
#

It's currently 12 a.m. here.

rugged root
#

Are you in South Korea?

maiden skiff
rugged root
#

Ah that's fair

maiden skiff
rugged root
#

Very cool

somber heath
#

"Why are these bags so heavy?"
"You said buy staples."
"Food, George. Food. Not stationary, you lunk."

maiden skiff
willow light
#

I know how to forecast, so I stock up well in advance.

visual cedar
somber heath
#

webcast

#

spellcast

willow light
#

Also, we have an early warning system in New England.
https://www.universalhub.com/french-toast

maiden skiff
#

But I still love Korea.

rugged root
#

Interesting mythology, though

visual cedar
maiden skiff
visual cedar
# maiden skiff yeah

Then I think you should be proud of your history because your nation developed so much in a short period of time

maiden skiff
#

Yes, that is true and I am proud of my country for making such progress in a short period of time.

#

However, I am sad because of the historical pain.

visual cedar
#

Ok then xD

maiden skiff
#

I'm using a translator to chat, so I don't know if the meaning was conveyed well.

rugged root
#

The translation made sense.

maiden skiff
#

Oh, that's good.

somber heath
#

@pastel berry@oblique zinc๐Ÿ‘‹

pastel berry
#

o3o

#

m lurking

maiden skiff
#

It is mandatory in our country to study history, but is it the same in other countries?

oblique zinc
rugged root
somber heath
#

Or outright fabrication.

rugged root
#

"History is written by the winners" as they say.

somber heath
#

@visual minnow๐Ÿ‘‹

oblique zinc
somber heath
#

Yes, you could use it for training data, but also NOPE NOPE NOPE.

rugged root
#

Would prefer to learn the failures

#

Better to see what to fix

oblique zinc
#

remember the days of middle school and high school, I had to remember the date of the battles, and it's in the exam

somber heath
#

There'll be an intercept and STT keyword triggering archival.

#

At the intelligence level.

#

"Fuck you, we do what we want."

rugged root
#

The only reason I know my wife's is because I pick up her prescriptions

#

I'm powerfully terrible at it

peak copper
rugged root
#

Wolfram-Afro

maiden skiff
rugged root
#

I love goofy stuff like that

maiden skiff
#

I'm still a beginner, so I can't even try to make anything.

teal flower
#

hello everyone

maiden skiff
#

Damn, I'm so sleepy

rugged root
#

@thorn mountain If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

rugged root
maiden skiff
#

Save me!!

whole bear
#

Who is excited for more AI in the future

maiden skiff
#

me!!

rugged root
#

Curious, but indifferent

maiden skiff
#

I'm drinking a monster to wake up.

#

But it doesn't seem to work

whole bear
#

I like this community itโ€™s so friendly

willow light
maiden skiff
#

They don't sell espresso here.

whole bear
#

wow

#

ok

old heart
#

I think diet has a lotttttt to do with this

willow light
maiden skiff
#

There is an interesting fact that most Koreans prefer Americano or sweet coffee over espresso. I am the same way.

maiden skiff
rugged root
#

I thought Americanos were just two shots of espresso and water

willow light
#

Americanos are like Dunkin Donuts coffee except actually coffee

#

try this one:
httpbin-internal:1.3.1.20230229

peak copper
#

9.0.1.90100138

willow light
#

httpbin-internal:1.2.1.20221302

#

essay_v01_rev02_attempt3_revision5_spellchecked_final3.docx

whole bear
#

omg

#

what is this

willow light
maiden skiff
#

What are your hobbies?

hoary plaza
#

!voice

wise cargoBOT
#
Voice verification

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

whole bear
#

How is everyone day so far

#

Good

old heart
#

pretty ok Tom

whole bear
#

Very tired

#

Been up for like 27

#

Work and study

old heart
#

that is a little too long ๐Ÿ˜›

whole bear
#

Yeah

old heart
#

๐Ÿ˜ฎ

rugged root
#

You?

somber heath
#

@whole bear Care to pop up?

#

@restive herald๐Ÿ‘‹

#

If you take out the ger, you get gin ale.

#

Candied ginger.

old heart
somber heath
#

Shaved ginger.

#

You don't want chunk.

somber smelt
somber heath
#

Ginger ale, yes. Ginger on its own...not so much.

rugged root
#

I'm going to try it

somber heath
#

Pickled shaved ginger is a thing with sushi.

#

@whole bear๐Ÿ‘‹

whole bear
#

Hi

old heart
#

ohm nom nom

somber heath
#

I don't like it.

#

It's all delicious, anyway.

#

The sushi.

#

A: B knows their shit.
B: A knows they're shit.

rugged root
somber heath
#

Hemlock, I think it's probably a bit like hearing your own voice and not liking it, but it not bothering other people being a really common thing.

#

You have skills, but your own perception of those skills is like listening to your own voice.

#

Whereas other people, yes, beginners often, but other people, those skills are really very helpful for them.

old heart
somber heath
#

@whole bear๐Ÿ‘‹

#

"I'm not even doing this to make a game out of it, I'm just doing it so I can understand the logic."
Later...
"Oops, I accidentally an entire game."

whole bear
#

I have a question

#

I'm would like to learning Python can you help me ๐Ÿฅฒ

#

I'm a newbie

somber heath
#

What's up?

#

Do you have any specific questions, or are you after more general starting advice?

whole bear
#

sorry because I cut down story guys

surreal juniper
somber heath
whole bear
#

I would like to learning python

somber heath
#

@frank night๐Ÿ‘‹

whole bear
#

how can I start to learning it ??

somber heath
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

whole bear
somber heath
#

In this Python Beginner Tutorial, we will start with the basics of how to install and setup Python for Mac and Windows. We will also take a look at the interactive prompt, as well as creating and running our first script. Let's get started.

Mac Install: 1:25
Windows Install: 5:44
Installs Complete: 8:37

Watch the full Python Beginner Series he...

โ–ถ Play video
frozen owl
whole bear
#

ok thanks Mr.Hemlock

#

I will start watching video

#

Thanks guys a lots โค๏ธ

somber heath
#

When I started, I also read through the official documentation.

#

I quite enjoy the downloadable pdf archive.

#

library.pdf is particularly good

whole bear
#

so one in hear join a hackpython ?

#

someone

somber heath
#

A what?

#

Hackathon?

whole bear
#

it is a even for someone who good at python

hoary plaza
whole bear
#

yeh like use python for create game

hoary plaza
whole bear
#

like that

#

:v

somber heath
#

Python can be used to create games. Python has disadvantages for game development.

whole bear
#

Sorry my internet not good ๐Ÿฅฒ

#

Oh woww really

somber heath
#

But it doesn't matter.

#

You're beginning.

#

You'll still learn something if you write games in Python.

#

So I would encourage you to try, later.

#

First, learn the basics.

#

Gain fluency.

#

One step at a time. Don't bite off more than you can chew.

willow light
#

Define "fluency"

somber heath
#

Understanding of syntax.

#

Ability to write code that is syntactically correct.

#

Ability to express ideas as code.

willow light
#

Well I'd argue that being able to read others' code and understand what's going on would go under that heading too

whole bear
#

I will become the best python

#

use python to kill chat gpt

#

:)))

somber heath
#

There is no being the best.

willow light
whole bear
#

That is my theorem

rugged root
#

!stream 915948290275688468

wise cargoBOT
#

โœ… @hoary plaza can now stream until <t:1680886136:f>.

whole bear
somber heath
#

A light switch is a stable toggle.

#

On/Off.

#

No in-between.

willow light
#

unless it has a dimmer

somber heath
#

Yes yes

#

Like my hope for the world.

somber heath
#

@undone storm๐Ÿ‘‹

willow light
#

well this was this past week

somber heath
#

Crank call or cranky call? You decide!

#

"Sir, is your refrigerator running?"
"Bugger off!"
Who not both?

lavish rover
#

So I got me one of them folding phones

somber heath
#

Fast, reponsive AGILE.

lavish rover
#

Very cool

somber heath
#

Where the screen folds?

#

@rustic sigil๐Ÿ‘‹

#

@robust storm๐Ÿ‘‹

#

It's not illegal if it's an unintentional, unexpected accident.

willow light
#

Who needs str when you can just use char[] instead?

somber heath
#

That in no way could have possibly been prevented.

#

Also, what's the maximum legal donation to a political party?

somber heath
#

For big business.

willow light
#

Now prove that it was an unintentional unexpected accident in a court of law, though

somber heath
#

They have to prove that it wasn't.

willow light
#

Good to know innocent until proven guilty is still a thing

somber heath
#

Oh, heavens, yes. Just not for everyone.

willow light
#

whoa I wasn't expecting my application for Amazon Sidewalk360 to be accepted. Now I'm getting one of the kits lol. Guess it's time to figure out how to make urban weather station networks a reality

old heart
#

so maybe main.py within a module but __main__.py at the root of the app?

willow light
#

In meteorology and climatology, a mesonet, portmanteau of mesoscale network, is a network of automated weather and, often also including environmental monitoring stations, designed to observe mesoscale meteorological phenomena and/or microclimates.Dry lines, squall lines, and sea breezes are examples of phenomena observed by mesonets. Due to the...

old heart
#

microclimates

somber heath
#

@flint vessel๐Ÿ‘‹

formal ember
#

Learn about Git and GitHub in this tutorial. These are important tools for all developers to understand. Git and GitHub make it easier to manage different software versions and make it easier for multiple people to work on the same software project.

This course was developed by Gwen Faraday. Check out her YouTube channel: https://www.youtube.co...

โ–ถ Play video
somber heath
#

@minor coral@echo timber๐Ÿ‘‹

#

@unborn turret๐Ÿ‘‹

pallid hazel
#

just trolling for a min, got bored on a meeting thats already 2hrs over

somber heath
#

overtime?

old heart
#

@frozen owl the trick is to set your default commit branch in bash

pallid hazel
#

yes overtime.. but not paid ot

somber heath
#

Have you tried slapping your thighs and saying "Welp!" and standing up?

echo timber
#

@somber heath hello

old heart
#

if you make your default branch main in git, but you're pushing from bash, you still have to set your git in bash to main

somber heath
#

@whole bear๐Ÿ‘‹

frozen owl
whole bear
#

h

#

how to make a brut force pls

somber heath
somber heath
pallid hazel
#

sketchy.. but i do have an answer

somber heath
#

Pacific Black Duck.

#

@winter bear๐Ÿ‘‹

rugged root
#

@flat sentinel Why hast thou abandoned us

somber heath
#

Kemal careth not for us.

#

With cruel stride, he has set his back to us.

#

I was thinking of something more agricultural.

#

@flat sigil๐Ÿ‘‹

flat sigil
#

my mic is surpressed

#

ah

dusk raven
#

!voice

wise cargoBOT
#
Voice verification

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

flat sigil
somber heath
#

I hate web-based Python.

#

Others do not.

#

It's good in that people don't need to install Python to use it. They can just visit a website.

#

I don't like web-based Python because the implementations are so often awkward and buggy. Things which ought to work in regular Python don't necessarily work in web-based Python. Calls to input can be a bit wiggy. Learners often use input. Educators like stuff they don't have to buggerise around with installing...hello replit.

#

It's not really how most Python is run in the real world.

#

So people learn replit vs learning Python.

#

So when it comes to doing stuff without replit, they get a bit lost.

old heart
somber heath
#

Which is fine, it's just a bit of a transition.

#

I think at this point it's just that I'm tilting at windmills more than anything.

willow light
#

why use input when you can use argparse?

somber heath
#

Why use argparse when you can use sys.argv? Why use Python when you can use C? Why use C when you can use assembly? Why use assembly when you can use electronics? Why use electronics when you can use a great big fuck-off stick to hit people?

willow light
#

because sys.argv is an antipattern.

somber heath
#

Great. Big. Stick.

willow light
#

use patterns, not antipatterns. it isn't hard.

somber heath
#

Stiiiick.

#

@tough violet๐Ÿ‘‹

tough violet
#

?

#

i'm leaving

#

i love to discuss code, but thats not allowed here for newcomers

somber heath
#

@cerulean lantern๐Ÿ‘‹

cerulean lantern
#

hey!

somber heath
#

Discussion of programming is indeed encouraged.

cerulean lantern
#

How does one earn access to spoken word?

somber heath
#

What we do have in place, however, is the voice gate system, a regrettable necessity, given the previous situation.

#

!voice

wise cargoBOT
#
Voice verification

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

somber heath
#

Said previous situation involving a not inconsiderable level and frequency of screaming.

cerulean lantern
#

can i send the messages in this chat?

somber heath
#

You can.

cerulean lantern
#

Alright

limpid umbra
#

a squid on a cats head

somber heath
#

Squat.

#

Squid cat

cerulean lantern
#

Sqat

#

Squat

old heart
#

its a squat

#

yah

#

I agree

somber heath
#

I shall leave you all for now. Ta-ta.

cerulean lantern
#

see you later

limpid umbra
#

im on my first coffee

#

brain is lazy

#

i did a fresh install of python3.11 wednesday , im kicking the tires

cerulean lantern
#

How come they update python so often?

#

Doesn't that sort of hurt to people who now how to program

#

and they have to relearn?

limpid umbra
#

well - there are tiny changes , but i have to prove all that by testing - i also updated pyserial to 3.5 --- i have to test alot of old code

#

for me - i havent updated for a long time because of , will all my code be broken

#

-- they did say a speed increase ... hmm

cerulean lantern
#

Interesting

#

I'm just getting into this

#

I wonder how those changes affect large companies

#

But i guess they dont need to update

old heart
#

large companies tend to stick with a main release I think

old heart
limpid umbra
#

well im looking for examples to test

#

found one using , numpy

#

reg python --- numpy --- is it faster

#

i also did fresh install openCV

finite jolt
surreal juniper
#

Hello, can you help me with this: What does this i[::-1] mean?

#

In python obviously :c

abstract pike
# finite jolt

Is this real? Because that is sad. Early calculators were more of break through in technology compared to ChatGPT at this point.

wise cargoBOT
#

class slice(stop)``````py

class slice(start, stop, step=1)```
Return a [slice](https://docs.python.org/3/glossary.html#term-slice) object representing the set of indices specified by `range(start, stop, step)`. The *start* and *step* arguments default to `None`. Slice objects have read-only data attributes `start`, `stop`, and `step` which merely return the argument values (or their default). They have no other explicit functionality; however, they are used by NumPy and other third-party packages. Slice objects are also generated when extended indexing syntax is used. For example: `a[start:stop:step]` or `a[start:stop, i]`. See [`itertools.islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice "itertools.islice") for an alternate version that returns an iterator.
somber heath
#

A slice meaning a section of the slicable object. So from position A to position B, or every second thing in it, or every third, etc. You can use slicing to read things backward, too, and that's what that slice is.

#

Unspecified start, unspecified end, step of negative one. In essence, reverse.

#

!e py print('abcdefg'[::-1])

wise cargoBOT
#

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

gfedcba
somber heath
#

!e py print('abcdefg'[::1]) print('abcdefg'[:]) print('abcdefg'[::])

wise cargoBOT
#

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

001 | abcdefg
002 | abcdefg
003 | abcdefg
somber heath
#

!e py print('abcdefg'[2:5])

wise cargoBOT
#

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

cde
somber heath
#

!e py print('abcdefg'[::2])

wise cargoBOT
#

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

aceg
somber heath
#

Slices are a bit fiddly, but worth learning.

somber heath
#

@devout ferry ๐Ÿ‘‹

devout ferry
glad crow
#

!e

print("123456789"[::-1])
wise cargoBOT
#

@glad crow :white_check_mark: Your 3.11 eval job has completed with return code 0.

987654321
glad crow
#

lol

#

I like to think of it being the end of the string.

#

So :: means front to end

#

essentially

#

if you want the last 10 items in a list

#

you'd do [-10:]

somber heath
#

!e py print('abc'[::-1]) print('abc'[slice(None, None, -1)])

wise cargoBOT
#

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

001 | cba
002 | cba
glad crow
#

!e

print('12345'[::2][::-1])
wise cargoBOT
#

@glad crow :white_check_mark: Your 3.11 eval job has completed with return code 0.

531
glad crow
#

!e

print('123612361236'[::3])
wise cargoBOT
#

@glad crow :white_check_mark: Your 3.11 eval job has completed with return code 0.

1632
glad crow
#

RIP

#

!e

print('123612361236'[::4])
wise cargoBOT
#

@glad crow :white_check_mark: Your 3.11 eval job has completed with return code 0.

111
maiden skiff
#

!e

wise cargoBOT
#
Missing required argument

code

somber heath
#

@ocean tapir ๐Ÿ‘‹

maiden skiff
#

hi

peak plume
#

๐ŸงŒ๐ŸงŒ

somber heath
#

!e py import numpy as np arr = np.arange(9) print(arr) print(arr[3:6])

wise cargoBOT
#

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

001 | [0 1 2 3 4 5 6 7 8]
002 | [3 4 5]
ocean tapir
somber heath
#

!e py import numpy as np arr = np.arange(9).reshape(3, 3) print(arr) print(arr[:2, :2])

wise cargoBOT
#

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

001 | [[0 1 2]
002 |  [3 4 5]
003 |  [6 7 8]]
004 | [[0 1]
005 |  [3 4]]
somber heath
#

slice(None, 2), slice(None, 2)

#

!e ```py
class MyClass:
def getitem(self, key):
return key

instance = MyClass()
print(instance[2:4:6])```

wise cargoBOT
#

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

slice(2, 4, 6)
peak plume
#

I am good merky, your mic is really quiet btw

somber heath
#

!e py import numpy as np arr = np.arange(25).reshape(5, 5) print(arr) print(arr[1: -1, 1: -1])

wise cargoBOT
#

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

001 | [[ 0  1  2  3  4]
002 |  [ 5  6  7  8  9]
003 |  [10 11 12 13 14]
004 |  [15 16 17 18 19]
005 |  [20 21 22 23 24]]
006 | [[ 6  7  8]
007 |  [11 12 13]
008 |  [16 17 18]]
somber heath
#

Donut hole.

#

@pallid ridge ๐Ÿ‘‹

peak plume
#

Hi Vik

pallid ridge
#

Hi guys

somber heath
#

Keeping in mind that polydimensional slicing doesn't work this way with Python lists and tuples, etc, only with third-party stuff, though with a bit of cleverness, it's still doable.

pallid ridge
#

i've been doing some network automation in python over last few months/years. And in parallel still trying to improve my way with python and see where it takes me.
don't have voice verification yet in the channel, so just watching gofek stream and code

#

there's a DSA course i'm retaking ... so i'm leetcoding some hours per week

#

that's pretty much it about me

#

i'm going to drop from the stream and join tomorrow.
good night everyone ๐Ÿ‘‹

maiden skiff
#

hi

soft canyon
#

!e

wise cargoBOT
#
Missing required argument

code

soft canyon
#

!e
import numpy as np
arr = np.arange(9).reshape(3, 3)
print(arr)
print(arr[:2, :2])

proper creek
#

Hello Jay,

I hope this email finds you well. I am a big fan of your work and I admire your mission to spread wisdom and positivity to the world.

I am writing to offer you my thumbnail design services for your YouTube channel. I am Milki Wasihun, a professional thumbnail designer and the founder of Oropyt, a creative agency that specializes in YouTube optimization.

I can work with various niches, such as personal development, health, and spirituality. I have noticed that you donโ€™t change your thumbnails very often and I think I can help you attract more viewers with some eye-catching and engaging designs. I can also help you test different thumbnails and see which ones perform better.

I would love to work with you and help you grow your audience and impact. If you are interested, I can offer you a special deal: I will change 10 thumbnails for you every month for 50% off!

This is a limited time offer, so donโ€™t miss this opportunity. If you want to see some samples of my previous work and my portfolio, please let me know and I will send them to you.

If you prefer, we can also hop on a voice call and discuss your needs and preferences in more detail. Just let me know what time works best for you and I will be happy to talk to you.

Thank you for your time and attention. I look forward to hearing from you soon.

Sincerely, Milki Wasihun

glad crow
#

I didn't even need a checker

i could just tell

#

its almost like i use it

#

every day

whole bear
#

Though do you think companies test emails if they were generated? And whether that has an effect on the acceptance rate?

whole bear
glad crow
#

indeed

lucid blade
#

it has a certain pattern

#

its soo easy to spot

somber heath
#

@bold trench ๐Ÿ‘‹

bold trench
#

what is the most common cause of this error - Expect data.index as DatetimeIndex

bold trench
somber heath
#

Can you please provide the traceback?

#

Redact sensitive information as deemed fitting.

bold trench
#

i created a data frame file from scratch

somber heath
#

Do you need me to explain what I'm asking for?

somber heath
#

When you run your code and the interpreter encounters an unhandled error, the running of the code will halt and an error message will be printed. That message is the traceback. Your have provided an excerpt, but not the entire thing.

#

There is often useful information in the traceback.

bold trench
#

['binance', 'blueskies', 'brasil', 'charles', 'checkers', 'classic', 'default', 'ibd', 'kenan', 'mike', 'nightclouds', 'sas', 'starsandstripes', 'yahoo']Traceback (most recent call last):
File "c:\Users\sop\Music\WOW\logostartup.py", line 15, in <module>
mpf.plot(gooddtafile,type='candle')
File "C:\Users\sop\AppData\Local\Programs\Python\Python37-32\lib\site-packages\mplfinance\plotting.py", line 417, in plot
dates,opens,highs,lows,closes,volumes = _check_and_prepare_data(data, config)
File "C:\Users\sop\AppData\Local\Programs\Python\Python37-32\lib\site-packages\mplfinance_arg_validators.py", line 31, in _check_and_prepare_data
raise TypeError('Expect data.index as DatetimeIndex')
TypeError: Expect data.index as DatetimeIndex

#

this

somber heath
#

Is the last element in your dataframe a DatetimeIndex instance?

#

Well...I say last

#

But is it in the dataframe?

bold trench
#

can u explain DatetimeIndex instance

somber heath
#

@whole bear๐Ÿ‘‹

whole bear
#

bro

bold trench
#

hear

#

sorry

somber heath
#

What, specifically, is the problem with my audio?

#

Can you describe it?

#

Ah.

#

It's from Pandas, not datetime.

bold trench
somber heath
#

!d pandas.DatetimeIndex

wise cargoBOT
#
class pandas.DatetimeIndex(data=None, freq=_NoDefault.no_default, tz=_NoDefault.no_default, normalize=False, closed=None, ambiguous='raise', dayfirst=False, yearfirst=False, ...)```
Immutable ndarray-like of datetime64 data.

Represented internally as int64, and which can be boxed to Timestamp objects that are subclasses of datetime and carry metadata.

Changed in version 2.0.0: The various numeric date/time attributes ([`day`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.day.html#pandas.DatetimeIndex.day "pandas.DatetimeIndex.day"), [`month`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.month.html#pandas.DatetimeIndex.month "pandas.DatetimeIndex.month"), [`year`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DatetimeIndex.year.html#pandas.DatetimeIndex.year "pandas.DatetimeIndex.year") etc.) now have dtype `int32`. Previously they had dtype `int64`.
somber heath
#

There's either radio interference or, I suspect, it's the rain that's still screwing with the internet.

#

Gets into the copper wires, I think.

#

Creates shorts. Yay old wiring.

#

That we aren't allowed to fix.

#

Even though it's in our own house.

#

What's that? Get an electrician? No. They're not allowed to touch it, either.

#

So your dataframe needs a pandas.DatetimeIndex instance as a timestamp or whatever.

bold trench
#

so what can i do to fix it in my data frame ,cause i tested the code with a dataframe i downloaded from yahoo it works

somber heath
#

My suggestion is that you ask in the #data-science-and-ml channel. I don't work with Pandas, and this financial stuff will also probably be up their alley, too.

somber heath
#

I think Date might be the field it wants it under

somber heath
#

@young orchid๐Ÿ‘‹

#

@hollow jewel๐Ÿ‘‹

#

@scenic quiver๐Ÿ‘‹

#

Try ctrl-r

#

Or restarting your app.

#

Oh, you were in the wrong server?

#

Whoopsiedoodle.

#

Some voice-regular mods do join on the weekends, but Mr. Hemlock does tend to be scarce around weekends, yes.

#

Don't ping.

#

Don't modmail.

#

It's something you can ask them for when they join of their own accord.

#

If they have the time to supervise and are amenable, as they often are, but may not be, you're golden.

#

I can.

#

@young orchid ๐Ÿ‘‹

#

Australia.

#

In relation to streaming.

#

Screen sharing.

#

I'm not.

#

I'm not sure how I can help you beyond suggesting search engines.

#

Yes, with that as a search term. But that's an obvious step.

#

No, it doesn't, but it's often useful.

#

I don't discuss that.

#

The majority would have English as a first language.

#

Many would be bilingual.

#

But not everyone.

#

We are a cultural melting pot, yes. Not everyone would speak English at home, but everyone would generally speak English other places.

#

It's mostly all English.

#

Yes, well, you're India...you can't walk in a direction without running into a different language.

#

I have, but I'm not able to help with that. Sorry.

#

You could.

#

It's a place to look.

#

It's not a sure thing.

#

But don't let that stop you from trying. Maybe at different times of the day and week.

#

Different people are active at different times.

#

People sometimes don't get their questions answered, and while I do truly have sympathy, sometimes people get bitter over it.

#

Notebook keyboard?

#

Your keys.

#

They sound like a laptop keyboard.

#

Or a notebook keyboard.

#

Righty.

#

Well, regular colds do exist.

#

Oh, we're swimming in it, but people are vaccinated so nobody really cares as much as they ought to.

#

Not immune.

#

Like, they get their first couple of shots and they think they're fine forever more and totally impervious.

#

Which is wrong.

#

But they're not panicking.

#

@whole bear๐Ÿ‘‹

#

Very well.

#

Enjoy.

somber heath
#

Water must still be on the wires.

#

@whole bear ๐Ÿ‘‹

whole bear
whole bear
#

yoo

#

how are y??

#

cool

dark forge
#

cant speak

#

suppressed

#

you can continue

#

what are you coding @lunar haven

whole bear
#

what are you coding @lunar haven

knotty dome
#

I need help can someone join voice chat 0

civic forge
#

hi

knotty dome
#

hi

civic forge
#

can we talk ?

knotty dome
#

yes

civic forge
#

i cant

knotty dome
#

okay

civic forge
#

red mute

#

how i can talk ?

knotty dome
#

unmute urself

civic forge
pallid hazel
#

do !verify in bot commands.. it say how many more posts u need.. i onno tho

civic forge
#

thx man

whole bear
#

yooo

#

@lunar haven

vestal aurora
#

hi how can i talk in voice chats

whole bear
vestal aurora
#

!verify did not work

wise cargoBOT
#
Voice verification

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

vestal aurora
#

hi

#

@loud reef

#

how are you

#

doing

loud reef
#

good

#

@loud reef

vestal aurora
#

how are the kids doing

loud reef
#

good

vestal aurora
#

bbc

loud reef
#

good

vestal aurora
#

homies

loud reef
#

good

#

benzema 3mk

vestal aurora
#

your bunfa

#

d

loud reef
#

good

#

good

vestal aurora
#

axel in herlem

loud reef
#

hey good , i am believing god

civic forge
vestal aurora
#

are you muslim

civic forge
#

4

wise cargoBOT
#

:x: failed to apply.

civic forge
#

don't spam

#

pls

vestal aurora
#

how are you pepole

civic forge
#

saleh

vestal aurora
#

i wish you good easter

civic forge
#

do you want to go to herlrm

#

?

vestal aurora
#

yes

#

and play that song

civic forge
#

you -

#

me +

#

ok ?

vestal aurora
#

i put the forgies in the jeep

#

no

civic forge
#

hi

#

saleh

vestal aurora
#

how are you

civic forge
#

ayo

#

im good

vestal aurora
#

ayo my n word

civic forge
#

how many

#

bbd

#

d=c

#

you have?

vestal aurora
#

as much as you want

civic forge
#

owwwwwwwwwww

#

do you love math

#

i love arabic

#

saleh

#

do you play minecraft

#

@vestal aurora

vestal aurora
#

yes

whole bear
#

yoo @final crane

knotty dome
ancient lily
#

i can hear you

#

sorry but i actually dont know im a beginner

#

sorry

maiden skiff
#

hi!

zenith river
#

da,b

#

i cant talk ikn voice

#

how many message do i need

whole bear
#

yoo

warped raft
#

hello @lunar haven @ocean tapir

#

that's not how to pronouce my name

#

btw which langage is this

#

@lunar haven interested in some clash of code

#

@lunar haven can you see this

#

no i was not there

#

can you tell me again

#

@lunar haven so are you interested

#

so you can join here

#

here you go

#

there will be several input and output and based on the give data we have to guess the problem and write a program

#

in any language

#

have you joined

#

ok

#

no promlem

#

yeah that's safe

#

yeah you can go on google and type clah of code

#

and you will get

#

it

#

no pressure

#

how can you stream

#

mod?? or what

#

yup

#

how did you get the video tag

#

yup

#

like we can stream in vcs but you can because

#

you have the video tag

#

yeah

#

so you will not answer

#

just add a faq on this server how can i get

#

so what are you doing rn

#

@lunar haven

#

so you add comment statement in you daily code

#

comment statement is the line that begin with#

#

and by that statement i mean i add comment only when i have to make my code understandable by others

#

that's a thing

#

like my oldest code is only 2 years old aka i'm 14 yrs old

#

so i remeber it as my best code

#

why have you selected that many line

#

nothin

#

i thought all the blue highlighted line were selected

#

like my sister is not giving me cookie and i am pissed off

#

@lunar haven have you listened to mo mamba aka sheck wes

somber heath
#

It's not like it's no internet, it just means that I'm stuck with typing.

#

Listening is fine, everyone else sounds peachy.

#

Absent actual issues on their end.

#

Mm.

#

@young orchid Beg pardon?

#

Everything up to the last 8, but not including.

#

I think.

#

!e py import numpy as np arr = np.arange(10) print(arr[:-8])

wise cargoBOT
#

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

[0 1]
somber heath
#

!e py import numpy as np arr = np.arange(10) print(arr[-8:])

wise cargoBOT
#

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

[2 3 4 5 6 7 8 9]
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2 3 4 5 6 7 8 9]
somber heath
#

!e ```py
print('Hello, world.')
print('Goodbye.')
```

#

You can.

wise cargoBOT
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2 3 4 5 6 7 8 9]
somber heath
#

py is fewer letters

#

We can hear you.

#

Yes, we can hear you.

#

@young orchid

#

You are audible.

#

You have a bit of hiss, but yes.

wise cargoBOT
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

[2, 3, 4, 5, 6, 7, 8, 9]
somber heath
#

Negatives count from the right.

#

Positives count from the left.

wise cargoBOT
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

[0, 1]
somber heath
#

obj[-8:] This is saying starting from position -8, i.e. from the 8th last index, go to the end.

#

You might want to delete that code output, because it's wrong compared to the edit you made.

#

I was looking at it and thinking, "Wait...am I going insane?"

#

Thank you.

#

!e py a = [*range(10)] b = list(range(10)) print(a) print(b)

wise cargoBOT
#

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

001 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
002 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
somber heath
#

@slender stirrup๐Ÿ‘‹

slender stirrup
#

Hi @somber heath

somber heath
#

@whole bear๐Ÿ‘‹

whole bear
somber heath
#

I do.

whole bear
#

You little--

#

OpiumMist.. What a cursed name.

somber heath
#

I've heard better corruptions of my name.

whole bear
#

Oh really?

somber heath
#

Mm. OpalMoist is perhaps my favourite.

#

I also get Optalmist, sometimes.

whole bear
#

OpalMoist... really? Well, im disappointed.

#

OpiumMist is easy for the tongue.

somber heath
#

As it please.

whole bear
#

The name consist of two words:

  1. Opium (Drug)
  2. Mist (Foggy-like thing)

Considering that opium is manufactured as a powder............ OpiumMist can be considered as a fog made of opium.

somber heath
#

@crude iron๐Ÿ‘‹

crude iron
#

hey

somber heath
#

@sturdy dirge๐Ÿ‘‹

#

@lunar haven What's with that indentation?

#

Righto...

#

I thought maybe you were doing it to be decorative, like writing a picture out of the code or something.

#

@whole bear๐Ÿ‘‹

#

@delicate notch๐Ÿ‘‹ @fluid lagoon๐Ÿ‘‹

#

@rustic dew๐Ÿ‘‹

rustic dew
#

Hi!

somber heath
#

@crude slate๐Ÿ‘‹

#

Okay, I'm going to go watch some T.V. Keep well.

maiden skiff
#

hi

grim trellis
#

hi

maiden skiff
#

how are you today?

#

not bad

#

what are you doing? @grim trellis

#

Sorry, can you send me a message instead because I'm not good at English?

#

It is difficult for me to listen to English.

grim trellis
#

ok I am working on testing using pytest for my backend API

maiden skiff
#

oh okay thanks

whole bear
#

yoo

#

@grim trellis

#

good and y

#

what are y

#

doing

slender stirrup
#

hello

#

@grim trellis hello mate!!

#

@whole bear hello bro!!

grim trellis
#

hello

slender stirrup
#

hi

muted perch
#

Yo ๐ŸŒป

somber heath
#

It's not within my sphere of influence to do so, I think.

#

I did, they were dry.

#

I think it's the pit.

#

So public utility/private company arena.

#

Okay, so we have the modem/router. From there, it's copper cable into the house wiring which in turn goes down the street to the pit, where all the local copper in our segment converges, and from there it's optic fibre off to the local exchange and from there to wherever else it goes, and I suspect that water has flooded the pit.

#

Or something.

#

It's all NBN.

#

ISPs buy bandwidth and IP space off the NBN.

#

Yes and no.

#

Well, there's one company that administers the NBN, and from there the ISPs go through the NBN and we go through the ISPs.

#

It's bullshit, but that's what people get for voting in the previous party.

#

Experts advised the government to do things the right way, then the government went, "You know what? Let's do it the wrong way and six times more expensively."

#

Fuck Musk.

#

Shall I gesture vaguely in his direction?

#

If you understand, you understand. If I have to explain, then you never will.

#

@regal imp@deep meadow@midnight summit๐Ÿ‘‹

midnight summit
#

damn what we doing here

somber heath
#

@whole bear๐Ÿ‘‹

somber heath
#

We certainly hear it.

#

@brittle silo๐Ÿ‘‹

#

@trail ruin๐Ÿ‘‹

#

@coral rampart๐Ÿ‘‹

#

@worthy bobcat๐Ÿ‘‹

worthy bobcat
#

๐Ÿ˜ฎ

#

You saw me๐Ÿ˜…

#

@somber heath

somber heath
#

I did.

#

Though it was more the audible notification of your joining that did the heavy lifting.

worthy bobcat
somber heath
#

I haven't been watching.

#

@dark mural๐Ÿ‘‹

#

@unreal flax๐Ÿ‘‹

#

@subtle hound๐Ÿ‘‹

#

@wraith fern๐Ÿ‘‹

sour willow
#

yo wassup gofek

gentle flint
#

Easythreed X1

somber heath
gentle flint
#

no, it's my mosquito net

somber heath
#

They're tricky things, mosquitos.

#

I've had things sealed up fairly tight, and they will still find their way in.

#

You wouldn't like it where I live, then.

#

Oh, okay, well, rubbish, sure.

#

Maybe they're burning treated wood.

#

Even if it is that, it wouldn't smell awful awful.

#

It'll be some other compound.

#

On cold nights, a lot of people start up their wood fires, here. It's not an unpleasant smell in moderation.

#

The air is otherwise clean enough for it to be more atmospheric and charming rather than disgusting.

#

If you rent a hotel room, you can freely assume that the outside may be monitored.

#

But not the inside.

#

Any responsible regulation would mandate that no cameras are placed inside.

#

Ideally in legislation.

#

Australia, too.

#

Africa.

#

"How long will you fast?"
Depends on how fit you are.

#

Come on...apply a little bit of common sense.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1681067879:f> (10 minutes) (reason: burst spam โ€“ sent 8 messages).

The <@&831776746206265384> have been alerted for review.

gentle flint
#

watch as he gets muted

#

oop

somber heath
#

I saw a YouTube short about how if you're holding water in your hand and the call sounds to begin fasting that you're permitted and encouraged to finish it.

#

The short continued.

stuck furnace
#

!unmute 273217534558470144

wise cargoBOT
#

:x: failed to pardon infraction timeout for @ionic sable. User was not found in the guild.

somber heath
#

"So if I'm holding on to the fridge?"

#

@thin breach @sly gale Whichever one of you was asking for help, you might want to post your question here.

sly gale
#

do you know of an easy way to contribute to a opensource progect

somber heath
#

Browse github?

sly gale
#

how can i find good projects that accept beginners

somber heath
#

I would hope that you would be judged on the quality of your proposed contributions rather than your level of experience.

stray hull
#

@lunar haven what are the comments in your code for?

#

remove them

#

they are useless

#

..

#

http://CppCon.org
โ€”
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017
โ€”
Lightning Talk
โ€”
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

-----
Register Now For CppCon 2022: https://cppcon.org/registration/
-----

โ–ถ Play video
#

take a break and watch this educational video

somber heath
#

Your microphone isn't noisy, but you do sound slightly close to it, whoever asked.

stray hull
#

yep hm

#

watch all the video

#

and you'll understand why you should not have comments in your code(current code)

#

if you use comments for that code then I'm sorry - you have naming problems

#

use your head - not an AI

#

don't be a code monkey

#

I'm pretty sure you don't want to be

somber heath
#

Use as little as possible to describe as clearly as possible what the variable is for.

stray hull
#

loop until
KEKW

#

you'll get experience don't worry

#

watch whole video and take notes

tepid edge
thin breach
sour willow
#

wassup gofek, maro, opal, verbook, moritz

somber heath
#

I'm so awesome, I don't brag, I arag.

vocal basin
#

ill again, so won't be able to type much

shy pulsar
vocal basin
#

namespaces

somber heath
#

You've just described the entirety of the programming field.

vocal basin
#

before Docker the most prominent thing probably was Jails/Zones, I guess

#

Docker is paid if you earn too much

#

Commercial use of Docker Desktop at a company of more than 250 employees OR more than $10 million in annual revenue requires a paid subscription (Pro, Team, or Business) to use Docker Desktop

sonic mulch
#

hey guys, can someone help me with some basic python stuff handling some csv files?

sonic mulch
#

I want to get the data type from the values of every column but I dont want to use pandas

vocal basin
#

!d csv

wise cargoBOT
#
csv

Source code: Lib/csv.py

The so-called CSV (Comma Separated Values) format is the most common import and export format for spreadsheets and databases. CSV format was used for many years prior to attempts to describe the format in a standardized way in RFC 4180. The lack of a well-defined standard means that subtle differences often exist in the data produced and consumed by different applications. These differences can make it annoying to process CSV files from multiple sources. Still, while the delimiters and quoting characters vary, the overall format is similar enough that it is possible to write a single module which can efficiently manipulate such data, hiding the details of reading and writing the data from the programmer.

sonic mulch
#

i dont know how i can do it

vocal basin
sonic mulch
#

oh

#

thank you!

#

I am new here so sorry for those mistakes

vocal basin
#

you know what else existed before Docker for a couple of years?
Docker
it just wasn't named "Docker" but was developed by, essentially, the same company

#

it's not "new hype technology" anymore, and it wasn't entirely "just a repackaging of previous ideas" ever

#

@twilit stone are you talking about container being able to access host's ports?

#

then just configure those ranges

#

ofc default configuration won't be "perfect configuration"

#

software isn't magic, it can't just guess what you want

#

"gets exhausted"

#

that is also fixed by subnet configuration

#

just make it /16 not /24

twilit stone
vocal basin
#

to exhaust /20, you need over 4000 addresses, not 255

twilit stone
#

ubunt u@austin-prod: $ ip route
default via 192.168.131.1 dev ens5 proto dhcp src 192.168.131.236 metric 100
172.17.0.0/16 dev dockerยฎ proto kernel scope link src 172.17.0.1 linkdown
172.18.0.0/16 dev br-a91e37158509 proto kernel scope link src 172.18.0.1
172.19.0.0/16 dev br-8937 e0a49f1d proto kernel scope link src 172.19.0.1
192.168.16.0/20 dev br-eaf0dcc851al proto kernel scope link src 192.168.16.1
192.168.32.0/20 dev br-e5f400750a61 proto kernel scope link src 192.168.32.1
192.168.130.2 via 192.168.131.1 dev ens5 proto dhcp src 192.168.131.236 metric 100
192.168.131.0/24 dev ens5 proto kernel scope link src 192.168.131.236 metric 100
192.168.131.1 dev ens5 proto dhcp scope link src 192.168.131.236 metric 100

vocal basin
#

software isn't magic

stuck furnace
#

๐Ÿ‡ฌ๐Ÿ‡ง

wind raptor
#

๐Ÿ‡จ๐Ÿ‡ฆ

stuck furnace
#

What're you working on gofek?

#

gtg ๐Ÿ‘‹

vocal basin
#

@midnight agate
suggestion: text-based kanban or something similar

#

to-do list

#

or something like that

#
tasks
tasks add 'some task'
tasks remove [-y] 'some*'
#

(last one prints the whole list of what to delete and asks y/n

#

build big stuff out of small stuff

#

@sinful phoenix from the "big projects" remark I'd assume you're talking about software architecture, right?

#

in idealistic world, projects regardless of size are governed by the same architecture laws

#

yes, that's why "in idealistic world"

#

for Windows it comes with the installer

#

@lunar haven you can't divide an abstract dictionary "in half"

#

because there's no order

vocal basin
#

dictionary is just a mapping

#

it has no ordering

limpid raven
#

how to know when to use dicts and when to use objects?

vocal basin
limpid raven
#

yes

vocal basin
#

!d collections.OrderedDict

wise cargoBOT
#

class collections.OrderedDict([items])```
Return an instance of a [`dict`](https://docs.python.org/3/library/stdtypes.html#dict "dict") subclass that has methods specialized for rearranging dictionary order.

New in version 3.1.
vocal basin
#

this is hash-based Yoloing not ordering

mighty pawn
#

im new to python

vocal basin
#

!e

print(hash("stco"), hash("stss"), *{"stco": 0, "stss": 1})
print(hash("stco6"), hash("stss6"), *{"stco6": 0, "stss6": 1})
#

eh

#

I failed to run emacs, so no not an emacs user yet

vocal basin
#

from 3.6 docs:

The order-preserving aspect of this new implementation is considered an implementation detail and should not be relied upon

limpid raven
#

I'm currently working on a 2d game could u give me some opinion on this gui?

vocal basin
#

buttons should be same width

#

(six stacked on top of each others)

limpid umbra
#

visual symmetry

vocal basin
#

@midnight agate listening

limpid umbra
#

whats the fancy name for GUI layout

#

flow control ??

vocal basin
#

@midnight agate why Android Studio and not IntelliJ itself?

#

it has a free version

limpid raven
# vocal basin these should be symmetric

Yeah I'm currently calculating the button positions from the screen width and height do you have a better idea? (I want it to be good for any size of monitor)

vocal basin
#

@midnight agate download not pricing

#

"well, Eclipse is more recent"

#

by a couple of ten months

vocal basin
stuck furnace
vocal basin
#

!paste

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 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.

vocal basin
limpid umbra
#

miggy error screen from long ago

vocal basin
#

sending image and doing OCR is fundamentally incorrect there

#

OCR ะฐ/I

#

you can't

#

or just I/l

#

or i/1 in some fonts

ivory stump
#

Any reason they can't use discord web to send their code? (I may be missing context but still)

vocal basin
#

(the one with the code doesn't have Discord installed)

ivory stump
#

Yeah the point being you don't need to install discord to use the web version

vocal basin
limpid raven
vocal basin
wise cargoBOT
#

@lunar haven :x: Your 3.11 eval job has completed with return code 1.

001 | This is today's to do list
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 7, in <module>
004 |     for x in ToDoLฤฐst:
005 |              ^^^^^^^^
006 | NameError: name 'ToDoLฤฐst' is not defined. Did you mean: 'ToDoList'?
vocal basin
#

ฤฐ

#

something's not right

#

(I never was a professional)

#

@lunar haven mic issues

limpid umbra
#

gofek - you sound like cyberman

limpid raven
#

no

vocal basin
#

I might have provided a not so simple specification

#

C# has the same thing
idk which of the two got it first

vocal basin
#

I forgot a thing there

#

an obvious one

vocal basin
#

buffering

#

depends on the model, file size, etc.

#

@midnight agate in a more correct different version it is supposed to read the file twice for the same reason (when removing)
I chose not to do that not to increase complexity

#

although

#

eh

#

not really

#

for deletion you need to keep in memory

#

or use temporary files

#

print(file=file) because .write takes too much thinking to use

#

@midnight agate auto-imported from sys

#

but it shouldn't be there

#

I already said that

#

running tasks concurrently wasn't in the spec ยฏ_(ใƒ„)_/ยฏ

vast light
#

somebody mind helping me with a matrix multiplication without numpy ?
join Voice Chat 1

vocal basin
#

codingame allows other languages too

#

I was restricting myself to C# sometimes (because shashank was writing Java)

vocal basin
#

how is some* pattern called

#

* being .* in regex

#

similar to glob

#

but not for paths

stuck furnace
#

What're you all up to? ๐Ÿ‘€

#

Yo

vocal basin
#

some\* meaning is undefined, spec doesn't say how it should behave

#
def matches(pattern: str, task: str) -> bool:
    raise NotImplemented

assert matches("Buy*", "Buy Rice") is True
assert matches("Buy", "Buy Rice") is False
assert matches("Buy Milk", "Buy Rice") is False
assert matches("Buy Rice", "Buy Rice") is True
#

(matches could have a better name)

stuck furnace
#

@lunar haven Is your stream frozen? pithink

#

Ah right IC

#

Right ๐Ÿ˜„

#

mhm

#

Yep

#

Erm, which code sorry?

#

Yu's?

#

Ah right ๐Ÿ˜„ They all got it from Haskell I think

#

Oh, I can't remember ๐Ÿค”

ivory stump
#

__match_args__?

vocal basin
#

3.10

stuck furnace
#

Like, 3.11 I think?

#

Oh yeah

vocal basin
#

!d match

wise cargoBOT
#

8.6. The match statement

New in version 3.10.

The match statement is used for pattern matching. Syntax:


match_stmt   ::=  'match' subject_expr ":" NEWLINE INDENT case_block+ DEDENT
subject_expr ::=  star_named_expression "," star_named_expressions?
                  | named_expression
case_block   ::=  'case' patterns [guard] ":" block
```...
stuck furnace
#

Yeah if you want to be pre-3.10 compatible you can't use it.

maiden skiff
#

Good morning ")

#

๐Ÿ™‚

vocal basin
#

"just use python:3.11 Docker container"

stuck furnace
#

It's really nice for breaking down recursive data structures.

ivory stump
#

It makes things like traversing ASTs quite nice

stuck furnace
#

Yo ๐Ÿ‘‹

#

Only temporary.

#

You have to ask Hemlock for the permanent role.

vocal basin
stuck furnace
#

Yep ๐Ÿ˜„

limpid umbra
#

@sinful phoenix did you get your , todolist code to work ?

#

i had a , error using ToDoList so i renamed it list

#

i made your code in the style im used to

ivory stump
vocal basin
#

if everything is stored consecutively:

atom_names: list[str]
atoms: bytearray  # or `bytes` if immutable
atom_positions: dict[str, slice]
#

atom_names with fixed order
atom_positions for each name give you the slice

#

atoms[atom_positions[name]]

stuck furnace
stuck furnace
#

Oh nah, on the exercise ze linked to.

ivory stump
#

dict.update takes a dictionary to merge with the instance

ivory stump
stuck furnace
ivory stump
#

Yikes, mine fails 6 of the 25 too

stuck furnace
#

My code returns py {'1.one.two': 5, '1.one.four': 3, '1.two.four': 8, '1.two.five': 7, '1.three.four': 2, '1.three.five': {}, '1.four': 5, '2': []} for one of the tests, when it expects ```py
{'1.one.two': 5, '1.one.four': 3, '1.two.four': 8, '1.two.five': 7, '1.three.four': 2, '1.three.five': {}, '1.four': 5, 2: []}