#voice-chat-text-0
1 messages ยท Page 948 of 1
yea
i started it 30min ago and it is still 33% only
the make build
i am bored but
bye
14:14 @sturdy panther
GMT +3:30?
Nopes, it's GMT +5.30, Indian Standard Time, now it's 4.31pm
@proper cradle #โ๏ฝhow-to-get-help
ty dude
np ๐
anyone tried to work on the Titanic database?
!docs itertools
This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a form suitable for Python.
The module standardizes a core set of fast, memory efficient tools that are useful by themselves or in combination. Together, they form an โiterator algebraโ making it possible to construct specialized tools succinctly and efficiently in pure Python.
For instance, SML provides a tabulation tool: tabulate(f) which produces a sequence f(0), f(1), .... The same effect can be achieved in Python by combining map() and count() to form map(f, count()).
!pypi more-itertools
!pypi even-more-itertools
Lazy structures are fun
rich peeps
Rich is a Python library for rich text and beautiful formatting in the terminal. - GitHub - willmcgugan/rich: Rich is a Python library for rich text and beautiful formatting in the terminal.
6.6k stars likely says a lot
yeah i figured it's popular bc rich is popular but
it was super new when i first heard abt it
@terse needle banger soundtrack too
ikr
On the topic of virtualenvs, I'm looking forward to https://pdm.fming.dev/
!pep 582
It uses this ^, which is a lot like node_modules, in a sense
But adding content-addressable storage on top, you can share dependencies among a global cache
a venv is already alot like node_modules
and something like pipenv can even give you the pipfile which is alot like a package.json

But a lot of it can be simplified still
you can even use something like aactivator to auto activate venvs when you're in a project's directory
and auto deactivate it when you leave
Yeah, though poetry shell normally just solves that for me quite easily
xD but you have to type poetry shell
Once lol
Can you set Poetry to use PDM?
Very conflicting tools, so probably no
pip just feels awkward
It feels a bit too weak to be a package manager
I don't think it does dependency resolution on its own until recently
PDMM?
someone asked today about time complexity of using len() on a range object and i guessed its probably O(1) cuz they probably just subtract end - 1 from start and devide by step
and it turns out it actually is that simple
assert(step != 0);
if (step > 0 && lo < hi)
return 1UL + (hi - 1UL - lo) / step;
else if (step < 0 && lo > hi)
return 1UL + (lo - 1UL - hi) / (0UL - step);
else
return 0UL;
from cpython source ^
๐ i love the simpler parts of cpython source makes me feel lesser like an idiot and more like i could contribute one day
that looks cool
I'm learning C# now, cool
I like that
yeah, I think it's nice .
yello
@haughty pier https://pdm.fming.dev/
laundmower
If you think loft beds are reserved only for kidโs rooms or shared spaces, itโs time to reconsider. Itโs trueโmany kidsโ rooms do have a loft bed or a set of kid-friendly bunk beds built out in them, but loft beds run the gamut stylistically and are much more sophisticated these days. Think bohemian wooden platform beds, ultra modern hanging bed...
hello everyone!
When in a situation where you could say "It happens to the best of us." Consider appending "Or the worst of us, in your case."
Best used with close friends.
what ?
Here's an explanation of the XKCD
https://www.explainxkcd.com/wiki/index.php/2347:_Dependency
Explain xkcd is a wiki dedicated to explaining the webcomic xkcd. Go figure.
I read about someone disabling metal detectors by changing the name of their phone.
CVE-2021-45046.
And here's an explanation of CVE-2021-45046 (log4j)
https://security.googleblog.com/2021/12/understanding-impact-of-apache-log4j.html
Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with no-cost long-term support. Amazon runs Corretto internally on thousands of production services and Corretto is certified as compatible with the Java SE standard.
Yo whats up
ok I kinda hate linking to pinterest but this is the sort of inspiration I have for a recording space... https://www.pinterest.com/pin/288300813649863075/
Feb 26, 2020 - Todayโs tweens are beginning to discover a developing visual, as well as theyโre not curious about the โinfantโ things that most likely occupies their existing spaces. Your tween desires something that mirrors his/her private individuality, passions and also style, as well as ought to have a say in the decoration. If yโฆ
Oh damn, thats an impossible competition
@rugged root also this is amazon's openjdk
Toys for Tots. Thaaat's what Log4J keeps reminding me of. Except it kind of didn't, it just rattled around in my brain.
I wish i can import the toilet module on python
!pypi toilet
Thanks
Storage lube
Well, if you're sliding crates along each other.
hello!
your make a game? or server?
So guys, have a nice day
Thanks you too
hello! ๋ฐ๋ !
@sturdy panther heard anything about your interview?
Yo
"Where did your floodboards go?"
"They warped."
"Oh, so you took them out?"
"No, they warped. Y'know...voom."
"Voom?"
"Voom. Star trek. Pshew!"
Toes.
Perl == Butterfly
You dig them in a bit and move in a circular motion.

Yea. Got rejected. I mentioned something I shouldn't have in the interview. ๐ญ
I can make wigs on command in my room.
Something about not liking to do presentations. They were really big on "teamwork".
Big letter, in a masquee.
well, you can use it as learning what to mention next time etc
"Cheers, big ears."
It was 50:1 applications to places. So anything they can pick on is enough to bin it, probably.
Spell team with a capital T.
"I love working in a Team."
"This person seems to be a team player."
"I love working in a Team."
"Look! Frost!"
do bottle on linode now
I thought it would have been simple enough to learn, but they disagreed
Maybe
I just made a Digital Ocean account for a family thing
How many cloud provider accounts is too many?
Seven. (I don't really know.)
if they do django on aws you need to get the AWS cert and take lessons from Jacob Kaplan-Moss
so yeah, yuh did bad son
Challenge accepted
I have accounts with AWS, Azure, GCP, and DO
If I open a Linode one, I'll have five
Only two away from seven
Who's next?
Yeah, certifications are important
Or at least some kind of proof of education
I've been doing this for years, but I have nothing to show for it
"NFTs: Boy, do we ever have a bridge to sell you!"
NFT - No Functional Thought
At least Etherium was kind of self-aware with their naming.
nothing for timeshare
nft are a scheme, simply put.. built upon an idea... how many ideas pan out? .. here is a hint only 3 things ever pan out.. 1) associated with death 2) associated with extending life and 3) wasting your time, ie beer/drugs/nfts/social status/etc.
a simplier way to explain it.. nfts = entertainment
The concept of itself is good. It's just not in the right usecase right now
It's a gimmick right now
I propose we dump all the NFTs into the harbor.
anything that is not a physical asset is easily manipulated.. ie look at the stock market.. not to be confused with how actual objects are manipulated.. ie gold
Trying to figure out a Boston Tea Party joke from that
experience also counts but if you're in competition for a job and another Shenanigans applies and the only difference is the other Shenanigans has a relevant certification, the other Shenanigans will probably get the job (though I could see arguments against hiring people with certain bad certifications)
firesale
Well, it is one, already. But the more the merrier.
w3 schools certificate would be one of those arguably bad certs
define an acredited program thats universally accepted
@leaden comet why is wifi called wifi
Wireless Fidelity
The value is in the unlimited soup, salad and breadsticks
Some, perhaps as an overreaction to credentialism, go the other way and are dogmatically anti-credentialist - there is no universally accepted cert. Likewise, there are some people (admittedly not usually in a position to hire anyone) who like seeing even the worst reputed credentials...
hi
dang, you explained that to well... there goes my toilet paper degree analogy :/
i have the hidden wiki link
thanks, I think
still waiting
On?
not pure's message lol
Goooootcha
XD
the trick was simply recognizing the heterogeneous nature of people and (to a slightly lesser extent) hiring managers.
That's what she said
Fair
lord.
this is a very passionate topic lmao.
Kind of fun though
its interesting yes
llllโค Are you curious? โ watch everything you want - for free โ Your personal radar service โ Track and Trace TRAINS โ Track trains in three continents โ Watch trains in 8 countries โ Train radar โ track trains in the US, UK, France, Germany, India and many more countries
llllโค Are you curious? โ watch everything you want - for free โ Your personal radar service โ Track and Trace TRAINS โ Track trains in three continents โ Watch trains in 8 countries โ Train radar โ track trains in the US, UK, France, Germany, India and many more countries
One thing I will say about our VC, we keep it interesting and varied
llllโค Are you curious? โ watch everything you want - for free โ Your Amtrak train status โ Track and Trace TRAINS โ Track train in three continents โ Watch trains in 8 countries โ Train radar โ track trains in the US, UK, France, Germany, India and many more countries
agreed
Switzerland's famous Glacier Express in Winter Snow. Travelling from Zermatt to St Moritz by train on the Interrail Pass / Eurail Pass. Full details/itinerary here: https://www.bangorni.com/glacier-express-route-eurail-pass/
We travelled in early January following a stay in the town of Zermatt (next to the famous Matterhorn mountain) when the sm...
powerful electric locomotives
Istanbul (not Constantinople)
From the must-own collection of They Might Be Giants videos, "Direct From Brooklyn"
Buy it Here:
http://geni.us/2lqD
Stream They Might Be Giants on Spotify!
https://found.ee/TMBGSpotify
Get They Might Be Giants merch!
https://found.ee/TMBGMerch
See They Might Be Giants on tour!
https://found.ee/TMBGShows
@flat sentinel https://www.youtube.com/watch?v=rNUsOaB5V2c
Artist: Trevor Horn Orchestra
From: Mona Lisa Smile OST

nyc landfill expansion
same in india
i have 250 mbps on 10$ per month
but 60% of the country gets barely 10-20 mbps at 20$ per month
i paid 8 $ for my equipment but they give the money back if we stop using the ISP and return the equipment
just make your own
I don't have mitre clamps
sorry for interrupt, does anyone have idea of Fast Fourier Transformation?
I can't say that I've ever done anything with it
#algos-and-data-structs might have a better idea
Clear Poster Hanger Set With Cord. Clear Poster Hangers. Set of 2 x 61.5cm (24 Inch) plastic hangers for your poster. Supplied with white no stretch polyester framers cord. Designed for our Portrait (upright) posters. Slide one on the top, one on the bottom & hang on your wall. Keeps your poster ...
Clear Poster Hanger Set With Cord. Clear Poster Hangers. Set of 2 x 93cm (36 Inch) plastic hangers for your poster. Supplied with white no stretch polyester framers cord. Designed for our Landscape (horizontal) posters. Slide one on the top, one on the bottom & hang on your wall. Keeps your poste...
okay.Thanks man.
Hope it helps
Sealey
Multipurpose high-speed power tool with on/off and electronic variable speed controls. Stepless control between 8,000 and 35,000rpm. Spindle lock for fast tool changes. Supplied with a full range of tips, wheels, brushes, sanding discs/bands, dressing stone and chuck spanner. Suitable for carving...
That's 100% a sonic screwdriver
mitutoyo
Provided to YouTube by DistroKid
lllow the sun ยท the olllam
lllow the sun
โ the olllam
Released on: 2021-02-19
Auto-generated by YouTube.
Provided to YouTube by Sub Pop Records
Such Great Heights (Remastered) ยท The Postal Service
Give Up (Deluxe 10th Anniversary Edition)
โ 2013 Sub Pop Records
Released on: 2013-04-09
Mixer: The Postal Service
Producer: The Postal Service
Composer: Benjamin Gibbard
Composer: Jimmy Tamborello
Music Publisher: Where I'm Calling From (BMI) admin...
the olllam ag casadh Three signs of a Bad Man ar #FleadhTV
New Blackmill T-shirts out now! US: http://blackmill-us.spreadshirt.com/ EU: http://blackmill-eu.spreadshirt.net/
Download link: http://itunes.apple.com/gb/album/miracle/id491271894
Link to Picture: http://www.mediafire.com/?na7vivowt4uzj16
Artist: Blackmill
Title: Miracle
Genre: Melodic Dubstep
Software: FL Studio 9
This track will feature ...
One of the most beautiful pieces of music ever created.
Get a vinyl:
http://www.chemical-records.co.uk/sc/servlet/Info?Track=AFTR12001D2
or a digital copy:
Juno:
http://www.junodownload.com/products/afterglow/1631815-02/
Beatport:
https://www.beatport.com/en-US/html/content/release/detail/284179/Afterglow
Trackitdown:
http://www.tra...
Provided to YouTube by CDBaby
Hobbs Bay ยท Fernwood
Sangita
โ 2009 Fernwood
Released on: 2009-01-01
Auto-generated by YouTube.
My rabbits have digged a hole in the garden and the cat wants to check it out.
Konijntjes in de tuin hebben een gat gegraven en daar wil de kat wel even in zitten. Maar dat pikken de konijntjes niet!
a wild rabbit in my yard Peter has made friends with my cat Oscar
Kitty (mugsy) and bunny (furious george) duke it out.
Molly Tuttle playing at Dave Stewart Entertainment on November 5, 2014.
Song: White Freightliner Blues. Written by Townes Van Zandt.
Video: Paul Boyd
@bleak cedar Please don't try to ping @everyone or @here. Your message has been removed. If you believe this was a mistake, please let staff know!
hello
Merry Christmas Everyone ๐ ๐ฅณ ๐ฅณ
merry christmas
@ripe lantern hello
@boreal parrotHowdy howdy.
hey hey
I remain extant.
Nice
Yali.
Hi @uneven yarrow
Incorrect.
Hm.
@timid ploverDistressed? Regrettable.
#career-advice Exists.
@split bobcat๐
So what are you doing @somber heath?
Making horrible things.
Like what?
Things with lots of tentacles.
Mystic
Enjoying Christmas ๐ guys?
Mine's over.
Yeah what about you?
Yah it's good
Got anything nice?
But mine was very ordinary.
Aha
I don't mean to say that it was bad, it was just much like any other day.
I got it.
We got icecream.
Well why i didn't thought about ๐จ this time
Just bought a nice adidas tees
hello
let &%#@ = "mathematical"
@somber heath wow you sound like retro News reporter.
data from small test i ran on howmuch arrays overallocate
by %
anything bigger than this sits around at like 12.6% over allocation
numpy arrays are good for matrix computation ๐
GSOC is kinda tough its like 9.5% gets selected out of the total.
use spotify web with an ad blocker extension you wont need to have a subscription
i never thought in this
like pied piper in silicon valley? @woeful salmon
@sturdy panther As a user, you will have a unique identity on Web 3.0 that will enable you to access and control all your assets, data, and services without logging in on a platform or seeking permission from a particular service provider.
thats what I mean having an unique identity
yeah no DDOS I guess
I meant they can be prevented like 70% in 3.0 compared to 2.0
Obligatory: https://xkcd.com/2044/
Nice
you can buy Da Vinci's artworks like in a flash.
better to have encrypted drive
connected to cloud
disaster recovery
forgery
yeah
detection
you can use AWS glacier vaults to store NFTS
highly protected
someone on the call already used the library request?
nah there is data redundancy
you have another option to get information from the internet?
?
ah web scraping?
yess
i will do that
@woeful salmon @sturdy panther will give you more freedom to adjust left and right sides to the exact angle that keeps your wrists, arms, and shoulders in perfect alignment.
more ergonomic and more healthy.
is it out
@woeful salmon do u know vim script
ah
Gotta go. Merry Christmas! ๐
I'm back!
Some of the features of the editor I've been working on. Started way back in 2016 but never took off until mid 2020. Inspired by Per Vognsen's tutorial https://youtu.be/oDv6DfQxhtQ
Video was a bit longer than I'd hoped, wasn't really planed but just wanted to get it out there.
If you're curious about how something's implemented (an...
ok
@whole bear "I am changing" Into anything in particular? A rock, perhaps? Just laying around, soaking up the scenery.
also
you never said
what about vimscript
do you need help withit?
i mean I am changing my preferences in terms of the setup
Giving up on some shit that I used to use
IDE-wise?
To properly learn vimscript with an understanding of every concept and why its used
https://learnvimscriptthehardway.stevelosh.com/
For reference of syntax you forgot
https://devhints.io/vimscript
o- o that may help
What do u mean ? I didn't get it
you asked me if i know vimscript
but never said anything after i said yes
like do you need help with it?
i was just asking in general
ah ok lol
^ gr8 resources btw if you ever decide to learn it
color scheme wise , gruvbox fan but 2 days ago got relly affectionated to monokai which i disliked all time
and depending upon autocomple sometime
Or toe comb pie yell.
super
Rust by Example (RBE) is a collection of runnable examples that illustrate various Rust concepts and standard libraries.
A general purpose library of common HTTP types
@rugged root
how i can make my image in tkinter canvas to move at particularalr location using canvas.otemconfig methos
self.canvas.itemconfig(self.img, x=0, y=0)
It says unknown option for x
@strong arch
what is python?
Hi Mina
Merry christmas!
hi hi
!e ```python
l = ['hello', 'world']
for v in l:
print(l.index(v))
@brave steppe :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
@zealous wave
That prints first 0 and then 1
!e ```python
l = ['hello', 'world']
for v in l:
i = l.index(v)
if i == 0:
continue # This would accidentally grab the last item..
print(l[i - 1])
@brave steppe :white_check_mark: Your eval job has completed with return code 0.
hello
@zealous wave
I did it here @zealous wave
l[l.index(v) - 1]
what are you guys building
@zealous wave at this point just start the debugger ๐
for i, value in enumerate(all_values)
@zealous wave now you can get the previous using i - 1
bro @zealous wave when i click on your stream it says stream ended and shows up again
I havent been streaming for a while
try refreshing discord
ok
๐ hey Hi ๐
hey
class complex:
@overload
def new(cls: Type[_T], real: float = ..., imag: float = ...) -> _T: ...
@overload
def new(cls: Type[_T], real: str | SupportsComplex | SupportsIndex | complex) -> _T: ...
@property
def real(self) -> float: ...
@property
def imag(self) -> float: ...
def conjugate(self) -> complex: ...
def add(self, __x: complex) -> complex: ...
def sub(self, __x: complex) -> complex: ...
def mul(self, __x: complex) -> complex: ...
def pow(self, __x: complex, mod: None = ...) -> complex: ...
def truediv(self, __x: complex) -> complex: ...
def radd(self, __x: complex) -> complex: ...
def rsub(self, __x: complex) -> complex: ...
def rmul(self, __x: complex) -> complex: ...
def rpow(self, __x: complex, __mod: None = ...) -> complex: ...
def rtruediv(self, __x: complex) -> complex: ...
def eq(self, __x: object) -> bool: ...
def ne(self, __x: object) -> bool: ...
def neg(self) -> complex: ...
def pos(self) -> complex: ...
def str(self) -> str: ...
def abs(self) -> float: ...
def hash(self) -> int: ...
def bool(self) -> bool: ...
if sys.version_info >= (3, 11):
def complex(self) -> complex: ...
damn
class classmethod(Generic[_R]): # Special, only valid as a decorator.
func: Callable[..., _R]
isabstractmethod: bool
def init(self: classmethod[_R], __f: Callable[..., _R]) -> None: ...
def new(cls: Type[_T], *args: Any, **kwargs: Any) -> _T: ...
def get(self, __obj: _T, __type: Type[_T] | None = ...) -> Callable[..., _R]: ...
if sys.version_info >= (3, 10):
name: str
qualname: str
wrapped: Callable[..., _R]
!voice @marble plume
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice @marble plume
@somber heath i was gonna verify but i forgor i left the serber ystrday cause of ppl saying me 11
ik vro
_<
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Corey Schafer youtube playlists for beginner python programmers.
this one?
i left this server and then joined today,
there used to be quite a lot of servers with open vc, i used to see lots of people having vc chat in other programming servers too ... now all of them are active role based and there are not a lot of people streming or chatting
i never encountered any such spam .... i see lots of anime/chill servers with open vc for new members ... i don't see much people screaming lol ... but main problem i see is discussion of sessitive issues
so what do you do? projects, etc?
software AI is still pretty harmless, wait till AI comes to mass produced robots 20 years from now on
i mean AI is getting used in war right now, who knows whats going to happen many years from now
class classmethod(Generic[_R]): # Special, only valid as a decorator.
func: Callable[..., _R]
isabstractmethod: bool
def init(self: classmethod[_R], f: Callable[..., _R]) -> None: ...
def new(cls: Type[_T], *args: Any, **kwargs: Any) -> _T: ...
def get(self, obj: _T, type: Type[T] | None = ...) -> Callable[..., R]: ...
if sys.version_info >= (3, 10):
name: str
qualname: str
wrapped: Callable[..., _R]
!code
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.
@limber helm #voice-chat-text-0 message
!e ```py
class MyClass:
def getitem(self, v):
return "Honk!"
mc = MyClass()
print(mc["Honk?"])```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Honk!
print(mc.__getitem__("Honk?"))```
!e ```py
class MyClass:
def add(self, v):
return 5
mc = MyClass()
print(mc + "Honk?")```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
5
!e ```py
class MyClass:
def setitem(self, key, v):
print("Honk!")
mc = MyClass()
mc["key"] = "Honk?"```
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Honk!
!e py my_list = [5, 7, 9] my_list[0] = 3 print(my_list)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
[3, 7, 9]
__format__
__str__
__repr__```
'{0}, {1}, {2}'.format('a', 'b', 'c')
'{}, {}, {}'.format('a', 'b', 'c') # 3.1+ only
'{2}, {1}, {0}'.format('a', 'b', 'c')
'{2}, {1}, {0}'.format(*'abc') # unpacking argument sequence
'{0}{1}{0}'.format('abra', 'cad') # arguments' indices can be repeated
happy birthday ๐ฅณ
thanks!
Leggy boi
class classmethod(Generic[_R]): # Special, only valid as a decorator.
func: Callable[..., _R]
isabstractmethod: bool
def init(self: classmethod[_R], f: Callable[..., _R]) -> None: ...
def new(cls: Type[_T], *args: Any, **kwargs: Any) -> _T: ...
def get(self, obj: _T, type: Type[T] | None = ...) -> Callable[..., R]: ...
if sys.version_info >= (3, 10):
name: str
qualname: str
wrapped: Callable[..., _R]
!e print(...)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
Ellipsis
!d Ellipsis
Ellipsis```
The same as the ellipsis literal โ`...`โ. Special value used mostly in conjunction with extended slicing syntax for user-defined container data types. `Ellipsis` is the sole instance of the [`types.EllipsisType`](https://docs.python.org/3/library/types.html#types.EllipsisType "types.EllipsisType") type.
That would have been the cleverer thing for me to do.
!e
from numpy import arange
a = arange(16).reshape(2,2,2,2)
print(a[..., 0].flatten())
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
[ 0 2 4 6 8 10 12 14]
^ example i found
Damn been here so long still dont have voice access
go to voice verify room
verify me gentlemen
I see a ducky one 2 mini. I've just got the ducky one 3 in quack yellow
Subscribe for more British vs America skits and more comedy!
He's not Bloody Mary.
"If Sally has had 3 tequillas and John has had 5 tequillas..."
Sally has "Liver Failure"
Hey all ๐
Was he talking about pure mathematics?
Because there's this weird thing in it where "extremely large values of five" minus five may not always equal zero.
I don't understand how.
But it's a thing.
Now, maybe it's about imaginary numbers or something...
I don't understand complex numbers.
I just know they can make Mandelbrot set images.
If we start talking about computers and floating point stuff...that's just not fair to the discussion.
id(float(1)) == id(float(2))
True.
Identity vs equality.
!e py a = [] b = [] c = a print(a == b) #They're both empty lists. print(a is b) #But they're not the same list print(a is c) #The variables a and c both point to the same list object in memory.
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | True
002 | False
003 | True
!e
class Person:
def __init__(self, name: str) -> None:
self.name = name
print(f"{self.name} created")
def __del__(self) -> None:
print(f"{self.name} deleted")
print(id(Person("Thor")) == id(Person("Loki")))
@woeful salmon :white_check_mark: Your eval job has completed with return code 0.
001 | Thor created
002 | Thor deleted
003 | Loki created
004 | Loki deleted
005 | True
!e
a = []
b = []
c = a
print(a == b) #They're both empty lists.
print(a == b) #But they're not the same list
print(a is c)
@limber helm :white_check_mark: Your eval job has completed with return code 0.
001 | True
002 | True
003 | True
!e
a = []
b = []
c = a
print(a == b) #They're both empty lists.
print(a is b) #But they're not the same list
print(a is c)
@limber helm :white_check_mark: Your eval job has completed with return code 0.
001 | True
002 | False
003 | True
Variables are just signposts to objects in memory.
They're not the objects themselves.
I know that there's a dictionary in globals().
It's a map to the local dispensary.
I mean.
What?
I was distracted.
Global keyword.
Avoid using it.
Functions should typically avoid operating on objects which exist outside their own scope.
If you need that kind of functionality, you should assign the return of a call within that scope.
v = 0
def func(): #Bad, naughty function
global v
v += 1
func()```
```py
v = 0
def func(): #Better function
return v + 1
v = func()```
```py
v = 0
def func(a): #Best function
return a + 1
v = func(v)```
Classes and class instances change this rule a bit. It's fairly normal for methods to reach outside of themselves using the self object tree.
But only insofar as their class instance is concerned.
Or something else otherwise connected to the self(instance) tree.
There are some cases where it makes sense to have a function that does in "in-place" operation, and these are a bit of an exception.
The random.shuffle function, for example.
Given a list, it shuffles that list in place. It returns None.
But the list in question is reordered.
!e py import random my_list = [1,2,3,4,5] s = random.shuffle(my_list) print(my_list) print(s)
@somber heath :white_check_mark: Your eval job has completed with return code 0.
001 | [2, 4, 3, 5, 1]
002 | None
I mean, if it's part of your screen name...
I could change my name to "Idiot". I'd be a little silly if I got offended at people calling me by it in the regular fashion.
@rugged root hello sir
I am in "I forgot to put the boom down on my mic"
Ew.
yea sirr!!
There are some which will work as backgrounds
and some that are a little...much
I wanted to do some L-system stuff, but they're difficult to wrangle
Branching patterns
Trees and things
That's an old one I did
@trail mural when you say "noodle" all I think of is noodle from gorillaz
We call it Macca's.
maccy's in the UK
REMASTERED IN HD!
Music video by Soundgarden performing Black Hole Sun. (C) 1994 A&M Records
#Soundgarden #BlackHoleSun #Remastered #Vevo
Provided to YouTube by Universal Music Group
The Day I Tried To Live ยท Soundgarden
Superunknown
โ 1994 A&M Records
Released on: 2014-06-03
Producer: Michael Beinhorn
Producer: Soundgarden
Studio Personnel, Engineer: Jason Casaro
Studio Personnel, Asst. Recording Engineer, Assistant Mixer: Adam Kasper
Studio Personnel, Mixer: Brendan O...
hi lads and lasses
and everyone in between
Boys and not boys is my current goto
how about hito
people is my current goto
10 print("Hello")
20 Boys and not boys 10```
Well played
"Where is he from?"
"Norway."
"No way!"
"Yes, that's what I said."
no road nor way
"Put your blinders on and don't pay attention to what anyone else is doing. ...Now, the saddle."
meanwhile internships in hospitals in india (from what i've heard from my friends... tho it might just be worse cuz of covid) keep you working 12 hours a day
Yeah, that's not unexpected.
@rugged root
You work with MSPs
Our vendor sent a tech from their MSP
He introduced himself with "You can call me Mr. Williams"
I felt like he seemed pretty arrogant, but I chalked it up to my bad social skills, but - when he left, two different people, unprompted, mentioned that he didn't seem very nice
I ... I'm not really sure what my question is - I guess I'm just venting - It felt really... condescending? to have someone say "You can call me Mr. " - No one's said that to me in years
So - Um... Is that weird? Or am I being arrogant again?
I would say it's maybe not the best of introductions, but there may well be worthy attributes beyond that.
Though it could also be an indicator of inner rot.
This man beside us also has a hard fight with an unfavouring world, with strong temptations, with doubts and fears, with wounds of the past which have skinned over, but which smart when they are touched. It is a fact, however surprising. And when this occurs to us we are moved to deal kindly with him, to bid him be of good cheer, to let him understand that we are also fighting a battle; we are bound not to irritate him, nor press hardly upon him nor help his lower self.
Yeah that does seem sort of.... yeah. They seem very self-important
Pigeons???
Agreed, it's a little odd for someone to ask anyone except a child to call them Mr. or Mrs... My college profs used their first names lol
I love it when people mention pigeons at the moment.
When I'm older, I'd like to get into pigeon racing
They can fly faster than you can run.
LMAO
Good morning/afternoon/evening everyone
So it's not just me
Good
I'm dying from that!
Nani ๐ฎ
g2g for a grocery run. Cheers peeps
client broken
press ctrl + r

yes ik I was just joking around with mad
"put a pigeon on your foot" is the "five minute crafts" of the past...
And now they want us to RMA the printer and charge our UPS account
So now I have to email them back and say we refuse to pay to ship back something we didn't break
I just want to fix the printer
I don't want to be in the middle of a billing dispute
is it possible to import stuff from a __main__.py file?
Isn't....
__main__ isn't actually a file
I have no idea, is it?
main โ Top-level code environment. In Python, the special name main is used for two important constructs: the name of the top-level environment of the program, which can be checked using the name == 'main' expression; and. the main.py file in Python packages.
Yes but I have a __main__.py file and I have a variable that I want to import from it. I understand how if __name__ == "__main__": works and I don't think that plays any role in this.
how would that not be a file?
I watched Isle of Dogs, today. Atari was the name of the human protagonist.
God that was a weird movie
Oh - you actually have a thing
It has charm.
Have you also seen Fantastic Mr Fox?
Um ... I don't think there's an easy way to do that
Why do you want to do that?
actually I probably don't want to do that
there is a way better way of doing this now that I think about it
I basically have a function in my __main__.py that I want to add to an init file
From .main import func?
would that work?
Idk actuallyโฆ try it
Yeah I just did, it doesn't
.
Aww man
Platforms can have a life cycle.
Sometimes they die. Sometimes they linger.
Sometimes they get bought up by Microsoft.
Cuz its pretty? ๐ฅบ
Anyways, ty @frosty star and @sweet lodge for the help!
No problem
Firefly, the 8 season show that never was except as a babe strangled in the cradle.
As an Asian I use emojis a lot is that weird ๐ค <- there I go. Itโs a habit. Itโs everywhere.
When I was in kindergarten/first grade Nintendo was a new thing, people would bring the Super Mario Bros instruction manual to school and we would scrutinize every bit of it. Super Mario 2 already existing in Japan was an urban legend...
Gnite everyone~ buhbye
goodnight
Musket rat.
i'm changing old projects from js to ts and replacing bootstrap 4 with 5 to get rid of the slight bit of jquery i have left
its a pain o- o
@rugged root yeah restart the computer is easy, but my computer for example is too slow to restart
but sometimes i have to
St. 'Nix.
Sudo ho ho!
Fienancial software.
They had a bar in Jurassic Park. They called it the Isla Nu Bar.
I hate rebooting my computer with a passion. 70 days of uptime right now, 160 days last time I rebooted - and that was by choice. I can literally upgrade my system in place without a reboot.
and yes, all that is courtesy of NixOS,
I like knowing that everything is fresh and ready to go
I like all the nines of uptime I can get... I lose millions every second I'm down...
by millions I mean proportional fractions of a second
@sweet gyro #voice-verification
A thin curr.
Farmer wants a thighmaster.
Infiltrate a bike club with a thighmaster
Hey @gentle flint!
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:
Python. It slices and, when you import random, it dices.
import secrets for more indeterminate dicing
how do I get voice verified?
see #voice-verification for requirements
I can't access that channel
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Try that ^^^
oh
RESTORE TABLE brain;?
nah bro
i haven't closed vscode in 12 days ๐
i needa give my pc a break
but like
i needa finish project too uk
2126753390
class Solution:
def firstBadVersion(self, n):
"""
:type n: int
:rtype: int
"""
for i in range(5):
if isBadVersion(i):
return i
Can anyone help me align my chart and table on the same y-axis, (to be beside each other) in #help-carrot
for i in range(n):
if isBadVersion(n):
return n
Did the things the person helping you not work?

good luck trying to get help, you'll likely get better help in a web development server
That was just for the table css, the main issue is fixing the positioning.
Do you know any server I can join?
!e
for i in range(4):
print(i)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
001 | 0
002 | 1
003 | 2
004 | 3
Have a look through this https://github.com/mhxion/awesome-discord-communities, see if any would suit your needs
PS C:\Users\runner> py -m timeit -s 'import secrets' '[secrets.randbelow(20) for _ in range(100)]'
5000 loops, best of 5: 70.9 usec per loop
PS C:\Users\runner> py -m timeit -s 'import random' '[random.randrange(20) for _ in range(100)]'
10000 loops, best of 5: 32.6 usec per loop
:incoming_envelope: :ok_hand: applied mute to @whole bear until <t:1640626484:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).
@olive hedge why do u hate california?? ๐ญ
Oh from where I was (for 3 months), santa monica/la area is pretty cool
and the pier yeah it's pretty cool
okay yeah but one reason I don't like california is because the earthquakes are pretty scary
extroverted
Hey hey
Hello
Sorry what were you saying before I left @terse needle ?
!help @lapis dock
you were unmuted
Oh yeah. You could probably hear the Guinea pigs running about ๐
Yeah Fisher ๐
I thought it was a door closing or something but that would make sense
You can't say you have Guinea pigs and not show them 
innuendo
good girl
what do you actually have to click to get verified in vc? the page just says the criteria to meet it, not how to get verified?
i asked mod-mail but they just closed the request
Try !verify in the channel
Or maybe it's !voiceverify
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Youโll get square eyes!
!verify
alright i gotta go now, bye guys ๐
You'll need to type !voiceverify in the #voice-verification channel
They are really difficult to photograph 
@haughty pier how do you connect this huge tv to a pc?
All you need is an HDMI cable
You just have to make sure your computer has enough graphics power for a monitor that size
not really, if it's not used for gaming then you just need a "good enough" card to that will output the resolution.
HDMI cable
Thankyou
The computer has been moved
if you're having any trouble doing that sort of thing try installing NixOS and see if that fixes things
#help-potato its in here the entire post
Well played, Bon
okay thanks
i cant actually send the full stacktrace, over 2k chars
adds one more to the tally
!paste
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.
Toss it in there
oh ok thanks
Salary reduction?
brb
๐ damn you beat me to it
hemlock did you know on the paste.pythondiscord.com you can replace the file extension in the link if it gave it wrong and it works O_O
i just figured it out
voice good for @gentle flint
bbl reading docs
๐
me too
Why Leon don't have much Followers on twitter?
class React {
static createElement(tagName, options, ...children) {
const newElement = document.createElement(tagName);
if (options != null) {
for (let option in options) {
if (option == null) continue;
if (option === "className") {
newElement.setAttribute("class", options[option]);
continue;
}
newElement.setAttribute(option, options[option]);
}
}
if (children != []) {
children.forEach((child) => {
if (child == null) return;
if (typeof child === "string") {
newElement.appendChild(document.createTextNode(child));
} else {
newElement.appendChild(child);
}
});
}
return newElement;
}
}
function MainComponent() {
return (
<main>
<h1 className="bg-dark" data-visible={true}>hello world</h1>
<p>saying hello to the world</p>
</main>
);
}
const mainElement = MainComponent();
// how you would add it to the dom
// document.querySelector("root").append(mainElement);
console.log(mainElement.outerHTML);
/* MainComponent compiles down to this with babel or any other compiler */
function MainComponent() {
return React.createElement("main", null, React.createElement("h1", {
className: "bg-dark",
"data-visible": true
}, "hello world"), React.createElement("p", null, "saying hello to the world"));
}
simplified version of how react creates normal DOM elements (not including the virtual DOM it creates to diff with to find changed state)
class collections.UserDict([initialdata])```
Class that simulates a dictionary. The instanceโs contents are kept in a regular dictionary, which is accessible via the [`data`](https://docs.python.org/3/library/collections.html#collections.UserDict.data "collections.UserDict.data") attribute of [`UserDict`](https://docs.python.org/3/library/collections.html#collections.UserDict "collections.UserDict") instances. If *initialdata* is provided, [`data`](https://docs.python.org/3/library/collections.html#collections.UserDict.data "collections.UserDict.data") is initialized with its contents; note that a reference to *initialdata* will not be kept, allowing it to be used for other purposes.
In addition to supporting the methods and operations of mappings, [`UserDict`](https://docs.python.org/3/library/collections.html#collections.UserDict "collections.UserDict") instances provide the following attribute:
Erm, not very much ๐
"Pay me"
Trying to remember what rabbit says....
Jake hosts bots?
I think it's something like "If you want me to do this you're hiring me on as a consultant, and my fee is $200 an hour with a minimum of 2 hours paid."
I thought it was $300 minimum 6 hours
One of those
is there is way to get function source code.
Function as in Python built in?
yes
Looks alright!
๐
You could put two users in one field.
>>> e = enumerate('abc')
>>> list(e)
[(0, 'a'), (1, 'b'), (2, 'c')]
>>> list(e)
[]
๐ ๐ ๐ ๐
!tvban 852180553880698930 3d Lots of background noise, as well as turning the mic back on while flushing the toilet, is not appreciated. Please consider common sense and be thoughtful of other users on VC. If your behavior doesn't change by the time you get back, your voice permissions will be permanently revoked.
:incoming_envelope: :ok_hand: applied voice ban to @still lava until <t:1640896763:f> (2 days and 23 hours).
!eval ```py
from collections import defaultdict
import random
players = range(10)
scores = random.choices(range(10), k=10)
players_by_score = defaultdict(set)
for player, score in zip(players, scores):
players_by_score[score].add(player)
score_by_rank = dict(enumerate(sorted(set(scores), reverse=True), start=1))
def ordinal(n):
if 1 <= n % 10 <= 3 and not 11 <= n % 100 <= 13:
s = {
1: 'st',
2: 'nd',
3: 'rd',
}[n % 10]
else:
s = 'th'
return f"{n}{s}"
for rank, score in score_by_rank.items():
print(f"{ordinal(rank)}:")
for player in players_by_score[score]:
print(f"\t{player}")
@stuck furnace :white_check_mark: Your eval job has completed with return code 0.
001 | 1st:
002 | 3
003 | 4
004 | 6
005 | 2nd:
006 | 7
007 | 3rd:
008 | 1
009 | 4th:
010 | 2
011 | 5th:
... (truncated - too many lines)
Full output: https://paste.pythondiscord.com/udoxewuwos.txt?noredirect
hurrah. my sdcard needs reofrmatting and needs to be backed up first
mhm
Hi guys hope you enjoy this video๐ Don't forget to subscribe, like, and comment ๐
For business opportunities: team@elitezill.com Nothing is impossible๐ช
#cznburak,#TurkishFood,#Burakรzdemir, Burak รzdemir Turkish Chef Cooking Amazing Traditional Turkish Food 2019
Salt Bae
Nusret Steakhouse
Turkish Food
Meat Cutting Skills
Salt Bae
Nurs Et
- N...
I scrolled onto that post just as you started reading it out ๐
hey this is me
Me too, except I buy a cheap Lenovo and install NixOS on it, and I buy a $80 armless task-chair from Sam's Club... ok, maybe that's not me after all, but to be fair I've been looking for Aeron chairs on Facebook Marketplace...
Easy to find, but they're all $500 minimum
apparently that dude's video on flipping those chairs got around
nice ramen
can i have some
so im doing the react tutorial for tic tac toe
and it says the board component is the parent of the class component
but the board component is nested inside the class component
so now I'm confused lol
class Square extends React.Component {
render() {
return (
<button className="square">
{this.props.value}
</button>
);
}
}
class Board extends React.Component {
renderSquare(i) {
return <Square value = {i} />;
}
wait im stupid it isnt
vs code apparently doesn't know how to render lines
Krait
you're thinking of weed, not crack

no
unless
you get me an RTX 3060 12GB for free
Did you get the SD card to work?
Aww..
Hey guys
!src
@wind raptor yo
can't speak rn but wsup xD
nice ๐ for me its 6:30 pm
i spend today mostly shopping finally back to working on project
๐ making ecommerce dummy site with next.js
cuz wanted to try out next.js 12 more
its nice
oh lol almost 12 hours off
wait did you just say your kids wake up earlier or usually wake up earlier
oh
i thought you were also older than i thought for a second
you guys are up early.. maybe, I dont always check and have been up for sometime now.. but doubt I'd hear anything if I popped. in. gotta have the music loud when "actually" working .. heh
negative matter
are you quantifying negative matter?
=,=
is there any teacher in here ๐
I mean, I'm not a certified one
๐ sem
On in a sec, checking to see if I have some scanning
nice shake
i mean everyone is silent
What the heck is that thing?
It's even better when I talk
ah right it will shake whenever you talk
today i brought a yonex badminton but i have no idea whether people come for playing badminton or not
in my country ppl do
i mean they come to play but i am not sure whether they come tommarow since i am exited and just freaking out whatif they will not come
Do test pilots sleep in test beds?
ppl where i live think any open place outside is for walking dogs only children who play anywhere except for streets or really huge parks get yelled on
๐ฆ
such is the gr8 capital of india
lol
If I leave butter at room temperature overnight will it spoil
i man we can but i have a very nice coart with a nice grip mat in the campus i llive in very close
pretty cool
:/
ye apparently for them their dogs > their children and children should all go study
lol
exactly
so True
That's the reason i don't play football anymore
then they will come the next day
๐
i hope so
nice
uhhhh i keep forgetting to keep a bookmark in my book ๐ฆ
congratz on your first print
o- o i just take a note of the page number on my mobile
do u play badminton @frosty star
sorta. I'm Malaysian so I am familiar with the sport.
I'm pretty bad actually
haH
ah,
hmmmm
i used to play it alot as a child
why can `t u continue it now
I have the racket in my room rn but i havent touched it for years
btw i had a question, is there anything like an airdrop for android and windows????
well being in school's soccer team followed by busy years followed by covid
i also still have a racket in my room but its for mosquitos instead
o- o
uh... how tight is the net
i also used to be in school soccer team pre-covid?
now to readjust the bed
What is the time at your place?
good one
just one, a couple, a few, several
oh my god
15:19 rn
These are Op, xd
i too had 2 of my badmintons but my mother and sister banged my racket(excuse ) against the door whenever i user to iritate them , lol ๐
nice ๐ i used to be kinda good
now here i am a fat man who can't even run too fast
lol
xd
most people post covid lmao
our school never had , i used to enjoy me moving to other state for Taekwondo competions all free which was quite fun
I am so eagerly waiting for snow โโโโโ
how`s the tummy
But the weather is f'd up

