#voice-chat-text-0

1 messages ยท Page 806 of 1

violet slate
#

hm

pulsar island
gentle flint
#

cya saturday night or sunday

cobalt fractal
#

oh hey, that's my company ๐Ÿ˜„

rugged root
#

Wait is that really?

vivid palm
#

LOL

cobalt fractal
#

hah yea, I work for Assa Abloy

rugged root
#

HA

#

That's awesome

cobalt fractal
#

(well a child company)

violet slate
#

alright imma go finish my course chow!

faint ermine
#

oh neat, what do you do @cobalt fractal ?

whole bear
#

ayt gl

faint ermine
#

and can you confirm the existence of a gouvernment only abloy lock that normal people cant buy?

cobalt fractal
rugged root
#

Just determined to prove him wrong aren't you

cobalt fractal
faint ermine
#

i am filled with doubt hemlock

rugged root
#

You're not alone

#

But I wonder if it's really worth digging for

faint ermine
#

eh, there was a very obvious chance, literally someone who works for the company

rugged root
#

You know what, that's a fair point

cobalt fractal
#

There's the Abloy exec class of locks, which locksmiths can't buy blanks / cutting machines for

rugged root
#

Huh

#

That's kind of crazy

rugged root
#

l33t was talking about how he has a military grade lock that you need a license to get or something

#

Hence the powerful doubt

cobalt fractal
#

(This is public domain so don't mind sharing)

rugged root
#

Sure sure

#

Is pretty cool

faint ermine
#

and of course theres someone on youtube whos picked the exec series locks

cobalt fractal
#

hah yea obviously

rugged root
#

@whole bear What're you working on?

cobalt fractal
#

"Virtually pickproof" LULW

faint ermine
#

well its only virtual, not real

#

lol

cobalt fractal
#

It's all about delay, rather that full resistance

#

since a fully resistant lock would just mean they attack the door/wall

#

or find a window

somber heath
#

"If you drink and drive, you're a bloody idiot."

graceful grail
vivid palm
#

wow you really squashed the rice?

graceful grail
#

yep...

#

so it is easier to eat with a fork

vivid palm
#

poor rice

#

rice deserves spoons

graceful grail
#

lol

azure oasis
graceful grail
#

thanks

whole bear
runic forum
#

๐Ÿ˜‹

rugged root
#

Scanning crap tons of documents. Yay tax season

whole bear
#

oh, good luck ๐Ÿ˜…

rugged root
#

Bah it's fine

#

Just tedious

whole bear
rugged root
#

Yeah, it just straight up has a monetary type

paper tendon
faint ermine
paper tendon
#

Are you evil

#

Damn check

cerulean moth
#

Oh so you are marko, I was wondering who this guy is today

#

(GitHub)

paper tendon
cerulean moth
#

Am not in the vc..

paper tendon
#

I know man

#

Yeah I followed you this was very interesting project. ๐Ÿ™‚

cerulean moth
#

Ok cool, you can contribute if you would like to ๐Ÿ™ƒ

#

Ty

paper tendon
cerulean moth
#

I am working on the v3 part, v3 in sense, make in compatible with piston api v3, then it would be easier to contribute

#

Since I would be doing lot of refactoring and making it clean

mighty grove
paper tendon
mighty grove
#

Yeah bro it's stupid

runic forum
#

i doubt it aint

eternal granite
#

ohhh shitt

#

its not

cerulean moth
paper tendon
#

Will check it later.

cerulean moth
#

But I would recommend to wait for a week or so, till i get the v3 part done

eternal granite
rugged root
#

Well played, Spy

cerulean moth
#

Lol

paper tendon
#

Ricky I am gonna catch you

#

FOMOSS ๐Ÿ˜„

mighty grove
#

I DID IT

#

I RICKROLLED HEMLOCK

rugged root
#

You and Joe both

mighty grove
#

I can finnaly mark that off my bucket list

rugged root
#

I now know to never trust links from either of you

ocean panther
#

sounds like ptsd

mighty grove
#

Heheh

#

I have a goal to do it to each of the admins

ocean panther
#

mics not working wait

#

ye @rugged root got it

honest pier
#

๐Ÿค”

ocean panther
#

the women died of laughter?

#

did i get the story correct?

eternal granite
#

how to hide messages

paper tendon
vivid palm
#

[MV] SUNMI(์„ ๋ฏธ) _ pporappippam(๋ณด๋ผ๋น› ๋ฐค)

K-POP Wonderland, 1theK

K-POP์˜ ๋ชจ๋“  ์ฆ๊ฑฐ์›€์„ 1theK(์›๋”์ผ€์ด)์—์„œ ๋งŒ๋‚˜๋ณด์„ธ์š”! :)
Welcome to the official YouTube channel of K-POP Wonderland, 1theK

"1theK Originals" Subscribe ๐Ÿ‘‰ https://www.youtube.com/1theKOriginals

[Notice] 1theK YouTube is also an official channel for the MV, and music shows will count the views from t...

โ–ถ Play video
honest pier
#

Red Velvet's "'The ReVe Festival' Finale" is out!
Listen and download on your favorite platform: https://smarturl.it/RV_Finale

[Tracklist]
01 Psycho
02 In & Out
03 Remember Forever
04 ๋ˆˆ ๋งž์ถ”๊ณ , ์† ๋งž๋Œ€๊ณ  (Eyes Locked, Hands Locked)
05 Ladies Night
06 Jumpin'
07 Love Is The Way
08 ์นดํ’€ (Carpool)
09 ์ŒํŒŒ์ŒํŒŒ (Umpah Umpah)
10 LP
11 ์•ˆ๋…•, ์—ฌ๋ฆ„ (Parade)
12 ์นœ๊ตฌ๊ฐ€ ์•„๋ƒ (B...

โ–ถ Play video
paper tendon
#

Rust in Peace ๐Ÿ™‚

severe pulsar
#

@ I Only Know Batch (furry) how long have you been in this vc for lmao

humble geyser
severe pulsar
#

wait why

rugged root
#

!e

spam = (
"Ham"
"Bacon"
"Pork"
)
print(spam)
wise cargoBOT
#

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

HamBaconPork
uncut meteor
#

Thats Mean

severe pulsar
#

@honest pier (sorry for ping, let me know if you dont like it)
yesterday we were talking about mutability and immutability, and you said we dont have a choice in the matter. However, there are multiple situations where we in fact do have a choice sometimes:
Here is an example:

We can add to a list mutably:

fruits = ["apples", "bananas"]
fruits.append("strawberries")

However, you could also do it immutably:

fruits = ["apples", "bananas"]
fruits = fruits + ["strawberries"]

Other cases involve mutably and immutably updating dictionaries

honest pier
#

what do you mean immutably in the second one?

severe pulsar
#

immutably means you arent mutating the original variable(changing some field in it)

#

you are in fact re-assigning it

honest pier
#

both of those modify the variable

severe pulsar
#

mutating isnt exactly modifying

#

immutably re-assigns

#

it doesnt do anything in place

honest pier
#

for lists, it is

severe pulsar
#
fruits = ["apples", "bananas"]
fruits = fruits + ["strawberries"]
#

this doesnt modify in place

#

its like doing ```python
string = string.upper()

#

its not in place

#

like list.append is

honest pier
#

sure

#

i don't remember what we were talking about though

#

that's because strings are immutable

severe pulsar
#

yup

#

i just asked whether people preferred immutable changes vs mutable ones in programming in general

#

but yeah cool :)

honest pier
#

ยฏ_(ใƒ„)_/ยฏ

#

mutable is cooler

#

functional programming ๐Ÿ‘Ž

severe pulsar
#

i use a mix of OOP and functional programming

#

:)

honest pier
#

the "functional" language

severe pulsar
#

""

faint ermine
uncut meteor
#

is that Minecraft?

severe pulsar
runic forum
#

rtx update

uncut meteor
#

RTX On

severe pulsar
#

;-;

severe pulsar
#

i dont know dude all your jokes are fire ๐Ÿ”ฅ

#

you gotta teach me

uncut meteor
severe pulsar
#

thanks

uncut meteor
#

Modesty = being modest

severe pulsar
#

nice!

#

thats really deep though

#

gotta think real hard about this

honest pier
#

being modest = modesty

uncut meteor
#

PSVM == Monad == Monadest == Monadesty

severe pulsar
#

whats a monad

#

๐Ÿ‘€

uncut meteor
#

oh boy

#

here we go

severe pulsar
#

imma search it up

#

dont wanna bother helpers

uncut meteor
#

so a Monad is a classification of steam train

#

thats why its called a Monad rail

severe pulsar
#

time to wikipedia

runic forum
#

sounds like a persons name

rugged root
#

I think it was also a satellite...

runic forum
#

aiight

vivid palm
severe pulsar
#

bye griff!

uncut meteor
#

?

#

you going?

severe pulsar
#

nah you deafened lmao

uncut meteor
severe pulsar
#

imma paste this somewhere to see the embed

#

aah its limmy's show

#

ill watch

uncut meteor
#

what else would it be?

#

||rickroll||

runic forum
#

rickroll

severe pulsar
#

yep

#

dude the rickroll song is so good

#

i dont even get mad when i get rickrolled

severe pulsar
#

but you let me down

runic forum
#

sarcasm?

severe pulsar
#

;-;

uncut meteor
#

how?

severe pulsar
#

sure the rickroll gets annoying at times

#

but the song is ๐Ÿ‘Œ

runic forum
#

yep

severe pulsar
#

hypothesis: deafened hemlock leads to conversation death

#

Procedure: Make hemlock deafen and record conversation

#

Evaluation: hypothesis is true

paper tendon
#

this is so low quality audio

#

little puny omar ๐Ÿ™‚

runic forum
#

aah, look hows talking

#

little marko has a good choice of words

#

how cute UwU

whole bear
#

@rugged root hi ia m back i was a late beacuse someone wanted that i bring him linux system

paper tendon
#

I didnt start howling yet ๐Ÿ˜„

runic forum
#

xD

severe pulsar
fair citrus
severe pulsar
#
 import discord
 intents = discord.Intents(guilds=True)
 # If you also want reaction events enable the following:
 # intents.reactions = True

 # Somewhere else:
 # client = discord.Client(intents=intents)
 # or
 # from discord.ext import commands
 # bot = commands.Bot(command_prefix='!', intents=intents)

#

@fair citrus

runic forum
paper tendon
whole bear
#

what does the thos git hub bot do?

outer pulsar
#

ahhh

fair citrus
#

intents = discord.Intents(guilds=True)

severe pulsar
#
 import discord
 intents = discord.Intents.default()
 intents.members = True

 # Somewhere else:
 client = discord.Client(intents=intents)
 # or
 # from discord.ext import commands
 # bot = commands.Bot(command_prefix='!', intents=intents)

@fair citrus

rugged root
#

No worries Zez

severe pulsar
#

client = discord.Client(intents=intents)

#

this is what you would do

#

with the guild intents

fair citrus
#

@severe pulsar @whole bear Thank you so much

severe pulsar
#

no problem

rugged root
#

Yeah I think I'm hopping off here for now, I'm starting to feel a bit sick to my stomach again

severe pulsar
#

bye! hope you feel better ๐Ÿ˜”

rugged root
#

I'm sure I'll be fine

#

Just annoying

severe pulsar
#

mmm hmm

runic forum
#

can i play copy righted music here?

#

if you dont mind?

cobalt fractal
#

This is a voice channel, not a music room, so we'd prefer you not to play any music at all.

runic forum
#

not even bg noises?

cobalt fractal
#

If it can be picked up by other users in the channel, and is distracting, then it's not allowed

runic forum
#

okk

whole bear
flat sentinel
#

what is the game that you were playing

whole bear
#

7 days to die

flat sentinel
#

oh

whole bear
#

floating?

cloud root
#

Hai

boreal grove
cloud root
#

Nice

#

Nice

boreal grove
cloud root
#

Idk

#

I seem tired

boreal grove
#

I'm too Idk

cloud root
#

I don't need sleep I need answers

#

For my homework

boreal grove
#

what's your homework

cloud root
#

Abt business

#

Entrepreneurs some economy thing and more i hop not

whole bear
#

new record for me because i have to fucking restart my fucking game because it fucking broke my auger

dawn crescent
#

hi

boreal grove
boreal grove
shy ravine
#

@noble copper ye?

candid venture
#

@paper tendon thanks for the follow <3

whole bear
#

hello

eternal granite
#

E

deft quail
#

ใ€‚

whole bear
#

E

whole bear
#

coifeeeee

#

!e
@print
@lambda :.doc
class _:"""Hello\x20World!"""

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Hello World!
whole bear
#

!e
_=lambda:[0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x2c, 0x20, 0x57, 0x6f, 0x72, 0x6c, 0x64, 0x21];__=lambda:"".join([chr(___) for ___ in _()]);print(__())

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Hello, World!
whole bear
#

!e

(lambda _, __, ___, ____, _____, ______, _______, ________:getattr(__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),().__class__.__eq__.__class__.__name__[:__] +().__iter__().__class__.__name__[_:][_____:________])(_, (lambda _, __, ___: _(_, __, ___))(lambda _, __, ___:bytes([___ % __]) + _(_, __, ___ // __) if ___ else(lambda: _).__code__.co_lnotab,_ << ________,(((_____ << ____) + _) << ((___ << _____) - ___)) + (((((___ << __)- _) << ___) + _) << ((_____ << ____) + (_ << _))) + (((_______ <<__) - _) << (((((_ << ___) + _)) << ___) + (_ << _))) + (((_______<< ___) + _) << ((_ << ______) + _)) + (((_______ << ____) - _) <<((_______ << ___))) + (((_ << ____) - _) << ((((___ << __) + _) <<__) - _)) - (_______ << ((((___ << __) - _) << __) + _)) + (_______<< (((((_ << ___) + _)) << __))) - ((((((_ << ___) + _)) << __) +_) << ((((___ << __) + _) << _))) + (((_______ << __) - _) <<(((((_ << ___) + _)) << _))) + (((___ << ___) + _) << ((_____ <<_))) + (_____ << ______) + (_ << ___))))(*(lambda _, __, ___: _(_, __, ___))((lambda _, __, ___:[__(___[(lambda: _).__code__.co_nlocals])] +_(_, __, ___[(lambda _: _).__code__.co_nlocals:]) if ___ else []),lambda _: _.__code__.co_argcount,(lambda _: _,lambda _, __: _,lambda _, __, ___: _,lambda _, __, ___, ____: _,lambda _, __, ___, ____, _____: _,lambda _, __, ___, ____, _____, ______: _,lambda _, __, ___, ____, _____, ______, _______: _,lambda _, __, ___, ____, _____, ______, _______, ________: _)))

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Hello world!
oak sorrel
sullen summit
whole bear
#

@oak sorrel can i give you a challenge?

#

@oak sorrel make a spinning rainbow donut in 10 min i am counting

whole bear
#

no i like mac

#

its more comptorble for me

#

sorry for spelling

#

yes

#

no

#

i have a samsung

#

ok soo what you mean?

#

what do i have to change on the code

manic lichen
#

screen.fill(Grey)

#

((Grey))

whole bear
#

wait

#

there is a comment that says that

#

ok it worked like this

manic lichen
#

Yay!

#

Syntax is wack

whole bear
#

@faint ermine digga du auch ???

#

ahaha hes german like me

#

@oak sorrel

#

@faint ermine bin auch deutscher

#

@faint ermine warum nich am schlafen digga ?

#

wow

#

wtf

#

this is a python chat

#

that was a pic me girl lol

#

did you just...?

#

nooo

#

NOO

#

Fatty

#

faty or bro

candid venture
#

i took my meds so i cant talk

#

what u guys talking about

whole bear
#

ok guys i think i am goiing offline its 1:27 am i should sleep my eyes are black like jonny sins beart bye guys

candid venture
#

cya

#

its 2:28 am for me

manic lichen
candid venture
whole bear
#

PYTHON CHAT

#

no i am offline bye

candid venture
#

lmao its looks so high res from 2007

timber moss
#

hello

scarlet tree
#

ok can you see this

#

ok can you help me when you get a chance im so stuck and iv tried everything and i can get my test to pass

#

yea sorry about that

#

YESSSS!!!!!!!!

#

fjnksaghasijdhkasjldhbnk

#

where to start

#

can we do a dm call so i can actaulyl talk and share my screen?

#

its a big bit of code

#

'Bank' object has no attribute 'sort'

#

its not a test

#

no not a test its a assignment but the teacher wont help and iv tired every resource

whole bear
#

ban

faint ermine
#

<@&267629731250176001> there was a crasher emoji or gif posted here, it crashed me and otehrs in VC

#

was deleted right after

sly jolt
#

found it

#

ty

faint ermine
#

nice

whole bear
#

ban

scarlet tree
#

but i have tried to code this in like 6 diffrent ways and it still wont pass now its saying ```py
E

ERROR: test_unit_test (main.UnitTests)

Traceback (most recent call last):
File "/root/sandbox5705b8ab/nt-test-5611a2d9.py", line 23, in test_unit_test
print(bank)
File "/root/sandbox5705b8ab/bank.py", line 40, in str
return self.sort(key=sortFunc)
AttributeError: 'Bank' object has no attribute 'sort'

eternal granite
scarlet tree
#

the code only uses self

#

here this si what im trying to do

#
The __str__ method of the Bank class (in bank.py) returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string in ascending order of name.

Implement the __str__ method of the bank class so that it sorts the account values before printing them to the console.
#
def __str__(self):
        """Returns the string representation of the bank."""
        # TODO: Sort the account values before printing to the screen
        return self.sort(key=sortFunc)
        result =  'Name:    ' + self._name + '\n' 
        result += 'PIN:     ' + self._pin + '\n' 
        result += 'Balance: ' + str(self._balance)
        return result
#

thats what im doing rn

#

File "bank.py", line 40
print self.sort(key=sortFunc)
^
SyntaxError: invalid syntax

#

.......

faint ermine
#

!d print

wise cargoBOT
#
print(*objects, sep=' ', end='\n', file=sys.stdout, flush=False)```
Print *objects* to the text stream *file*, separated by *sep* and followed by *end*. *sep*, *end*, *file* and *flush*, if present, must be given as keyword arguments.

All non-keyword arguments are converted to strings like [`str()`](stdtypes.html#str "str") does and written to the stream, separated by *sep* and followed by *end*. Both *sep* and *end* must be strings; they can also be `None`, which means to use the default values. If no *objects* are given, [`print()`](#print "print") will just write *end*.

The *file* argument must be an object with a `write(string)` method; if it is not present or `None`, [`sys.stdout`](sys.html#sys.stdout "sys.stdout") will be used. Since printed arguments are converted to text strings, [`print()`](#print "print") cannot be used with binary mode file objects. For these, use `file.write(...)` instead.

Whether output is buffered is usually determined by *file*, but if the *flush* keyword argument is true, the stream is forcibly flushed.... [read more](https://docs.python.org/3/library/functions.html#print)
faint ermine
#
print(something)
near niche
#

print("Hello world!")

whole bear
#
print(10+10)
#

this prints what the equation 10+10 would be

#

!e

print(10+10)
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

20
scarlet tree
#

print(self)?

whole bear
#

see?

#

print(self) would print eveything in self

scarlet tree
#

File "bank.py", line 142
print(self)
^
IndentationError: unindent does not match any outer indentation level

whole bear
#

oh

#

yes

scarlet tree
#

Traceback (most recent call last):
File "bank.py", line 140, in <module>
main()
File "bank.py", line 132, in main
testAccount()
File "bank.py", line 116, in testAccount
print(account)
TypeError: str returned non-string (type NoneType)

whole bear
#

you have to have very good spacing in python because its on of those languages

scarlet tree
#

here

wise cargoBOT
#

Hey @scarlet tree!

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

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

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

https://paste.pythondiscord.com

whole bear
#

!code

wise cargoBOT
#

Here's how to format Python code on Discord:

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

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

scarlet tree
#

print self does nothing

#

of what calss?

#

Traceback (most recent call last):
File "bank.py", line 137, in <module>
main()
File "bank.py", line 129, in main
testAccount()
File "bank.py", line 113, in testAccount
print(account)
TypeError: str returned non-string (type NoneType)

#
Traceback (most recent call last):
  File "bank.py", line 11, in <module>
    print(bank)
NameError: name 'bank' is not defined
whole bear
#

print(F"self")

#

print(F"bank")

scarlet tree
#

bank
Traceback (most recent call last):
File "bank.py", line 139, in <module>
main()
File "bank.py", line 131, in main
testAccount()
File "bank.py", line 115, in testAccount
print(account)
TypeError: str returned non-string (type NoneType)

#
def createBank(numAccounts = 1):
    """Returns a new bank with the given number of 
    accounts."""
    names = ("Brandon", "Molly", "Elena", "Mark", "Tricia",
             "Ken", "Jill", "Jack")
    bank = Bank()
    upperPin = numAccounts + 1000
    for pinNumber in range(1000, upperPin):
        name = random.choice(names)
        balance = float(random.randint(100, 1000))
        bank.add(SavingsAccount(name, str(pinNumber), balance))
    return bank
#

im starting to really hate this dam class

#

this teacher sucks ass

#

its not hard to make a viedo explaining it insted of being like here is a book gl

#


The __str__ method of the Bank class (in bank.py) returns a string containing the accounts in random order. Design and implement a change that causes the accounts to be placed in the string in ascending order of name.

Implement the __str__ method of the bank class so that it sorts the account values before printing them to the console.

In order to sort the account values you will need to define the __eq__ and __lt__ methods in the SavingsAccount class (in savingsaccount.py).

The __eq__ method should return True if the account names are equal during a comparison, False otherwise.

The __it__ method should return True if the name of one account is less than the name of another, False otherwise.
faint ermine
#

!e ```py
class A():
def str(self):
return 1

a = A()
print(a)

wise cargoBOT
#

@faint ermine :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 7, in <module>
003 | TypeError: __str__ returned non-string (type int)
rocky kiln
#

oof

faint ermine
#

(talking in voice, this is a example)

rocky kiln
#

fair

scarlet tree
#

honestly

#

no clue

#

its like a object or a placeholder for something

#

iv been working on this for 3 hours btw sao far today

#

kinda annoyed and at my brakeing point with this

near niche
#

class Candy():

scarlet tree
#

yea im just ready to figure this out asap i still have stuff to do before work

#

ik how a class work and whta not i just dont get waht i need to do in order to have them sort before it prints

#

there is onyl one __str

#

Implement the str method of the bank class so that it sorts the account values before printing them to the console. i need to do this

#

and untill i do this wt will display the message

#

this is the only error i ahve becuase i need to do the ting it wants me to do

#

ERROR: test_unit_test (main.UnitTests)

Traceback (most recent call last):
File "/root/sandbox06eabd99/nt-test-aeb936ca.py", line 23, in test_unit_test
print(bank)
TypeError: str returned non-string (type NoneType)

#
bank
F
======================================================================
FAIL: test_unit_test (__main__.UnitTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/sandbox021564e2/nt-test-0cb3a5cf.py", line 55, in test_unit_test
    self.assertEqual(out, expected)
AssertionError: '<bank.Bank object at 0x7f91d54c5ad0>' != 'Name:    Name1\nPIN:     1000\nBalance: 1[376 chars]00.0'
- <bank.Bank object at 0x7f91d54c5ad0>
+ Name:    Name1
PIN:     1000
Balance: 100.0
Name:    Name2
PIN:     1001
Balance: 100.0
Name:    Name3
PIN:     1002
Balance: 100.0
Name:    Name4
PIN:     1003
Balance: 100.0
Name:    Name5
PIN:     1004
Balance: 100.0
Name:    Name6
PIN:     1005
Balance: 100.0
Name:    Name7
PIN:     1006
Balance: 100.0
Name:    Name8
PIN:     1007
Balance: 100.0
Name:    Name9
PIN:     1008
Balance: 100.0
#

yea

#

return str?

faint ermine
#

!e ```py
class A():
def str(self):
return str(1)

a = A()
print(a)

wise cargoBOT
#

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

1
scarlet tree
#

yea

#

def str(self):
"""Returns the string representation of the bank."""
# TODO: Sort the account values before printing to the screen
bank.sort(key=sortFunc)

    return str(Bank)
#

Traceback (most recent call last):
File "/root/sandbox67d649d0/nt-test-3b13441c.py", line 23, in test_unit_test
print(bank)
File "/root/sandbox67d649d0/bank.py", line 42, in str
bank.sort(key=sortFunc)
NameError: name 'bank' is not defined

#

ok so there is getName, getPin, and getBalance how tdo i make these sort before printing

#

ok so how do i get them to sort

#

only reason im asking is because im lost i have no clue waht to do nothing on the internet helps and my teacher is a idiot

#

iv spent 3 hours on this

#

i need help ]

whole bear
#

like he said he cant provide the anwser he can only lead you in the right direction

scarlet tree
#

btu idk how to do the sort is what im asking

whole bear
#

eerrrrr

scarlet tree
#

ok ill try one sec

whole bear
#

make a list and add data to list and sort list

#

clear enough?

scarlet tree
#

its this ```py
class SavingsAccount:
"""This class represents a savings account
with the owner's name, PIN, and balance."""

RATE = 0.02    # Single rate for all accounts

def __init__(self, name, pin, balance = 0.0):
    self.name = name
    self.pin = pin
    self.balance = balance

def __str__(self):
    """Returns the string rep."""
    result =  'Name:    ' + self.name + '\n' 
    result += 'PIN:     ' + self.pin + '\n' 
    result += 'Balance: ' + str(self.balance)
    return 


def getBalance(self):
    """Returns the current balance."""
    return self.balance

def getName(self):
    """Returns the current name."""
    return self.name

def getPin(self):
    """Returns the current pin."""
    return self.pin
#

ok

#

well that was there when i opened it so im fucked cool

#

nice to know i wasted 3 hours on a pointless goal

#

here this is the cod e i have to fix

wise cargoBOT
#

Hey @scarlet tree!

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

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

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

https://paste.pythondiscord.com

scarlet tree
#

nvm

whole bear
#

!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.pydis.com/

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

scarlet tree
#

there u go

#

there isent a restart option for the assignment

#

this is the secnd assigment that iv gave up on ๐Ÿ™‚ ima fail the class now

#

i dont know anymore im so lost

#

and noone seems to know what to do

#

so ima jsut give up wasted 500 on this clas

#

class

#

so dm me

#

rfbn hjlvdewiuhjvdsohiagESUDJGOIPDJHGDIOSBTGDOIWBFGDAOP[FSA]\

#

im lost thats the issue

#

i need this oputput

#

Test for createBank:
Name: Jack
PIN: 1001
Balance: 653.0
Name: Mark
PIN: 1000
Balance: 377.0
...
...
...
Name: Name7
PIN: 1006
Balance: 100.0

#
def __str__(self):
        """Return the string rep of the entire bank."""
        #get a sorted copy of the list 
        #using default SavingAccount comparison            
        pTemp =sorted(self._accounts) 
        return '\n'.join(map(str, pTemp)
```  ???
#

here ill show you what i have tired allready

#

def sortFunc(e)
return getName(e)

def str(self):
"""Returns the string representation of the bank."""
# TODO: Sort the account values before printing to the screen
accs = self.accounts
return accs.sort(sortFunc(key=sortFunc))

#

un do i redo an undo?

#

liek i hit ctrl z so many times

#

im going to scream

solar heron
somber heath
#

!e ```py
class MyClass:
def init(self, v):
self.v = v

alpha = [MyClass(2), MyClass(1)]

print(sorted(alpha, key=lambda obj: obj.v))```

wise cargoBOT
#

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

[<__main__.MyClass object at 0x7fb97a935490>, <__main__.MyClass object at 0x7fb97a935fd0>]
somber heath
#

@scarlet tree For your consideration.

#

The lambda being equivalent to

def func(obj):
    return obj.v```
faint ermine
#

@whole bear please dont DM people, ask your questions here

scarlet tree
#

i just going to go cry be back ina bit

strong arch
#

WebGPU is the working name for a future web standard and JavaScript API for accelerated graphics and compute, aiming to provide "modern 3D graphics and computation capabilities". It is developed by the W3C GPU for the Web Community Group with engineers from Apple, Mozilla, Microsoft, Google, and others.Unlike WebGL, WebGPU is not a direct port o...

scarlet tree
#

im geting to the point to where im going to give up on it all and just drop out

somber heath
#

I think that is likely not required.

#

You have come to the right place. ๐Ÿ™‚

#

We'll get you sorted.

sullen summit
#

Don't give up. It's these challenges that make you a better coder.

somber heath
#

@scarlet tree Are you willing to continue being assisted at this point in time? It sounds like you need a breather.

#

I would suggest one.

#

But I'm happy to go through things with you if you so choose.

sullen summit
#

Taking a break is essential from time to time. I think it's called the pomodoro technique... or something like that, work for 30, break 5, work 30 break 5, something along those lines

scarlet tree
#

ok so is this right for this part of waht it wants me to do?

#
def __eq__(self, other):
        """Returns True if names are equal or False otherwise."""
        #TODO: Implement the logic for account name comparisons
     return self.name == other.name 
       
    def __lt__(self, other):
        """Returns True if name of self is less than
        name of other, or False otherwise."""
        #TODO: Implement the logic for less than comparisons
        return not self != other self 
#

The eq method should return True if the account names are equal during a comparison, False otherwise.

The it method should return True if the name of one account is less than the name of another, False otherwise.

slim raft
#

@strong arch

#

my mic jsut cut out sorry

#

my headset i mean

#

gimmie a sec

scarlet tree
#

@faint ermine

whole bear
#

i can now beggin the drop down menus

scarlet tree
#

so use the names like above?

#

or is that still wrong

#

what compairsona m i looking for

#

oooo

#

-_- im dumb

#

<

#

so can you try to point me in the direction for the sorting thign i dident really understand it earlyer but im more cool mined right now

#

minded

#

but in my case i dont have a list

#

like this a = (1, 11, 2)
x = sorted(a)
print(x)

#

im not sure how i need to sort this

#

no i cant

whole bear
#

^^

eternal granite
#

I@M BACK

#

ohsht theres no one here

#

NVM

whole bear
#

js > python

eternal granite
arctic musk
#

!e print('hi'

wise cargoBOT
#

@arctic musk :x: Your eval job has completed with return code 1.

001 |   File "<string>", line 1
002 |     print('hi'
003 |               ^
004 | SyntaxError: unexpected EOF while parsing
arctic musk
#

OHHHH

#

!e print('hi')

wise cargoBOT
#

@arctic musk :white_check_mark: Your eval job has completed with return code 0.

hi
arctic musk
#

SHEEEEEEEEEEEEEEESH

eternal granite
#

wait a sec

#

can I show you something

wise cargoBOT
#

@arctic musk :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 3, in <module>
003 | ModuleNotFoundError: No module named 'selenium'
arctic musk
#

NOOOOOOOOOOOOOOOOO

whole bear
#

can i show you something

arctic musk
#

!e import random
print('I will flip a coin 1000 times. Guess how many times it will come up heads. (Press enter to begin)')
input()
flips = 0
heads = 0
while flips < 1000:
if random.randint(0, 1) == 1:
heads = heads + 1
flips = flips + 1

if flips == 900:
    print('900 flips and there have been ' + str(heads) + ' heads.')
if flips == 100:
    print('At 100 tosses, heads has come up ' + str(heads) + ' times so far.')
if flips == 500:
    print('Halfway done, and heads has come up ' + str(heads) + ' times')

print()
print('Out of 1000 coin tosses, heads came up ' + str(heads) + ' times!')
print('Were you close?')

wise cargoBOT
#

@arctic musk :x: Your eval job has completed with return code 1.

001 | I will flip a coin 1000 times. Guess how many times it will come up heads. (Press enter to begin)
002 | Traceback (most recent call last):
003 |   File "<string>", line 3, in <module>
004 | EOFError: EOF when reading a line
arctic musk
#

oh

whole bear
#

!e

(lambda _, __, ___, ____, _____, ______, _______, ________:getattr(__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),().__class__.__eq__.__class__.__name__[:__] +().__iter__().__class__.__name__[_:][_____:________])(_, (lambda _, __, ___: _(_, __, ___))(lambda _, __, ___:bytes([___ % __]) + _(_, __, ___ // __) if ___ else(lambda: _).__code__.co_lnotab,_ << ________,(((_____ << ____) + _) << ((___ << _____) - ___)) + (((((___ << __)- _) << ___) + _) << ((_____ << ____) + (_ << _))) + (((_______ <<__) - _) << (((((_ << ___) + _)) << ___) + (_ << _))) + (((_______<< ___) + _) << ((_ << ______) + _)) + (((_______ << ____) - _) <<((_______ << ___))) + (((_ << ____) - _) << ((((___ << __) + _) <<__) - _)) - (_______ << ((((___ << __) - _) << __) + _)) + (_______<< (((((_ << ___) + _)) << __))) - ((((((_ << ___) + _)) << __) +_) << ((((___ << __) + _) << _))) + (((_______ << __) - _) <<(((((_ << ___) + _)) << _))) + (((___ << ___) + _) << ((_____ <<_))) + (_____ << ______) + (_ << ___))))(*(lambda _, __, ___: _(_, __, ___))((lambda _, __, ___:[__(___[(lambda: _).__code__.co_nlocals])] +_(_, __, ___[(lambda _: _).__code__.co_nlocals:]) if ___ else []),lambda _: _.__code__.co_argcount,(lambda _: _,lambda _, __: _,lambda _, __, ___: _,lambda _, __, ___, ____: _,lambda _, __, ___, ____, _____: _,lambda _, __, ___, ____, _____, ______: _,lambda _, __, ___, ____, _____, ______, _______: _,lambda _, __, ___, ____, _____, ______, _______, ________: _)))

wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

Hello world!
eternal granite
#

!e
print(0xfor i in range(len(["lemons", "or whatever", "but this will print '15'", "no matter whats in this string"])))

wise cargoBOT
#

@eternal granite :white_check_mark: Your eval job has completed with return code 0.

15
eternal granite
#

or did you get that from ceo

whole bear
#

never

eternal granite
#

but i wanna learn pointless esoteric python

whole bear
eternal granite
paper tendon
#

In human genetics, the Mitochondrial Eve (also mt-Eve, mt-MRCA) is the matrilineal most recent common ancestor (MRCA) of all living humans. In other words, she is defined as the most recent woman from whom all living humans descend in an unbroken line purely through their mothers and through the mothers of those mothers, back until all lines con...

#

In human genetics, the Y-chromosomal most recent common ancestor (Y-MRCA, informally known as Y-chromosomal Adam) is the most recent common ancestor (MRCA) from whom all currently living males are descended patrilineally. The term Y-MRCA reflects the fact that the Y chromosomes of all currently living human males are directly derived from the Y ...

whole bear
#

the holy qr code

paper tendon
whole bear
violet slate
#

aye i can talk now in chat when i join

eternal granite
#

Congratulations!

violet slate
#

yay

eternal granite
#

bees

violet slate
#

^.^

eternal granite
humble geyser
#

The person's name is CEO?

#

Interesting

eternal granite
#

on this server they call themselves fatal something

#

like fatal error

humble geyser
#

Oh

#

Looks cool and complicated

whole bear
#

@whole bear have you been on this voice chat since yesterday!?!?!?

whole bear
#

go to sleep @whole bear

whole bear
eternal granite
whole bear
#

maybe

eternal granite
#

no seriously

#

sandisk are cool

whole bear
#

no

#

if i wanted to make line between these two points what would i do?

#

i dont have a poster

#

thats all for my macbook

#

for programming and school and stuff

#

best playlist

sick dew
whole bear
violet slate
#

good morning all

eternal granite
#

yo

whole bear
#

shit

#

sent the wrong thing

swift valley
#

Let's not

#

Thanks

whole bear
#

it was an accident

#

i shit you not

eternal granite
#

Hello moderator!

whole bear
#

i tried to send a normal gif and i though i scrolled down enough and i accidently pressed the wrong gif

#

please dont ban me

#

im not joking it was an accident

fiery juniper
#

lol

whole bear
#

@fiery hearth enable krisp

severe pulsar
#

hey rupesh, you writing another 10th grade math textbook?

severe pulsar
#

a wholesome gif to counter a blacklisted gif?

#

may be effective

#

๐Ÿ‘€

violet slate
#

id talk

#

but listening to lessons ๐Ÿ˜ฆ

whole bear
#

what the fuck

#

look at the name in the botom left

wise cargoBOT
#
Griff#9021

hypesquad_balance

User information

Created: 5 years, 5 months and 17 days ago
Profile: @uncut meteor
ID: 107226564030156800

Member information

Joined: 7 months, 30 days and 18 hours ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&585529568383860737>, <@&267630620367257601>

Infractions

Total: 2
Active: 0

whole bear
#

!user

wise cargoBOT
#

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

whole bear
#

@uncut meteor

#

how did you make that pfp?

uncut meteor
#

photoshop

#

made the original in 2013 on paint

#

i have become more refined throughout the years

fiery hearth
uncut meteor
#

i was making a Griff Avatar maker

#

let me open it

#

1 sec

whole bear
somber heath
#

Yoikles.

whole bear
#

wiggel

#

i have been on this server for 3 days and i still cant talk

#

@torpid galeers

#

@uncut meteor

terse needle
#

!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 when u said youre stuck i was confused

somber heath
whole bear
#

tf

somber heath
#

Wedged in a door, he was!

#

Just walking through.

#

Schurp! Damn door jumped him.

#

Most of his fingers were saved.

whole bear
#

bruh ur scarring me

#

tf

errant hare
#

hi

whole bear
#

jk

errant hare
#

whats your name

whole bear
#

BIG FLEX

#

@somber heath can you tell me how encoding works?

#

just talk i can hear

somber heath
#

Or 0 to FF

#

So we have 255 possible combinations with which to write a one byte

lone sigil
#

Hey, I wanted help with like a really basic program

#

Can anyone help?

somber heath
#

So what happens when we need to write a single character in a file that does not appear in that 0-255 range?

#

You use an encoding. A kind of language for extending the range using specific combinations of characters.

#

That is the basic idea behind what an encoding is. Making more out of less.

#

!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
lone sigil
#

Umm, it's a guessing game

#

I'm pretty new to python so

#

Should I write out the code here?

whole bear
#

@dense ibex what are you doing?

somber heath
#

@lone sigil Hm. Seems we've not synchronised with each other very well. Nevermind. What I often suggest to people learning Python is the YouTuber, Corey Schafer, who has an excellent Python tutorial playlist.

#

Also

#

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

ah can't speak in this

frigid panther
#

@zealous wave you wanna 1v1

zealous wave
frigid panther
#

alright, add me on steam

#

steam id on discord profile

zealous wave
#

sure one sec

#

sent

frigid panther
#

o.

#

o/

vivid palm
#

o/

frigid panther
#

sup

cobalt fractal
#

\o/

frigid panther
frigid panther
vivid palm
#

iceman have u ever traveled outside your area and seen snow?

molten pewter
frigid panther
#

yes, snow world

vivid palm
#

have u ever built a snow man

frigid panther
#

jk, nop

vivid palm
#

lol aw

frigid panther
#

I have never seen real snow

vivid palm
#

missing out

frigid panther
#

I hope I do one day

#

btw

#

did you listen to WJSN's new album @vivid palm

vivid palm
#

no lmao sry

honest pier
#

๐Ÿ˜”

vivid palm
#

ahahahaha

frigid panther
#

oh hai psvm

vivid palm
#

I am surprised I think I know what wjsn even stands for

vivid palm
#

barcode..

#

DM it to me pls I'll listen later

frigid panther
#

totally @uncut meteor ๐Ÿ‘€

vivid palm
#

yes lol

frigid panther
#

isn't hard to lookup griff

uncut meteor
cobalt fractal
#

League is a moba

#

multiplayer online battle arena

frigid panther
#

๐Ÿ‘€

#

griff, 21hours more for 1k on rocket league

molten pewter
frigid panther
#

I love my mouse, no ty

vivid palm
#

same

whole bear
#

what she said

honest pier
#

imagine using your mouse while programming

vivid palm
uncut meteor
#

mine is further

vivid palm
#

wat

uncut meteor
#

i miss halloween

#

:c

#

looking through my emojis make sad me does it yes

frigid panther
#

I need to get nitro again

uncut meteor
wise cargoBOT
#
Griff#9021

hypesquad_balance

User information

Created: 5 years, 5 months and 17 days ago
Profile: @uncut meteor
ID: 107226564030156800

Member information

Joined: 7 months, 30 days and 23 hours ago
Roles: <@&463658397560995840>, <@&764802720779337729>, <@&585529568383860737>, <@&267630620367257601>

Infractions

Total: 2
Active: 0

uncut meteor
#

^ animated G

vivid palm
#

stealing my emoji :(

#

no lol

uncut meteor
#

and?

vivid palm
#

i exposed him to it

frigid panther
#

any AOT fans here?

honest pier
#

!user

wise cargoBOT
#
bitter public static void main (โœช SavagePastaMan#6567)

hypesquad_balance

User information

Created: 4 years, 10 months and 22 days ago
Profile: @honest pier
ID: 182894631921516545

Member information

Joined: 8 months, 27 days and 1 hour ago
Roles: <@&542431903886606399>, <@&463658397560995840>, <@&764802720779337729>, <@&267630620367257601>, <@&799041111573266503>

Infractions

Total: 2
Active: 0

frigid panther
#

!user

wise cargoBOT
#
Iceman#6508

hypesquad_brilliance

User information

Created: 4 years, 3 months and 13 days ago
Profile: @frigid panther
ID: 263560579770220554

Member information

Joined: 3 years, 1 month and 6 days ago
Roles: <@&542431903886606399>, <@&518565788744024082>, <@&463658397560995840>, <@&764802720779337729>, <@&295488872404484098>, <@&267630620367257601>, <@&787816728474288181>

Infractions

Total: 0
Active: 0

frigid panther
#

o/ @faint ermine

uncut meteor
#

o7

frigid panther
#

\o/

vivid palm
#

to you is the "o" a face or a mouth?

honest pier
frigid panther
uncut meteor
#

oL

frigid panther
#

o\

vivid palm
#

to me it was a mouth..

frigid panther
#

o|

uncut meteor
#

|o|
O
| |

honest pier
#

๐Ÿค”

#

||o||

frigid panther
#

0-0

honest pier
#

o_O

frigid panther
#

.>

uncut meteor
#

YiK3 (โ•ฏยฐโ–กยฐ๏ผ‰โ•ฏ๏ธต โ”ปโ”โ”ป

terse needle
#

โ”ฌโ”€โ”ฌ ใƒŽ( ใ‚œ-ใ‚œใƒŽ)

frigid panther
terse needle
#

logo_vim is bloat

frigid panther
#

@uncut meteor

#

get bonked

#

when was the last time I played a single player game ๐Ÿค”

uncut meteor
#

Ive been bonked

frigid panther
#

indeed

#

o/ jake

cerulean moth
buoyant topaz
#

@faint ermine nice game i have also played this

#

story buildup is good

#

waiting for 2 part

whole bear
#

i miss the old days

#

nah just ran out

#

because gave it to me for 1 hour

winged fjord
#

@uncut meteor how do i get streaming privelages?

#

@whole bear hello

whole bear
#

hello

winged fjord
#

hkkrob to you as well

whole bear
#

its actually hrkkob

winged fjord
#

oh im sorry

#

did i cuss at you?

whole bear
#

yes

winged fjord
#

@honest pier how do i get streaming permisions

#

._. wat

honest pier
#

as of now, you can't

winged fjord
#

oh why?

honest pier
#

we don't want to give it to everyone

winged fjord
#

oh well im just developing tetris. ill go else where then

honest pier
#

if you're coding it should be ok, but i'm not a mod and there aren't any mods around ยฏ_(ใƒ„)_/ยฏ

winged fjord
#

yeah i noticed i pinged and none of them answered. ill ask later

honest pier
#

don't just randomly ping people though

winged fjord
#

so only ping when they are on?

honest pier
#

only ping if they are in the vc with you

whole bear
#

someone please help lol

humble geyser
#

Yeah

#

What do you need help with

jaunty falcon
#

@whole bear You also realize you're arguing right now. That's not helping your case.

#

"I have it at the top of my GIFs list so I can send it to my friends and cause trouble with them"

whole bear
#

them

#

not this server

jaunty falcon
#

I know but it's the idea of it. If you're willing to do something like that elsewhere and you've been in trouble here before that's not a good look.

#

@uncut meteor Have I ever gotten warned or anything on this server?

#

I don't remember.

whole bear
#

do !user

jaunty falcon
#

!user

wise cargoBOT
#

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

jaunty falcon
#

.

#

Ayy im clean

#

warns me for improper grammar

#

lmao

whole bear
jaunty falcon
#

@uncut meteor He's disrespecting you.

#

Give him another infraction.

#

Aww.

#

I know I was just kidding.

whole bear
jaunty falcon
#

Yea yea I get that.

#

What situation am I in :P

#

I dunno ยฏ_(ใƒ„)_/ยฏ

#

Ima get back to coding.

#

...

#

Ohh that's what you were getting at...

#

I got kinda confused.

#

Yea.

whole bear
#

coding is like a school test but you can fail multple times

jaunty falcon
#

It is but you said if you don't do it correctly you will hurt yourself

#

kinda confusing when talking about coding.

whole bear
#

e

jaunty falcon
#

Coding is also like riding a bike in the sense It's stupid to do when tired.

whole bear
#

no?

jaunty falcon
#

3,001 results from me.

whole bear
#

if you ride a bike when you are tired you are less likl to fall asleep because you have to balance and peddle

#

it keeps you awake

jaunty falcon
#

Yea and more likely to get hit by a minivan.

whole bear
#

yes

#

the loud engine

#

and you have to balace

#

and stay on the road and have road sense

jaunty falcon
#

If you're trying to get at the idea that it's smart to ride a bike while tired I don't even know.

whole bear
#

totaly

jaunty falcon
#

Lmao

#

@whole bear Get a blanket.

#

Gloves.

#

Lmao.

severe pulsar
#

ooh griffs in vc

#

should i join ๐Ÿค”

uncut meteor
#

come teach me something

jaunty falcon
#

Up to you,

#

Kinda funny chat rn from time to time.

severe pulsar
whole bear
#

is anyone else a furry?

jaunty falcon
#

Nope.

uncut meteor
severe pulsar
#

react + typescript

#

what about you?

jaunty falcon
#

What's the point of recording messages.

#

Is there a on message delete type thing?

severe pulsar
#

its vc time!

severe pulsar
#

yes

jaunty falcon
#

@whole bear You could just use something like that and only if a message gets deleted log it

#

If you can with that.

#

I could think of a lot of cool uses for that

#

Yea

#

@whole bear The only thing that makes that stupid is the fact that every time you would restart your computer you'd need to redownload the game.

whole bear
#

!charinfo

wise cargoBOT
#

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

jaunty falcon
#

Yea the same idea though

#

Still will take more time probably.

#

I wonder if there's any RAM sticks that can keep it powered for a while while it's offline.

#

Like while the rest of the computer is off the RAM still gets powered.

#

I'd doubt it would need much power at all

#

I'd think so but then SSD's would be faster.

whole bear
jaunty falcon
#

hmm

#

God now I want to screw around with discord.py to find a glitch in discord.

#

They only take like 5 minutes to create a tiny one.

#

Most time consuming part is creating the bot on discord dev portal

uncut meteor
jaunty falcon
#

This image

#

changes so much

#

enlarged

uncut meteor
severe pulsar
#

griff wants a "refresher"

#

of course, he already knows what it is

#

:)

#

;)

jaunty falcon
#

I've heard of it, don't know what it is.

severe pulsar
#

ohh Singletons are amazing

#

it allows you to ensure that you arent creating a new object and retrieve the old one every time for example if you have cached properties, or you have no need to create a new object

uncut meteor
#

!e

class Singleton:
    _instance = None

    def __new__(cls):
        if cls._instance is None:
            cls._instance = super(Singleton, cls).__new__(cls)
        return cls._instance

class Normal:
  ...


s1 = Singleton()
s2 = Singleton()
print(s1 is s2)

n1 = Normal()
n2 = Normal()
print(n1 is n2)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | True
002 | False
jaunty falcon
#

@whole bear Btw I tested the thing you said with a discord bot and a file path and it didn't work

whole bear
#

spotify:track:38yqKz2oVyauelwQVHvL2I

uncut meteor
#

!e

class Singleton:
    _instance = None

    def __new__(cls):
        print(cls)
        if cls._instance is None:
            cls._instance = super(Singleton, cls).__new__(cls)
        return cls._instance

class Normal:
  ...


s1 = Singleton()
s2 = Singleton()
print(s1 is s2)

n1 = Normal()
n2 = Normal()
print(n1 is n2)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | <class '__main__.Singleton'>
002 | <class '__main__.Singleton'>
003 | True
004 | False
whole bear
#

this is the best song

uncut meteor
#

!e

class ClassMethod:
    def hi():
        print('hi')

class InstanceMethod:
    def __init__(self, text):
        self.text = text

    def hi(self):
        print(self.text)

ClassMethod.hi()
InstanceMethod('hello').hi()
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | hi
002 | hello
uncut meteor
#

!e

class Singleton:
    _instances = []

    def __new__(cls):
        instance = super(Singleton, cls).__new__(cls)
        cls._instances.append(instance)
        return instance



s1 = Singleton()
s2 = Singleton()
print(s1 is s2)

print(Singleton._instances)
wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

001 | False
002 | [<__main__.Singleton object at 0x7fe70c94ae80>, <__main__.Singleton object at 0x7fe70c94ae50>]
severe pulsar
#

why would we use singletons rather than global variables?

whole bear
jaunty falcon
#

I just found a glitch to crash minecraft when opening the multiplayer menu

#

Just have a server list of 100000 lmao

#

I guess it just pings every single server

#

No I coded something.

#

Its a NBT file

#

Named Binary Tag

#

I think

#

With the server list it wasn't that easy.

whole bear
#
/give @p minecraft:spawn_egg 1 0 {EntityTag:{id:"Creeper",Fuse:0}}
jaunty falcon
#

Yea but once It's in a file it's not really readable

#

This is a part of one of the files.

#
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAkI0lEQVR42r16B1hTB9f/VZbsEVYSEjJIQhIIEPYMIXvvQcIQFGed1Dqq1lW3VlEraour7lq1rdpWWxfuRRUXoggKDgQBWWLt/U7K8/rv17e+//Z9v+/jOQ/PTbjce37n/M45v5NcRK/X/j0zGsBkCnnx0CFCsUihUhYUFPD5fIPBoNfqwMxGk8VgNGi0erXGpNMbTVqTWWe26M0mncmofWtGrarAZpGJcvRqhVmvUcsl8NKkU2vtJoVRIzeotWa91qTTaFRw0zx7Lly93/rd0BkcpjFqkb8LgC/ILhoyWKlWCEQ5Josx127VatVDhxZbLCabzWoxG5UKmVwm0es0JqNep1ULxXyFSqrWKtQauU6vAiR6g1ouE+l1KpVSOnRwvk4lB9eLC+xJ3Bib2aCxGpQm```
#

Not really readable.

#

Thats how it gets encoded

wise cargoBOT
#

@uncut meteor :white_check_mark: Your eval job has completed with return code 0.

b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00@\x00\x00\x00@\x08\x02\x00\x00\x00%\x0b\xe6\x89\x00\x00$#IDATx\xda\xbdz\x07XS\x07\xd7\xffU\x96\xec\x11V\x12\x122HB\x12\x08\x10\xf6\x0c!{\xefA\xc2\x10\x14g\x9d\xd4:\xaa\xd6U\xb7VQ+j\x8b\xab\xeeZ\xb5\xad\xdaV[\x17\xeeE\x15\x17\xa2\x08\n\x0e\x04\x01Yb\xed\xfdN\xca\xf3\xfa\xef\xd7\xb7\xbe\xff\xf6}\xbf\xef\xe39\x0f\xcfM\xb8\xdc{~\xe7\xfc\xce9\xbf\x93\\D\xaf\xd7\xfe=3\x1a\xc0d\ny\xf1\xd0!B\xb1H\xa1R\x16\x14\x14\xf0\xf9|\x83\xc1\xa0\xd7\xea\xc0\xccF\x93\xc5`4h\xb4z\xb5\xc6\xa4\xd3\x1bMZ\x93Yg\xb6\xe8\xcd&\x9d\xc9\xa8}kF\xad\xaa\xc0f\x91\x89r\xf4j\x85Y\xafQ\xcb%\xf0\xd2\xa4Sk\xed&\x85Q#7\xa8\xb5f\xbd\xd6\xa4\xd3hTp\xd3<{.\\\xbd\xdf\xfa\xdd\xd0\x19\x1c\xa61j\x91\xbf\x0b\x80/\xc8.\x1a2X\xa9V\x08D9&\x8b1\xd7n\xd5j\xd5C\x87\x16[,&\x9b\xcdj1\x1b\x95\n\x99\\&\xd1\xeb4&\xa3^\xa7U\x0b\xc5|\x85J\xaa\xd6*\xd4\x1a\xb9N\xaf\x02$z\x83Z.\x13\xe9u*\x95R:tp\xbeN%\x07\xd7\x8b\x0b\xecI\xdc\x18\x9b\xd9\xa0\xb1\x1a\x94&'
jaunty falcon
#

Wait

#

The part I sent might be an image.

whole bear
#

!e

from base64 import b64decode
print(b64decode("iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAIAAAAlC+aJAAAkI0lEQVR42r16B1hTB9f/VZbsEVYSEjJIQhIIEPYMIXvvQcIQFGed1Dqq1lW3VlEraour7lq1rdpWWxfuRRUXoggKDgQBWWLt/U7K8/rv17e+//Z9v+/jOQ/PTbjce37n/M45v5NcRK/X/j0zGsBkCnnx0CFCsUihUhYUFPD5fIPBoNfqwMxGk8VgNGi0erXGpNMbTVqTWWe26M0mncmofWtGrarAZpGJcvRqhVmvUcsl8NKkU2vtJoVRIzeotWa91qTTaFRw0zx7Lly93/rd0BkcpjFqkb8LgC/ILhoyWKlWCEQ5Josx127VatVDhxZbLCabzWoxG5UKmVwm0es0JqNep1ULxXyFSqrWKtQauU6vAiR6g1ouE+l1KpVSOnRwvk4lB9eLC+xJ3Bib2aCxGpQm"))
for i in range(10):
  print(i)
wise cargoBOT
#

@whole bear :white_check_mark: Your eval job has completed with return code 0.

001 | b'\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00@\x00\x00\x00@\x08\x02\x00\x00\x00%\x0b\xe6\x89\x00\x00$#IDATx\xda\xbdz\x07XS\x07\xd7\xffU\x96\xec\x11V\x12\x122HB\x12\x08\x10\xf6\x0c!{\xefA\xc2\x10\x14g\x9d\xd4:\xaa\xd6U\xb7VQ+j\x8b\xab\xeeZ\xb5\xad\xdaV[\x17\xeeE\x15\x17\xa2\x08\n\x0e\x04\x01Yb\xed\xfdN\xca\xf3\xfa\xef\xd7\xb7\xbe\xff\xf6}\xbf\xef\xe39\x0f\xcfM\xb8\xdc{~\xe7\xfc\xce9\xbf\x93\\D\xaf\xd7\xfe=3\x1a\xc0d\ny\xf1\xd0!B\xb1H\xa1R\x16\x14\x14\xf0\xf9|\x83\xc1\xa0\xd7\xea\xc0\xccF\x93\xc5`4h\xb4z\xb5\xc6\xa4\xd3\x1bMZ\x93Yg\xb6\xe8\xcd&\x9d\xc9\xa8}kF\xad\xaa\xc0f\x91\x89r\xf4j\x85Y\xafQ\xcb%\xf0\xd2\xa4Sk\xed&\x85Q#7\xa8\xb5f\xbd\xd6\xa4\xd3hTp\xd3<{.\\\xbd\xdf\xfa\xdd\xd0\x19\x1c\xa61j\x91\xbf\x0b\x80/\xc8.\x1a2X\xa9V\x08D9&\x8b1\xd7n\xd5j\xd5C\x87\x16[,&\x9b\xcdj1\x1b\x95\n\x99\\&\xd1\xeb4&\xa3^\xa7U\x0b\xc5|\x85J\xaa\xd6*\xd4\x1a\xb9N\xaf\x02$z\x83Z.\x13\xe9u*\x95R:tp\xbeN%\x07\xd7\x8b\x0b\xecI\xdc\x18\x9b\xd9\xa0\xb1\x1a\x94&'
002 | 0
003 | 1
004 | 2
005 | 3
006 | 
... (truncated - too long)

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

jaunty falcon
#

b'\x89PNG\r\n\x1a

#

It's inside of the NBT file lmao hold up

#

Ofc I picked that one section

#

Thats just a screenshot cause I cant paste it

whole bear
#

alr

jaunty falcon
#

It's not a image file it's the server.dat file

whole bear
jaunty falcon
#

in .minecraft/servers.dat

whole bear
jaunty falcon
#

Yea the NBT file has a PNG inside of it I guess aswell

#

It might be the icon for the server

#

Prob the server icon

#

Hold on lemme load it in a nbt editor

#

Yea that's the server icon

#

That's what we're seeing

#

That probably also explains why it crashes minecraft when you load it lmao

wise cargoBOT
#

@uncut meteor :warning: Your eval job has completed with return code 0.

[No output]
severe pulsar
#

the reactivex "paradigm" is amazing

jaunty falcon
#

Trying it with 148280 servers

#

Why not.

#

Yea

#

True.

#

O wow I guess it got patched later on

#

I tested it on 1.8 works kinda on 1.16

#

Uhh sure

whole bear
#

send me that plain file that in encoded in base

jaunty falcon
#

I don't have the original file anymore cause I just overwrote it but here is one with more servers ๐Ÿ˜›

#

It is stored in NBT

#

It is stored as an uncompressed NBT file. ... The file is located in the root of the directory specified in the launcher profile. By default, this would be

#

Ahh

#

So scrolling through the server list is what crashes it on 1.16

#

Then there's something wrong with my code lmao

#

I just changed a few things with it

#

wdym?

#

Its 147881

#

Also in my code I counted it.

#

My guy look at the lines in the file

#

Multiple servers are on 1 line./

severe pulsar
#

I can stream a game in this voice channel because today is a weekend day right?

whole bear
#

its just a black image

jaunty falcon
#

That file might be partially corrupted cause my game crashed while it was being written

whole bear
#

probs

jaunty falcon
#

Also alot of the servers in that list aren't going to have images cause you know, my computer cant download 147000 images in 10 seconds.

#

File would also be huge if that was the case.

whole bear
jaunty falcon
#

Lmao

#

wtf.

whole bear
#

i edit png

jaunty falcon
#

Ohh

#

I thought you found that in one of the images in the file

#

I was so confused.

stuck furnace
#

Hey everyone ๐Ÿ‘‹

sick dew
violet bluff
#

hi

jaunty falcon
#

Hello :)

#

Ima go get something to eat ill be back in a little.

sick dew
#

cya

severe pulsar
#

what do you do as part of your job @ Griff(if you're ok with sharing)

whole bear
#

images in batch

#

yay

stuck furnace
#

Does the font size have to be really small?

jaunty falcon
#

Back

whole bear
#

yes

stuck furnace
#

Just all the text in the console using images ๐Ÿ˜„

whole bear
#

because each pixel is a character

stuck furnace
#

Run a console in your console, where each pixel of the sub-console is a character of the other console.

whole bear
#

probly could

#

the thing is i cant just convert the colors and stuff in one cmd to an image

#

acualy yes i could

#

id just have to not use rgb colors

#

97x100

stuck furnace
#

So Griff, how's work? ๐Ÿ˜„

severe pulsar
#

i would also like to know

uncut meteor
whole bear
severe pulsar