#voice-chat-text-0

1 messages · Page 1007 of 1

rugged tundra
lean grove
#

thanks guys

primal yacht
#
py -m ensurepip
lean grove
#

here's what I got

#

do i need to activate it?

stuck furnace
#

Try using pip through py.

#

py -m pip

lean grove
#

i see

#

I'll have to type that in python or cmd

#

?

#

IDLE

#

Here's what I got

primal yacht
lean grove
#

sounds good

primal yacht
#

When it says something like:

pip install BLAH

You would do instead:

py -m pip install BLAH
#
py -0
lean grove
#

I simply type py -m pip install BLAH into IDLE?

#

lol

#

I need pip for instaloader, for my art account

#

it's to grab references from instagram in bulk

#

my saved collections

#

stuff from my collections

#

yes!

#

repost and stuff

#

painting and such

#

I'll credit the person who made it, it's basically for attracting more viewers as a bummer account

#

for instance, wonderful places is such an account that repost other photographer's work

#

basically

#

yeah

#

I'll watch some tutorials on installing it

#

thanks all!

primal yacht
lean grove
#

Hey guys, why am I getting this error?

sour imp
#

did you try py -m pip install instaloader

lean grove
#

ok let me try

#

There's still a syntax error

#

not sure what to make of that

#

should I put this is python or cmd?

sour imp
#

cmd

lean grove
#

ok gotcha

#

Thank you!

sour imp
#

perfect but you might want to update your pip

lean grove
#

is it this command? py -m ensurepip --upgrade

sour imp
#

no i was wron i saw yellow and assumed pip was outdated

#

disregard my statement

lean grove
#

okay

#

May I ask how do i know where(cmd or python) to type commands?

sour imp
#

python is for the code itself cmds are for installing packages and or running the code

lean grove
#

oh i see

#

what's IDE?

#

how do i set things up properly?

#

not yet

#

I'll do just that

#

im just following the video for now

#

does it show me how to install what ur talking about?

#

vs studio and sublime text yeah?

#

Thank you Coffee, your video was great

rugged tundra
#

On Wednesday, January 25, 2017, Baidu chief scientist, Coursera co-founder, and Stanford adjunct professor Andrew Ng spoke at the Stanford MSx Future Forum. The Future Forum is a discussion series that explores the trends that are changing the future. During his talk, Professor Ng discussed how artificial intelligence (AI) is transforming indust...

▶ Play video
lean grove
#

I followed the video, then I typed in the command for installing instaloader, for some reason the yellow text is still there

#

should I be worried about that?

#

that's fine, thank you all for the help thus far

willow lynx
#

I've got a test for data Engineer job on hackerrank.

#

Can you tell me anything basic I can prepare

#

Data manipulation

lean grove
#

Thanks for today guys! I'm out for now

willow lynx
#

This is a 100-minute test with questions wrt coding / programming and data manipulation.

thorn wharf
rugged tundra
#

!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
whole bear
gentle flint
#

@icy axle the kladdkaka was very popular

#

we served it slightly warm so it was softer

#

none was left

icy axle
lavish rover
#
OBJS = $(patsubst $(SRC)/%.c,$(OBJ)/%.o,$(SRCS))
#
%.o : %.c 
    @$(CC) $(DEPFLAGS) $(CFLAGS) -c $< -o $@ 
#
SOURCES = $(wildcard ./*.c)
midnight finch
#

can someone hlep me make a loop

random copper
#

What language was the first you learned? where you think is best to start :D?

midnight finch
#

im only learning python

#

can i share some code

#

!pastebin

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.

lean grove
midnight finch
#

basically i have like 300 images all named part1, part2, etc. just want a way for python to run code for all parts without me typing every image url

lavish rover
#
#include <sys/time.h>

struct timeval stop, start;
gettimeofday(&start, NULL);
//do stuff
gettimeofday(&stop, NULL);
printf("took %lu us\n", (stop.tv_sec - start.tv_sec) * 1000000 + stop.tv_usec - start.tv_usec); 
midnight finch
#

dye data paths is where i have been putting all my image paths. then i run this code to get an output ```py
pred_1 = model(contrast_data[0][None, ...])
print(pred_1)

#

could someone help pls

lavish rover
#
float timedifference_msec(struct timeval t0, struct timeval t1)
{
    return (t1.tv_sec - t0.tv_sec) * 1000.0f + (t1.tv_usec - t0.tv_usec) / 1000.0f;
}
#

@whole bear

lavish rover
#
---
Language: Cpp
BasedOnStyle: WebKit
SpaceAfterTemplateKeyword: false
AlignEscapedNewlines: true
AlignTrailingComments: true
BreakBeforeInheritanceComma: true
BreakConstructorInitializers: BeforeComma
IndentPPDirectives: AfterHash
BreakBeforeBraces: Custom
BraceWrapping:
    AfterFunction: true
NamespaceIndentation: None
lavish rover
#
for FILE in $(git diff --cached --name-only)
do
        clang-format -i $FILE
done
#
REPO_ROOT/.git/hooks/pre-commit
midnight finch
#

anyone know how to delete all image above red line or make image transparent above red line

#

@ me pls

whole bear
#

What is the number 1 tip you guys would give to someone that is starting learning Python from scratch?

lavish rover
#

no amouny of books/videos/courses are a substitute for actually coding

whole bear
#

Thanks for all the tips! Much appreciated

midnight finch
#

pls help

hardy karma
#

what is the difference between a data member and a method?

#

I am trying to make a class but not sure if I need both things\

somber heath
#

Okay, so from what I'm seeing, a data member is, essentially, an object that stores some kind of data about the function, like a list or a number or text...some kind of value.

#

A method is an object written as a "function" of that class in the usual way you'd expect.

#

Usually taking the instance of that class in its first parameter.

#
class MyClass:

    def __init__(self):
        self.data_member = []

    def my_method(self): #Technically a function in a class unless you're looking at this from a class instance, at which point it's a method.
        ...```
#

@hardy karma

hardy karma
#

Thank you so much

#

Does the init function always have to be first when writing a class?

somber heath
#

So while, in an instantiated instance, the instance would have both data_member and my_method as attributes, there is a distinction.

#

No.

#

It's customary, however.

hardy karma
#

Hm

somber heath
#

You don't have to have an __init__ at all, if your code doesn't need it.

hardy karma
#

Gotcha. I’m trying to write code for a game but I am limited to what I can do

somber heath
#

Course-based prohibitions?

hardy karma
#

If I’m planning to import the class into the main function how would I go about dividing some functions into “private” and “public”

#

Somewhat yes

somber heath
#

Naming.

#

Underscores.

#

A single underscore before (or sometimes after) an attribute is a conventional way of signalling to someone reading your code that you, as a programmer, probably shouldn't be messing around with it. So no looking at it, no calling it.

#

However

hardy karma
#

Ahhhh hm thank you

somber heath
#

If you really want to be extra sure a coder doesn't futz with things from outside of the class, use a double underscore before the rest of the name that doesn't also have a double underscore after it.

#

I will demonstrate both.

hardy karma
#

A getter method is essentially a simple function assigning a value to something or getting a value of something right?

#

Thank you again

somber heath
#

!e ```py
class MyClass:

def call_scrambled(self):
    self.__scrambled()

def _regular(self):
    print("Hi. I'm _regular.")

def __scrambled(self):
    print("Hi. I'm __scrambled.")

mc = MyClass()
mc._regular()
mc.call_scrambled()
mc.__scrambled()```

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | Hi. I'm _regular.
002 | Hi. I'm __scrambled.
003 | Traceback (most recent call last):
004 |   File "<string>", line 15, in <module>
005 | AttributeError: 'MyClass' object has no attribute '__scrambled'. Did you mean: 'call_scrambled'?
somber heath
#

The final line causes the AttributeError.

#

So what you're seeing here, you can call __scrambled from inside the class, but as soon as you try to refer to it by the same name from outside of the class, it thinks it's not there.

#

That's because of the double underscore. This is known as namespace scrambling.

#

The single underscore has no syntactic/logical impact.

#

It's just a style/convention thing.

hardy karma
#

Oh

#

So if the underscores weren’t there they’d be able to call it?

somber heath
#

If there weren't double underscores, yes. The magic methods don't count because the double underscores after them cancel out the scrambling.

#

So py __init__ doesn't get scrambled.

hardy karma
#

Question those last lines are they included in the class as well?

somber heath
#

I don't follow.

hardy karma
#

The mc =MyClass()

#

Those lines are they outside the class or still in the class?

somber heath
#

That's the instantiation of the class and the assignment of it to mc, the variable.

#

They're outside of the class.

hardy karma
#

Okay gotcha.

somber heath
#

So very much to do with the class, but not as part of its definition.

hardy karma
#

I wasn’t sure if that was the case or not

#

It’s a long shot but haha would you be able to hop on a call so I may ask more questions and such. I’m trying really hard to learn cause I’m passionate about this stuff but I’m super confused right now 😅😪

somber heath
#

I'm in code/help.

hardy karma
#

Thank you again though for answering these questions. It has been helpful.

#

One sec

manic reef
#

Looks like I am going to get the voice permission very soon!

median storm
#

@lavish rover hello

#

@lavish rover 😢

lavish rover
#

?

ivory stump
somber heath
#

By all means.

#

!e ```py
class MyClass:
def not_a_real_magic_method(self):
print("Ta-da!")

mc = MyClass()
mc.not_a_real_magic_method()```

wise cargoBOT
#

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

Ta-da!
somber heath
#

So it's not just that they're magic methods, it's that there's the accompanying double underscores after them as well.

lavish rover
#

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

lavish rover
#

@olive viper

#
ripe salmon
#

!e

wise cargoBOT
#
Missing required argument

code

woeful salmon
#

!voice @rustic harness

wise cargoBOT
#

Voice verification

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

rustic harness
#

Ahhh I got it now

#

I’m 48 messages away 😂

somber heath
#

Howdy howdy.

#

You know, I don't think I've shaken hands with someone in over two years, now.

#

There's a thought I just had.

#

I was just thinking what a pleasure it would be to shake yours, @woeful salmon .

#

The wind bears ill tales.

#

So I'm somewhat maudlin, tonight.

#

That's fine.

#

I wasn't typing anything.

#

You've prominence.

#

You're in the VC

#

and you have your DMs open.

#

lel

#

Well, it's a computery concept.

#

But you're a helper. Helpers know everything.

#

Everything.

#

Sounds familiar.

#

It's been a while since I've played any sort of newish game.

#

That's new, by my er...not standards, but...

#

Mm.

#

I've been seeing play of a game, I don't know what it is, that had socketed items.

#

The whole thing reminds me very much of Diablo II.

#

Down to the red and blue health and mana orbs on the bottom left and right, respectively.

#

I'm not on my phone.

#

Yes. It looks like the game.

#

It has Warcraft III vibes to the art style, too.

#

But then that's sort of common, these days.

#

Not so much the characters.

#

More the glowy bits.

#

Yeah. Definitely the game I saw.

#

What did the skill tree concept first?

#

Like, that sort of star map sort of thing, in terms of the interface.

#

Because I've seen that in Astral Sorcery, a Minecraft mod.

#

and I reckon they're both derivative of something else.

#

I like it.

#

Yes, but the star chart sort of thing.

#

"Do not worry little bees. We are friends, now."

#

I whoopsied.

#

I tried to close the video window and ended up exiting Discord entirely.

#

Because that's the sort of person I am.

#

Agreed.

#

So I was shown a nifty thing the other day.

#

Now, you know how you can double star unpack into a dict.

#

!e py a = {"a": "b", "c": "d"} b = {**a} print(b)

wise cargoBOT
#

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

{'a': 'b', 'c': 'd'}
somber heath
#

What I didn't know is that you can do it more than once.

#

Yes.

#

I did know

#

But...

#

Wait wait

#

!e py a = {"apple": 1, "grapes": 2} b = {"apple": 3} b = {**a, **b} print(b)

wise cargoBOT
#

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

{'apple': 3, 'grapes': 2}
somber heath
#

That

#

I didn't know you could do it twice, or more, for that matter.

#

!e ```py
a = {"apple": 1, "grapes": 2}
b = {"apple": 3}
b.update({k:a[k] for k in set(a).difference(b)})
print(b)

wise cargoBOT
#

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

{'apple': 3, 'grapes': 2}
somber heath
#

Then when I saw the {**a, **b} thing, and I had a moment. You know those moments when you fall just a little bit in love with a piece of code?

woeful salmon
#

for me its the fact if you have a variable named with the same name as the key you want it to have in an object in js
you can do

{
  variableName
}
#

and it will work

#

without adding :variableName after it

#

it will just create the key value pair from the variable name and value

#

rust also coppies this behavior for structs

stuck sky
rustic harness
#

Hey guys

#

Can’t speak atm working on getting perms haha

#

Any one here using solidity?

#

I guess nvm for now chat with u guys when I get perms

hushed elm
#

@rustic harness i've used solidity, what you wanna know?

rustic harness
#

My bad brotha I got a different vid showing me the ropes I’m just getting in to it I just needed to find the terminal and sadly the first vid did not show me. Either way I just got the understanding that I need to learn the basics I’m at lvl 0 atm so rn I’m watching a 2 hr vid on YouTube then see if I can go back to solidity

#

I wrote some code already but I did not understand what I wrote completely

#

@hushed elm

#

But thank you for hitting me back 🙏

hushed elm
#

yeah man, gl!

#

gonna get that sweet sweet cashmoney

rustic harness
# hushed elm gonna get that sweet sweet cashmoney

Brotha I peeped some vids on home much these guys makin and then saw job listings. Right when I saw degree my hopes got hit a little but fk it after I learn code for a bit ima go back to school. I still got mad time.

hushed elm
#

you don't need a degree, you just need to know how to code

#

you can do freelance work and find jobs even without a degree

#

how old are you?

rustic harness
#

And dam bet LFG!

hushed elm
rustic harness
#

Lol it’s a phrase of excitement soz 😂

#

Dam still don’t got voice chat perms

hushed elm
#

💪 💪

rustic harness
#

Soon I will get them hopefully

#

Few more messages and some time lol

random copper
#

YEEEEEEEES

midnight finch
#

hi

#

anyone know how to do this in r

#

like what do i replace in the code with my code. im new

sturdy panther
#

That's a lot of static.

rustic harness
#

Ooh man I just crunched about 9 hrs of info

#

And what I got from it? I’m too green 😂

#

But close to getting it

daring orbit
#

Hello everyone

next thorn
#

Hey guys!

#

I'm working on a program for my class and I'm completely clueless atm lol

uncut frigate
#

Is streaming disabled globally in this server or is there a way to get permissions to stream?

stuck furnace
uncut frigate
#

Thanks 🙂

stuck furnace
#

np lemon_pleased

uncut frigate
#

Fortunately, I just figure out my own problem

stuck furnace
#

Ah right cool. Always feel free to claim a help channel btw.

uncut frigate
#

I tried, no dice, 😛

wind raptor
#

@rocky kayak

#

In here

rocky kayak
#

Oh yeah

#

Sorry

#

Yeah yesterday only i came

#

Yeah ik ik

wind raptor
#

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

rocky kayak
#

Ik

#

I will do it later

#

Yeah

#

Now

#

I need to learn coding

#

I just dont know anything about it 😂

#

Yeah

#

yes

#

yet to start

#

But idk where to start

wind raptor
#

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

rocky kayak
#

ok?

#

Thanks for dat!

#

sounds good

#

Can I ask you a question? 😂

wind raptor
#

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
rocky kayak
#

Yesh

#

yeah

#

Thank you

#

Thanks for spending time with me

#

Yeah

#

Its a silly

#

but

#

Is that a boy or girl in the background voice

#

😂

#

In ur mic

#

yeah

#

thanks

#

Thanks bro

#

I gotta class

#

And

#

Where are you from?

#

Am from India

#

Cool

#

I am from Tamil Nadu

#

I am aiming for a job in Canada only

#

After my studies

#

Its so hot here sis 😂

#

Like if u go a walk for 15 mins

#

Your skin gets tan

#

yeah bro

#

Bye

#

Will see another time

#

Thank you

#

cheers!

somber heath
#

Howdy howdy.

frosty star
#

Hi everyone

#

Ur the best opal xD

dusty blade
#

Oh my english is terrible

#

How to learn to understand in this language?

frosty star
dusty blade
#

How would you recommend learning English?

somber heath
#

Repetition.

#

Drilling.

#

Word games.

dusty blade
#

Well, thanks😅

somber heath
#

Comb pooter.

#

Fun fact.

#

A pooter is an actual thing.

#

Catch the monkey.

#

Oof.

fluid hazel
#

@hushed elm Germany?

somber heath
#

Romania, Germany.

dusty blade
#

im from russia

fluid hazel
#

Heh thought Germany

hushed elm
dusty blade
#

singapore cool city

hushed elm
#

where are you from @fluid hazel ?

dusty blade
#

very expensive city

#

мукн пкуут

fluid hazel
dusty blade
#

very green

fluid hazel
#

Tower

#

Lol

hushed elm
somber heath
#

I'd like to see more living architecture.

fluid hazel
#

Yea

somber heath
#

Travel back to forest.

#

Become elf.

#

Live in trees.

fluid hazel
#

Forests

dusty blade
#

I lived in the hotel marina bay

#

yes

hushed elm
#

@lethal thunder pls mute your mic when you're not talking, we can hear conversations in your room

dusty blade
#

Плохой английский, стараюсь обучитсья

#

oh noo)

#

this is very bad

somber heath
#

?

fluid hazel
#

@lethal thunder dude what's show u watching

dusty blade
#

why not?

somber heath
#

!rule 4 🙂

wise cargoBOT
#

4. Use English to the best of your ability. Be polite if someone speaks English imperfectly.

fluid hazel
#

Dude I translated it

#

Pmao

#

Lmao

fluid hazel
somber heath
#

I expect it'd apply there, too. I mean, you could ask Hemlock what his position on the matter is. I reckon so long as there's one person in the VC in question who doesn't understand the language in question, that English should be defaulted to.

#

If it's like just you and someone else, like...who gives a crap, really? But if someone else comes along and doesn't understand the conversation, it'd be courteous to switch to a commonly understood language.

#

Here being English.

fluid hazel
#

Yea understand

dusty blade
#

understandably. It's hard for me to hear!

#

while talking through a translator

somber heath
#

I sympathise.

dusty blade
somber heath
#

Truly. I deeply sympathise.

fluid hazel
somber heath
#

Appropriate for the times.

fluid hazel
#

Ye

#

So who has good height here

somber heath
#

Bodily?

fluid hazel
#

Body height yeah

somber heath
#

Let it suffice to say that I'm taller than most people I know.

fluid hazel
#

Dayumm mine is short

#

How u feels like lol

somber heath
#

I also respond to "Hey, could you get that off the shelf for me, please?"

fluid hazel
#

Tall tall such good height

#

Lol

#

5'01 mine

#

Well funny thing is it's approximate my brother calculated that 💀

#

What urs

somber heath
#

As I said. Taller than most people I know.

fluid hazel
#

Eh

#

Hello

somber heath
#

@lavish rover I thought that was Ice Hockey they kick you out for not liking. Sorry. I mean Hockey.

hushed elm
#

ewwwwwwwww

#

i hate it

#

baloney

somber heath
#

P!nk is a champion.

#

Skiing in Australia takes place in the Australian Alps in the states of New South Wales, Victoria and the Australian Capital Territory as well as in the mountains of the island state Tasmania, during the southern hemisphere winter.
Skiing began in Australia at the goldrush town of Kiandra, New South Wales, in 1861. The first ski tow was construc...

dusty blade
#

@whole bear hello

whole bear
#

hi

somber heath
#

Casuarius is a genus of birds in the order Casuariiformes, whose members are the cassowaries (Tok Pisin: muruk, Indonesian: kasuari). It is classified as a ratite (flightless bird without a keel on its sternum bone) and is native to the tropical forests of New Guinea (Papua New Guinea and Indonesia), Aru Islands (Indonesia), and northeastern Aus...

#

Murder Turkey.

#

Taipans are snakes of the genus Oxyuranus in the elapid family. They are large, fast-moving, highly venomous, and endemic to Australia. Three species are recognised, one of which, the coastal taipan, has two subspecies. Taipans are some of the deadliest known snakes.

#

Mean as they come.

dusty blade
#

we have spiders - it's good

somber heath
#

Ballooning, sometimes called kiting, is a process by which spiders, and some other small invertebrates, move through the air by releasing one or more gossamer threads to catch the wind, causing them to become airborne at the mercy of air currents and electric fields. A 2018 study concluded that electric fields provide enough force to lift spider...

dusty blade
#

catch insects

#

silk?

somber heath
#

Yes.

lavish rover
somber heath
#

Then of course in the oceans we have sharks, Stonefish, Coneshells, Irukandji, Bluebottles....

woeful salmon
somber heath
#

Blue-ringed octopus.

wise cargoBOT
#

marker/utils/config.py line 37

###############################################################################```
somber heath
#

Funnelwebs, on land, again.

woeful salmon
#
undone idol
#

don't be athiest

somber heath
#

Oops.

undone idol
#

Woops.

woeful salmon
undone idol
#

👏

#

oops

#

mic brrr

#

I am from India too.

#

atithi devo

woeful salmon
undone idol
#

Which state are you from this

#

is kj using emacs or nvim?

woeful salmon
lavish rover
somber heath
#

What kind of bear is best?

lavish rover
#

pear

somber heath
#

Ah.

#

Black bears are very cute, though.

#

Like, the babies.

#

I mean, bears in general, really.

pale sigil
#

Reference to The Office show,haha

somber heath
#

As to pears, I have no particular preference for pears.

#

One vs another...I'm not that well-versed.

somber heath
#

One of the things I love about programmers...we can get angry over programming languages.

hushed elm
#

angery boys

#

he's so stubborn lol

#

brothers in snacks

lavish rover
mystic dock
#

!e

from trip import Trip
from date import Date
class TripSchedule:
    def __init__(self):
        self.tschedule = []

    def insert(self,new):
        for i in self.tschedule:
            if new.overlaps(i):
                print("Conflict Occurred")
                raise Exception("Overlapping dates")
        
        self.tschedule.append(new)

    def delete(self,item):
        self.tschedule.remove(item)

    def __len__(self):
        return len(self.tschedule)
    
    def __getitem__(self,i):
        return self.tschedule[i]

    def __iter__(self):
        return TripScheduleIterator(self.tschedule)

    def search(self,keyword):
        found = []
        if type(keyword) is int and keyword >=1 and keyword <= 12:
            for i in range(len(self.tschedule)):
                print( self.tschedule[i].__depdate)
                break
class TripScheduleIterator:
    def __init__(self,ts):
        self.schedule = ts.copy()
        
    def __next__(self):
        if self.schedule:
            return self.schedule.pop(0)
        raise StopIteration


t1 = Trip("Paris", Date(4, 1, 2022), 3)
t2 = Trip("New York", Date(4, 8, 2022), 5)
t3 = Trip("Dubai", Date(4, 29, 2022), 7)
t4 = Trip("Paris", Date(12, 3, 2021), 8)
t5 = Trip("Madrid", Date(4, 15, 2021), 6)
t6 = Trip("Damascus", Date(5, 20, 2022), 3)
t7 = Trip("Barcelona", Date(4, 6, 2022), 6)
t8 = Trip("Melbourne", Date(12, 18, 2022), 14)

S = TripSchedule()
S.insert(t1)
S.insert(t3)
S.insert(t2)
S.insert(t6)
S.insert(t4)
S.insert(t8)
S.insert(t5)

S.search(2)

somber heath
#

This seems familiar.

mystic dock
#

AttributeError: 'Trip' object has no attribute '_TripSchedule__depdate'

somber heath
#

These are all normal magic methods.

#

oh

#

that

#

Um....no, that's single.

#

Should be fine.

#

But...huh...

mystic dock
#

!e

from date import Date

class Trip:
    def __init__(self,destination,depdate,duration=1):
        self.__destination = destination
        self.__depdate = depdate
        self.__duration = duration

    def setDestination(self,new_destination):
        self.__destination = new_destination

    def setDeparture(self,new_departure):
        self.__depdate = new_departure

    def setDuration(self,new_duration):
        self.__duration = new_duration

    def destination(self):
        return self.__destination

    def departure(self):
        return self.__depdate

    def duration(self):
        return self.__duration

    def arrival(self):
        return self.__depdate + self.__duration

    def overlaps(self,other):
        if self.__depdate >= other.__depdate and self.__depdate <= other.arrival():
            return True
        elif other.__depdate >= self.__depdate and other.__depdate <= self.arrival():
            return True

        return False

    def containsweekend(self):
        temp = self.__depdate
        for i in range(self.__duration):
            if temp.day_of_week()== "Sunday" or temp.day_of_week()== "Saturday":
                return True
            temp = temp.nextday()
        return False

    def __str__(self):
        return "Destination: {}\nDuration: {} days\nDeparture: {}\nArrival: {}".format(self.__destination,self.__duration,
                                                                                  "{}, {}".format(self.__depdate.day_of_week(),self.__depdate),
                                                                                  "{}, {}".format(self.arrival().day_of_week(),self.arrival()))
    def __repr__(self):
        return "Trip({},{},{})".format(self.__Destination,self.__depdate,self.__duration)
    

somber heath
#

Ah, right right.

#

Okay.

#

Okay. SO.

#

Example incoming.

#

!e ```py
class MyClass:
def init(self):
self.a = 1
self._b = 2
self.__c = 3

def my_method(self):
    return self.a, self._b, self.__c

mc = MyClass()
print(mc.my_method()) #Here, we see that when refered to from inside the MyClass class, these attributes are accesible. They're referred to within a method within the class.
print(mc.a) #Okay.
print(mc._b) #So far so good
print(mc.__c) #Exception raised. You can't refer to a double underscored attribute by that name from outside of the class.```

wise cargoBOT
#

@somber heath :x: Your eval job has completed with return code 1.

001 | (1, 2, 3)
002 | 1
003 | 2
004 | Traceback (most recent call last):
005 |   File "<string>", line 14, in <module>
006 | AttributeError: 'MyClass' object has no attribute '__c'
somber heath
#

This is something called namespace scrambling.

#

and the magic methods don't behave like this because they have an accompanying double underscore after them

#

But you probably shouldn't be writing magic method named methods that aren't magic methods.

#

If you ever got the idea to write a __am_steve__ method or something.

#

You could, and that wouldn't get scrambled, but you shouldn't do it.

#

Very welcome.

#

Howdy, Object.

#

I remain.

#

Oh, I don't know. I give the same answer reasonably frequently.

#

Nothing of consequence.

#

Though Tesla may disagree.

#

Actions we take ripple outward into eternity, affecting everything in ways both perceptible and imperceptible.

dusty blade
#

@somber heath how long have you been a programmer?

somber heath
#

I've been coding in Python for about 5 years.

dusty blade
#

what projects?

somber heath
#

Art.

#

Fractals.

#

Procedural generation.

#

Cellular automata.

#

Have you ever heard of Conway's Game of Life?

dusty blade
#

Cellular automata. - biology?

somber heath
#

No.

dusty blade
#

no

somber heath
#

A cellular automaton (pl. cellular automata, abbrev. CA) is a discrete model of computation studied in automata theory. Cellular automata are also called cellular spaces, tessellation automata, homogeneous structures, cellular structures, tessellation structures, and iterative arrays. Cellular automata have found application in various areas, in...

#

That's how I started.

#

At least with Python.

dusty blade
#

hard sciense

somber heath
#

Well, it is deterministic.

#

So...yes?

dusty blade
#

even the description sounds complicated

somber heath
#

!voice @rotund gate

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
#

Whose?

#
def mandel(c, iterations = 255, tolerance = 2):
    z = 0
    for i in range(iterations):
        z = (z ** 2) + c
        if abs(z) <= tolerance:
            break
    return i```https://en.wikipedia.org/wiki/Mandelbrot_set
#

You'll have to write it down.

forest zodiac
#

0 knowledge proof

somber heath
#

Well, I think humanity has proven that one.

#

Don't you agree?

dusty blade
#

I can write to any chat to get verified

rotund gate
#

hey

somber heath
#

Not any, but most of the normal ones, yes.

#

Here, Python General, the off topics.

#

Not sure about the help channels.

#

Not bot-commands.

dusty blade
#

If you write here, does it count?

somber heath
#

The voice gate system was implemented in response to people who would come into voice chat, scream, blow into the microphone and otherwise make regrettable examples of humanity of themselves. People who do that sort of thing don't tend to be bred from particularly patient stock, so it is very effective. I don't like the voice gate in that it presents a barrier to legitimate newcomer participation, but is a negative that cancels out a far greater negative, so, on balance, I'm glad to have it.

#

Yes.

dusty blade
#

You can give rights to verified users, allow newcomers to speak

somber heath
#

That idea has been floated before.

dusty blade
#

A verified user is a guarantor

somber heath
#

I think not everyone would care to have to verify themselves to Discord.

#

So this does make for a more even playing field.

#

It's a speedbump. Not a brick wall.

#

People can engage with the community via text.

#

Voice access is treated as a privilege.

dusty blade
#

I find it easier to talk

somber heath
#

Many people do.

dusty blade
#

Where are you currently working?

somber heath
#

I don't discuss that. 🙂

dusty blade
#

Ok

#

thanks for the chat, see you

somber heath
#

I'll be on, later.

#

Ta-ta.

dusty blade
#

I like this approach

ripe salmon
#

yes!

#

mushroom -🍄

quasi condor
frozen anvil
#

Social Mobility is dependent on GDP growth.

#

India also has good natural resources except oil.

rugged root
#

I'm so very very very very very tired

#

We've got storms in, I feel like I'm stumbling through a haze

frozen anvil
#

Yup leasing land

#

when you look at countries like India. The government has purchased land from farmers and villages for highway development projects.

somber heath
#

VC1, not 0.

rugged root
#

With due compensation, yeah

terse needle
stuck sky
#

Hey wassup

#

I need resources to learn AWS

#

N Kubernates

rugged root
lavish rover
#

@rugged root

#

❤️

somber heath
#

"Redback, funnel web, blue-ringed octopus..."

#

...You say that now.

#

But then, when you least expect it...

#

Murder turkeys.

#

Cassowary.

#

We have wild fowl.

#

Not exactly turkeys.

#

I mean, with camping...depending on where, snakes would be a thing to be mindful of, mosquitos for sure, spiders yes.

lavish rover
#

shit shit shit shit

#

not that hard

somber heath
#

Like at the moment, there's a mosquito-carried encephalitis virus that's potentially lethal that's around. Plus floods.

#

Yeah.

#

In addition to the whole c19 stuff which people are treating like it's over.

lavish rover
#

guess not THAT helpful

somber heath
#

"Post pandemic" and all that.

#

🦋 🦋 🦋 🚙

#

"Are you one of us?"

#

THUNK!

terse needle
#
        let buff: Vec<u8> = (0..self.height)
            .map(|y| {
                let offset = y * self.width;
                self.data[offset..offset + self.width].to_vec()
            })
            .rev()
            .flatten()
            .map(|pixel_array| pixel_array * 255.)
            .enumerate()
            .flat_map(|pixel| {
                if pixel.0 % self.width == self.width - 1 {
                    let mut result = vec![pixel.1.b() as u8, pixel.1.g() as u8, pixel.1.r() as u8];
                    for _ in 0..(self.width % 4) {
                        result.push(0);
                    }

                    result
                } else {
                    vec![pixel.1.b() as u8, pixel.1.g() as u8, pixel.1.r() as u8]
                }
            })
            .collect();
lavish rover
terse needle
#

REMASTERED IN HD!
Official video for Smashing Pumpkins song "Bullet With Butterfly Wings" from the album Mellon Collie and the Infinite Sadness. Buy It Here: http://smarturl.it/39liqb
Like Smashing Pumpkins on Facebook: http://www.facebook.com/smashingpumpkins
Follow Smashing Pumpkins on Twitter: http://twitter.com/#!/smashingpumpkin
Official ...

▶ Play video
rugged tundra
lavish rover
plain rose
#

or part snake

normal goblet
lavish rover
#

it needs the backstory of hemlock's butterfly eating van

plain rose
#

it legit hurts when people say you're a joke, and you're b-day is on april first.

#
  • sun tzu art of war
lavish rover
#

What do you call a motorcycle gang made up of ancient bisexual norse monarchs? The Bikings

somber heath
lavish rover
plain rose
#

count me the hell in

somber heath
#

Were it only so.

lavish rover
#

unrelated: you also die 4x sooner

somber heath
#

Oh my friends and oh my foes...

plain rose
#

well, if you take everything to the extremes, everything kills you, oxygen, water, love(especially that one). They prolong your suffering and make your suffering worse over time. (life being suffering)

#

You just tag #SPONSORED, #AD, #CELEBIRTY, #INFLUENCER in one of your instagram posts and you get a wikipedia page

#

for all i know, you all might just be disembodied voices and I'm the only real person in this chat. Is there any real way to prove you exist?

faint ermine
#

no

plain rose
#

the world might just be hollow, take a chair leg for instance. It looks and sounds like there is real matter, but what if things only, exist(whatever defines exist) when you view it

#

@faint ermine, more like how superposition doesn't work

#

because it doesn't, you can't really determine, determine super position without actually viewing it

#

The entirety of quantum physics is annoying

#

110 101 118 101 114 32 103 111 110 110 97 32 103 105 118 101 32 121 111 117 32 117 112

#

sebastiaan has a very interesting bio

#

i have a proposal(don't actually do this): if you were to create an environment around an infant where their parents, siblings, teachers all speak binary, will they learn binary too?

lavish rover
#

I don't see why not

plain rose
lavish rover
#

binary is just as arbitrary as english, in some sense

#
>>> x = "110 101 118 101 114 32 103 111 110 110 97 32 103 105 118 101 32 121 111 117 32 117 112"
>>> "".join(chr(int(y)) for y in x.split())
'never gonna give you up'
#

goddamn it

faint ermine
#

lol

lavish rover
#

occam's razor

plain rose
rugged root
#

I've got a stack of folders I have to scan that's around 17cm (6.75 inches) tall.

#

Wheeeeeee

lavish rover
rugged root
#

That is absolute gold

#

I love it

#

Wait

#

Razor sword or laser sword

faint ermine
#

Newton's Flaming Laser Sword

lavish rover
#

Newton's lightsaber

rugged root
#

Also technically, they should be called "losers" instead of "lasers", since it's cause by oscillation rather than amplification

faint ermine
#

The word LASER is a acronym for "Light Amplification by Stimulated Emission of Radiation" though the well know property of "lasers" that they barely spread and go in a straight line is actually based on the frequency of oscillation. Therefore, "lasers" should actually be called LOSER for "Light Oscillation by Stimulated Emission of Radiation". In this essay I will...

rugged root
faint ermine
plain rose
#

utc superiority

faint ermine
#

everyone using iso 8601 with offset would already be enough for me

plain rose
#

you Uncann'ot do this

lethal thunder
plain rose
#

i only watch tik toks reuploaded on yt shorts

lethal thunder
plain rose
#

you simply Uncann'ot hate youtube

#

unflammable

#

Anyone have a tim hortons near them?

#

jokes on you hemlock

faint ermine
#

rotationsmaschinenmechanikerprüfungsformularunterschriftszeile

primal yacht
#

nonflammable

lethal thunder
plain rose
lethal thunder
wind raptor
plain rose
#

i love the lemonade, even during winter, never gets old

lethal thunder
#

i knwo dont question im weird

plain rose
wind raptor
terse needle
#

just this?

plain rose
plain rose
bronze jolt
#

GIVE ME VOICE CHAT PERMISSION

plain rose
plain rose
wise cargoBOT
#

Voice verification

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

lethal thunder
plain rose
#

honey dip is the best

#

this cheese is considered a delicacy in parts of the world, cheese with live maggots

#

sour cream is not that bad

terse needle
#

extra protein

rugged tundra
#

bredbowl

plain rose
#

italy

rugged tundra
#

bredbull

plain rose
rugged tundra
#

red bull in a bread bowl

plain rose
#

ooh, a tongue twister

rugged tundra
plain rose
#

the downtown here is so small, it consists of a timhortons, shoppers drug mart, corner store, library and a fire station

primal yacht
#

The Tetris Company, Inc. (TTC) is based in Nevada and is owned by Henk Rogers, Alexey Pajitnov and Blue Planet Software. The company is the exclusive licensee of Tetris Holding LLC, the company that owns Tetris rights worldwide. It licenses the Tetris brand to third parties.

sour imp
rugged tundra
primal yacht
#

x[1:2]

faint ermine
#
n1 = 0
for i, n in enumerate(num1list):
    n1 += n * (10**i)
primal yacht
#
class Solution:
    def addStrings(self, num1: str, num2: str) -> str:
        if len(num1) < len(num2):
            num1 = num1.rjust(len(num2)).replace(' ', '0')
        elif len(num1) > len(num2):
            num2 = num2.rjust(len(num1)).replace(' ', '0')
        chars = '0123456789'
        result = []
        carry = 0
        for i in range(-1, -len(num1) - 1, -1):
            carry, value = divmod(
                carry + chars.index(num1[i]) + chars.index(num2[i]),
                10
            )
            result.append(chars[value])
        while carry:
            carry, value = divmod(carry, 10)
            result.append(chars[value])
        for i in range(-1, 0, -1):
            if result[i] == '0':
                result.pop()
        return ''.join(result[::-1])
faint ermine
#
class Solution:
    def addStrings(self, num1: str, num2: str) -> str:
        n1 = 0
        for i, n in enumerate(reversed(num1)):
            n1 += (ord(n) - 48) * (10**i)
        n2 = 0
        for i, n in enumerate(reversed(num2)):
            n2 += (ord(n) - 48) * (10**i)
        return str(n1 + n2)
rugged tundra
primal yacht
#
n1 = 0
for n in num1:
    n1 *= 10
    n1 += ord(n) - 48
rugged tundra
faint ermine
#
class Solution:
    def addStrings(self, num1: str, num2: str) -> str:
        n1 = 0
        for n in num1:
            n1 *= 10
            n1 += ord(n) - 48
        n2 = 0
        for n in num2:
            n2 *= 10
            n2 += ord(n) - 48
        return str(n1 + n2)
rugged tundra
#

Given the root of a binary tree, check whether it is a mirror of itself

primal yacht
#

sys.maxsize

#
(2 ** 63) - 1
faint ermine
#

!e
import sys
print(sys.float_info)

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

sys.float_info(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2, rounds=1)
primal yacht
#

!e ```py
import sys
class Foo:
def init(self, /) -> None: self.x = True
def len(self, /) -> int:
self.x = not self.x
return sys.maxsize + self.x
x = Foo()
print(len(x))
print(len(x))

wise cargoBOT
#

@primal yacht :x: Your eval job has completed with return code 1.

001 | 9223372036854775807
002 | Traceback (most recent call last):
003 |   File "<string>", line 9, in <module>
004 | OverflowError: cannot fit 'int' into an index-sized integer
faint ermine
#

!e ```py
i = 2**65
print(i.bit_length())

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

66
faint ermine
#

!e print(True.bit_length())

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

1
primal yacht
#

!e print(0 + True)

wise cargoBOT
#

@primal yacht :white_check_mark: Your eval job has completed with return code 0.

1
faint ermine
#

!e ```py
import sys
print(sys.maxsize + 1)

wise cargoBOT
#

@faint ermine :white_check_mark: Your eval job has completed with return code 0.

9223372036854775808
primal yacht
#

@broken harbor

broken harbor
#
 class Ui:
        def __init__(self):
            print(test)
        def draw_cross(self):
            print('drawing cross')
            
        def draw_current_block(self):
            print('drawing current block')
            
    class Player:
        def __init__(self, pskin, px=30, py=100):
            self.test = 'hi'
            self.map = Map()
            self.ui = Ui()
            self.lastpos = (None, None)
            self.x = px
            self.y = py
            self.skin = pskin
            self.state = None
            self.direction = None
primal yacht
#
game (Game)
 \ metadata (???)
 \ worlds (World+)
    \ chunks (Chunk+)
       \ blocks (Block+)
          \ entities (Entity+)
broken harbor
#
class Ui:
        def do_something_with_number(self):
            #trying to use Test parent to do it
            
class Test:
        def __init__(self):
            self.ui = Ui()
            self.number = 10
        

t = Test()
t.ui.do_something_with_number()
#
class Ui:
        def do_something_with_number(self, number):
            #trying to use Test parent to do it
            
class Test:
        def __init__(self):
            self.ui = Ui()
            self.number = 10
        

t = Test()
t.ui.do_something_with_number(t.number)
primal yacht
#
class Game:
    def tick(self, /) -> None:
        for world in self._worlds:
            world.tick(self)
    # ...
class World:
    def tick(self, game: Game, /) -> None:
        ... # do stuff and tick others
    # ...
# ...
#

!e ```py
class MyDict:
def init(self, itr = None, /, **pairs) -> None:
# sample only
print(f'{self = }\n{itr = }\n{pairs = }\n')

MyDict()
MyDict( ('spam', 1) )
MyDict(spam=1)
print('--\n')
MyDict(spam=1, itr=2)

wise cargoBOT
#

@primal yacht :white_check_mark: Your eval job has completed with return code 0.

001 | self = <__main__.MyDict object at 0x7f344afd2a70>
002 | itr = None
003 | pairs = {}
004 | 
005 | self = <__main__.MyDict object at 0x7f344afd2a70>
006 | itr = ('spam', 1)
007 | pairs = {}
008 | 
009 | self = <__main__.MyDict object at 0x7f344afd2a70>
010 | itr = None
011 | pairs = {'spam': 1}
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/anodevoyuf.txt?noredirect

primal yacht
#

!e ```py
class MyDict:
def init(self, itr = None, **pairs) -> None:
# sample only
print(f'{self = }\n{itr = }\n{pairs = }\n')

MyDict(self='')

wise cargoBOT
#

@primal yacht :white_check_mark: Your eval job has completed with return code 0.

001 | self = <__main__.MyDict object at 0x7f03befc7c10>
002 | itr = None
003 | pairs = {'spam': 1, 'itr': 2}
primal yacht
#

!e ```py
class MyDict:
def init(self, itr = None, **pairs) -> None:
# sample only
print(f'{self = }\n{itr = }\n{pairs = }\n')

MyDict(self='')

wise cargoBOT
#

@primal yacht :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 6, in <module>
003 | TypeError: MyDict.__init__() got multiple values for argument 'self'
primal yacht
#

/ *

lapis sparrow
#

So I have a large 2d list called baseLine. Each entry in it is a sentence. Within the sentence each word has some numbers associated with it called tags. So when I do print(baseLine[0]). It gives

#

And if I do print(baseLine[0][0]). It gives

#

I want this data to be put in a pandas data frame like this.

#

Where a4 is the word in focus and the tags related to that are shown at the end in seperate columns. The word in focus (a4) keeps shifting until it cycles though the entire sentence.

lavish rover
#

!e

a = ['this', 'is', 'a', 'sentence', 'with', 'words']
b = a[1:] + a[-1:]
print(a)
print(b)
wise cargoBOT
#

@lavish rover :white_check_mark: Your eval job has completed with return code 0.

001 | ['this', 'is', 'a', 'sentence', 'with', 'words']
002 | ['is', 'a', 'sentence', 'with', 'words', 'words']
lavish rover
#
for i in range(len(d)):
    around = d[max(i-3,0):i+4]
    left = max(0, 3-i)
    right = 7 - left - len(around)
    a_cols = [""] * left + [list(sub.keys())[0] for sub in around] + [""] * right
    row = a_cols + list(d[i].values())[0]
    print(row)
#
d = [{'The': [20, 62, 57, 47]}, {'cafateria': [51, 62, 0, 31, 61, 36]}, {'remains': [29]}, {'closed': [14]}, {'today': [20, 62, 61, 47]}, {'!': [29]}]

import csv

# create cvs file
with open('data.csv', 'w') as csvfile:
    csv = csv.writer(csvfile, delimiter=',')
    csv.writerow(['a0', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7'])
    for i in range(len(d)):
        around = d[max(i-3,0):i+4]
        left = max(0, 3-i)
        right = 7 - left - len(around)
        a_cols = [""] * left + [list(sub.keys())[0] for sub in around] + [""] * right
        csv.writerow(a_cols)
#

mypy

lavish rover
#

@orchid gyro

vernal bridge
turbid girder
#

hi

lavish rover
rustic harness
#

Hey guys I got no perms yet to speak I’m just here to watch the stream

#

Ooh brotha I wanna learn it all

lapis sparrow
#
_,_,Zabiję,cię,",",jeśli,umrzesz,51,62,0,31,61,36
_,Zabiję,cię,",",jeśli,umrzesz,!,29
Zabiję,cię,",",jeśli,umrzesz,!,"""",14
cię,",",jeśli,umrzesz,!,"""",_,20,62,61,47
",",jeśli,umrzesz,!,"""",_,_,29
jeśli,umrzesz,!,"""",_,_,_,29
_,_,_,Cieszy,fakt,",",że,20,62,66,23
_,_,Cieszy,fakt,",",że,Royal,64,62,38,33
_,Cieszy,fakt,",",że,Royal,Canin,29```
rustic harness
#

I’m so green rn

lavish rover
#
maxlen = 0
for sentence in data:
    for subd in sentence:
        values = list(subd.values())[0]
        if len(values) > maxlen:
            maxlen = len(values)

a_cols + values + [0] * (maxlen - len(values))
storm cobalt
#

can I join

lapis sparrow
#
with open('train.csv', 'w', encoding="utf-8", newline='') as csvfile:
    csv = csv.writer(csvfile, delimiter=',')
    for sentence in baseLine:
        for word in range(len(sentence)):
            around = sentence[max(word-3,0):word+4]
            left = max(0, 3-word)
            right = 7-left-len(around)
            a_cols = ["_"] * left + [list(sub.keys())[0] for sub in around] + ["_"] * right
            maxlen = 0
            for j in word:
                for subd in j:
                    values = list(subd.values())[0]
                    if len(values) > maxlen:
                        maxlen = len(values)
            row = a_cols + list(sentence[word].values())[0] + ["_"] * (maxlen-len(values))
            csv.writerow(row)```
lavish rover
#
maxlen = 0
for sentence in baseLine:
    for subd in sentence:
        values = list(subd.values())[0]
        if len(values) > maxlen:
            maxlen = len(values)
lapis sparrow
#

maxlen = 0
for sentence in baseLine:
    for subd in sentence:
        values = list(subd.values())[0]
        if len(values) > maxlen:
            maxlen = len(values)

with open('train.csv', 'w', encoding="utf-8", newline='') as csvfile:
    csv = csv.writer(csvfile, delimiter=',')
    for sentence in baseLine:
        for word in range(len(sentence)):
            around = sentence[max(word-3,0):word+4]
            left = max(0, 3-word)
            right = 7-left-len(around)
            a_cols = ["_"] * left + [list(sub.keys())[0] for sub in around] + ["_"] * right
            row = a_cols + list(sentence[word].values())[0] + ["_"] * (maxlen-len(values))
            csv.writerow(row)```
#
_,_,Zabiję,cię,",",jeśli,umrzesz,51,62,0,31,61,36,_,_,_
_,Zabiję,cię,",",jeśli,umrzesz,!,29,_,_,_
Zabiję,cię,",",jeśli,umrzesz,!,"""",14,_,_,_
cię,",",jeśli,umrzesz,!,"""",_,20,62,61,47,_,_,_
",",jeśli,umrzesz,!,"""",_,_,29,_,_,_
jeśli,umrzesz,!,"""",_,_,_,29,_,_,_
_,_,_,Cieszy,fakt,",",że,20,62,66,23,_,_,_
_,_,Cieszy,fakt,",",że,Royal,64,62,38,33,_,_,_```
lavish rover
#
values = list(sentence[word].values())[0]
row = a_cols + values  + ["_"] * (maxlen-len(values))
csv.writerow(row)
elder knot
#

hey

somber heath
#

@thick ivy !voice

#

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

thick ivy
#

!voice

somber heath
#

As for GUI frameworks, Python has a few. There's the standard library's tkinter, so you don't need to download anything extra for that, in an ideal world.

#

There are a number of other, third party ones. Pyqt, Kivy...Beeware, I think.

#

@thick ivyWhat sort of thing are you looking to make?

#

The world is a woodpile.

#

It's Summer.

#

The wind is blowing.

#

It's burning.

#

That's how I am.

#

People are always talking about Tic-Tac-Toe. Nobody ever talks about Tic-Tac-Finger.

lavish rover
somber heath
lavish rover
#

@elder knot here

elder knot
#

right on

#

chilling

#

what is the number one take home message for someone using javascript and trying to use python?

#

sorry, let me reiterate my message.

#

I write in different languages.

#

yes!

#

okay.

#

I have been tasked with GIS data.

#

I hear Python can deal with it.

#

no worries, if you can't give advice

#

GIS is Geographic Information System

#

or something like that

#

layers of data

#

I hear that Python can help parse the data.

#

I use multiple layers of C++ etc.

#

ArcGIS

#

etc.

#

I dunno, I just had a mentor that said "Learn Python"

#

Why learn Python?

pallid hazel
#

there is a lib for matching arcgis with python.. saw it on github.. may use it myself

elder knot
#

Thank you.

lavish rover
sour imp
dusty blade
#

Hi everyone

shut hill
#

yes

#

@sour imp

#

Hello, good.

#

How about you?

#

Thats good to here.

#

What switch you got rn?

#

ooo

#

use mechvibes and download it and have a feel of how it sounds

#

u can add custom sounds to if u want to too

#

This

#

it goes to ur earbuds or headphgones

#

so basically u choose a keyboard and it sunds exactly like that

#

if u want to put another sound u can too

#

yea

#

lol.

#

its pretty lit but i dont use it

#

XD

#

ya

#

probably

#

mac os can

#

too

#

i think

#

you can add custom keyboard

#

like ur own sounds too

#

u can make

#

its prettyy lit

#

put it at max volume

#

and type

#

see hjow it sounds.

#

like shuv ur headphones inside ur ears

#

and yk typing test do that

#

😂

#

yea some are different cause some keyboards are different to what they actually sound to but majority of it is the same

#

i think theirs is lubed or soemthing lioke that

#

idk

#

lol

#

i haev the falchion keyboard

#

its got red switches

#

idk

#

lol.

#

im not too into keyboards

#

do u know how to check?

#

like mines is mx cherry reds

#

but idk if thats caps?

#

oh ok

#

oh....

#

i think default

#

ill check

#

how is that?

#

what do u got?

#

like which u got?

#

And how is the one i got?

#

is that bad?

#

Or is it just prefrence?

#

hmmm okay...

#

What keyboard you got?

lyric pawn
#

@lavish rover can you help dude?

lavish rover
#

please don't ping me for help if I'm not in the VC. It's like 4am where I am.

#

the notification woke me up.

lyric pawn
somber heath
#

!voice @prisma silo

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
#

You may also be approached by a moderator at some point and asked to change your name to something a bit easier to refer to via a keyboard.

#

Corey Schafer

dusty blade
#

Hi everyone!

#

What do you recommend for knowledge of oop

somber heath
#

There's a name, above.

#

Search them on YouTube.

#

They have a playlist for Python Beginners.

#

It'll walk you through all the basics.

#

YouTube has many good tutorials.

#

YouTube has many bad tutorials.

dusty blade
#

please check your DMs.

somber heath
#

I keep them off.

lyric pawn
#

@somber heath lol

pallid socket
ripe salmon
#

ok

somber heath
#

Doesn't matter.

#

Plenty of people have been saddled with debt from fraud when they're not even a year old.

#

Advocating.

frozen anvil
#

use a ceasar cipher

#

simple

#

for passwords

#

i lost my previous discord account

#

😦

#

Common sense is the best anti virus and most anti virus is bloatware.

somber heath
#

Or actual literal spyware.

frozen anvil
#

McAfee

#

that software for sure is spyware

woeful salmon
#

!voice @wet ocean

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
#

I wouldn't want to be using Kaspersky.

frozen anvil
#

there are a few open source av

#

i have a protonmail account for the vpn

#

protonvpn

#

good free vpn

#

rey hat hacker

#

*grey

#

ethical by day and black hat by night

#

hashing is irreversible

#

you will always need a key

somber heath
#

No mention of cryptions a-m, o-z.

frozen anvil
#

everyone does not a quantum computer lying around

somber heath
#

Reversing hashes? With an infinite processing power, you could come up with an infinite number of things that matches a hash.

#

You wouldn't be able to readily determine which of those was the original document.

frozen anvil
#

Many companies dont even hash thier stored passwords

#

confession here lol

#

i heard there is a password dictionary in kali linux

#

it has a list of commonly used password

somber heath
#

Common weak passwords? Yeah.

frozen anvil
#

that what a hacker would say 😏

#

it is a snake

#

reptile

#

to be precise

#

anyone seen monty python's flying circus

#

??

somber heath
#

Oh yes.

frozen anvil
#

no i guess he is trying to automate it

somber heath
#

It's been a while.

frozen anvil
#

yandex mail is russian

#

he is telling the truth tho

#

i built tokmac nuclear fusion reactor from python

somber heath
#

Silicon Valley. Amazing from what I've seen of it.

frozen anvil
#

it is a nice show

#

i liked that jared loses it scene

#

how hard will it be being building an api

#

*be

somber heath
#

Erlern Mersk.

somber heath
frozen anvil
#

don't be evil

#

oh wait they removed it

somber heath
#

I mean, organising your endpoints and all that is fine, but the coding is as difficult and as easy as any other sort of protocol programming.

tulip osprey
#

what you guys think about C# Java And Python in backend department

frozen anvil
#

i am not voice verified

#

😦

#

what are wx widgets

#

??

tulip osprey
#

anyway the community are pumping up

#

staytune bois

#

get all the programming channel out

frozen anvil
#

oh ok

#

atb

tulip osprey
#

hi welcome back

#

u need a mini pc ^^

#

java will alway be java

lavish rover
trail mural
#

There is no such thing as a best solution, be it a tool, a language, or an operating system. There can only be systems that are more appropriate in a particular set of circumstances.You shouldn’t be wedded to any particular technology, but have a broad enough background and experience base to allow you to choose good solutions in particular situations.

#

Hi Chris
Hi Noodle
Hi Mustafa
Hi HRL077
Hi omy

plain rose
#

heya

trail mural
#

Hello World!

plain rose
#

i wanna type out the most unnecessary print statement ever

trail mural
#

no one man should have all that power

rustic harness
#

Still working on it 😂😢

#

What u guys up to?

tulip osprey
#

it backkk

#

im waiting for the voice verification to boot up again ..

#

wut ??

#

something wrong

#

my god

#

the salt just went to my eyes instanly

rugged root
#

?

frozen anvil
#

i am a vegeterian lol

lavish rover
#

Bees are insects, actually

swift valley
#

hi

sweet lodge
#

👋

wind raptor
#

@rugged tundra

frozen anvil
#

every time i visit the server i am amazed of the conversation that goes here

#

it is good

sweet lodge
#

A bit of both?

frozen anvil
#

lol

rugged root
#

@tulip osprey You're coming in really quiet

frozen anvil
#

moly is a reference to moses

#

it was an latin phrase like holy moses

#

*a

lavish rover
#

Holy Moses, I didn't know that

tulip osprey
#

@rugged root joke really over my head so itesting now

frozen anvil
#

lol

tulip osprey
#

holly cow is bad

sweet lodge
#

A very specific sentence

frozen anvil
#

lol

swift valley
#

"Sentence"

lavish rover
frozen anvil
#

golden calf ??

plain rose
#

I stayed up 30 minutes thinking about this, planned the entire scenario out in my head, just need someone to say a very specific sentence, the probability is low but my hopes are high.

#

and me, me too i'm high

#

jk

sweet lodge
#

There's lots of Gods

frozen anvil
#

some questions are never meant to answered

sweet lodge
#

Creepy face guy on the History Channel said so