#voice-chat-text-0
1 messages Β· Page 142 of 1
Even if you just don't care about said group.
"lawlessness will impact everyone"
(trying to translate some now famous Russian saying)
was very prominent when RT got upset about their employees getting illegally drafted
@somber smelt or you need to be trusted enough to own a CA certificate
i did not know about that till now
... and then you become MiHoYo who signed a faulty driver which is now used in malware
Step one: Invent exe file format.
Step two: Obscene profit.
Step three: Declare exe files malicious.
Step four: "πΆβπ«οΈ Cloud is the new exe."
or .sh format ?
not at all
analogue of EXE would be ELF
but it's different in how it's treated by the OS
ou
@turbid sandal You mentioned a felted mouse
Whats happening here
snap, apparmor, etc.
(etc. being flatpak)
and some Unices
Solaris/BSD
executable and linkable format
EXE can work as DLL too
.NET uses that often
^ to avoid running untrusted software in a privileged context
oh
formerly extensible linking format
everything format
huff ... I am working my ass off as an intern in a startup and they're paying me nuts (122$ / month) ;-;
if you dont want it ill take the job xoxo @pallid verge
how many hours a week?
min 9 and a half hours a day
look for a more adequate place
"intern in a startup" is suspicious on its own
do they just not have money to pay normally?
meh .. the boss is just gulping money on its own ... he is earning good enough
yeah, that's not a startup, it's an exploitation company
idk how things are where you live, but even here paying so little for a full-time job is basically illegal
I got selected in a MNC but they have onboarding call on around july/august
have to survive till then
I wanna shift to Europe or USA but here getting visa is very tough ...Unless I go for higher education or some company sponsor me
@turbid sandal how about you first test your code yourself on a VM?
and only then dare to think about insulting others
or I am married to the person living there XD
the best way
a child is a child, I choose against judging children so early in their life
You can UMute me
Did someone run his script?
not me
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
and it didn't even start properly

hiii
yup no perms π₯
yeah I think its almost been a month
but wasn't that active
umm lemme try
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
50 msgs condition left π
yup π
yeah I'll do that
what are you guys doin tho rn?
well gtg, byeee
hi!
hiii not much
nothing
what's a gofek
oh lol
the stream keeps not wanting to load
yes!
ty
is this coursera?
nice
Stream βThe Nightsβ by Avicii: https://Avicii.lnk.to/The_Nights
Listen to Avicii: https://Avicii.lnk.to/Channel
In Dolby Atmos: https://avicii.lnk.to/SpatialAudio
Lyrics
Hey, once upon a younger year
When all our shadows disappeared
The animals inside came out to play
Hey, when face to face with all our fears
Learned our lessons through the t...
Download the new Furious 7 Soundtrack Deluxe Version on iTunes here: https://apple.co/3paGCzN
See Wiz on tour http://wizkhalifa.com/tour
Tag βͺ#βSeeYouAgainβ¬ on Shazam and get an exclusive behind the scenes look at the music video!
Get official merch here: http://atlr.ec/OfficialWKMerchYT
Stream Furious 7 on Spotify: http://smarturl.it/stream...
Provided to YouTube by CDBaby
Babylon Β· Dirt Poor Robins
Queen of the Night
β 2022 Neil Degraide
Released on: 2022-11-15
Auto-generated by YouTube.
Provided to YouTube by CDBaby
EnchantΓ© Β· Dirt Poor Robins
Queen of the Night
β 2022 Neil Degraide
Released on: 2022-11-15
Auto-generated by YouTube.
β€οΈβπ₯ avicii
... and then a little more
hello
can you guess the most frequently used import in the solutions?
(one class/function/constant; Python)
no, not in functools
collections.Counter
quite a lot of problems can be expressed via counting
and I don't think I've encountered any performance deficits of it so far
it does cost quite some memory, but not much time
@whole bear π
Doing the thing where one hangs around.
Saying hi.
Occasionally dispensing sass.
Or is that gas?
Both?
Both is good.
Okay. Ta ta.
@proper anchor π
Yo ho.
I'm currently getting my shit together and building some inventory management.
Refined storage.
@steep nimbus π
Yes.
Oh my, yes.
People seem to think so.
I mean have you created any game
@rare island π
Are we talking PyGame?
hi
Any kind of game? Be it ping pong
hi guys do you know django
I just hop on that
If you're having a problem, please explain it. Preferably in brief.
Yes, well, I can hear you....quite well, in fact.
I have started python a month ago. I wanna become game developer could you suggest me which other language i should target RUST or C++
A C language would be the traditional answer. There'd be a lot of trodden ground, there.
Which is not to dismiss Rust.
If you have a beast of a computer, you can use C++ and Unreal Engine, if not, I suggest C# and Unity
I heard C is quite a primitive language not in modern day use other than Operating systems
How true is this?
A C language.
Not necessarily C. π
But yes.
It is a lower level language.
One step above assembly.
Oh thnks
You're not.
Unless I'm in space.
You had to go and bring facts and good ideas into it. Didn't you?
No, I prefer that.
People, being people, have allergies in the regular way.
We have a pollen count on the news.
We've a mix of stuff.
So there'd be an intensity cycle.
We have antihistamine ads.
@viral laurel π
Are you currently experiencing hay fever?
β @turbid sandal can now stream until <t:1685971993:f>.
@turbid sandal Don't show them your buttons. If they press them, don't let them know they're connected.
Also, don't dish it if you can't take it.
@rugged root
@whole bear π
Pain rings a bell.
Hey @midnight agate π
can anyone help with a matrix rotation equationy thing i tried making? i think it works for any given matrix size
Simple model of online store
for rotating 90degrees right, where In=initial position: (Inrow, Incol) - > (Incol, MaxCol-Inrow)
i think it works, did it in ms paint and it works for everysize i could think of
new coordinates are always correct for any given size right? like i can rotate any given matrix size now right?
(for 90 degrees right)
I'm confused, are you just needing a sanity check? Or is there something not working
me?
Yeah
yeah just need a sanity check
Can you link your code?
there aint any code yet, its just my thought process for the interviewy questions of rotating matrixs
actually, never mind, i think i just figured out how to transpose and reverse in one step algebraically, i think thats what i did lol
dw bout it
@whole bear I call it Garbage Collection Month, here.
Genuine terror. So funny.
Guns pointed at grannies. Always hilarious. π
I'm not objecting, but I am judging.
Well, some people have issues with pork. So while I don't share the aversion, I do understand.
@rugged root check out https://gen.xyz see what u think
Back in a bit
Python programmers be like: "It's not called copying, it's called importing, and it's classy."
@turbid sandal
hahaha
That's too good
How long do you season a wok for?
500 miles
Five-hundred, twenty-five thousand, six-hundred minutes.
CoC
Seasons of wok, wok wok wok wok wok wok wok wok wok.
It started out in a web browser.
I played it.
@dense ibex
You snagging a server?
Check out my tutoring student's AI project: https://customizeresume.shanayamalik.repl.co/ For fun just hit the submit button without entering anything
!paste
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.
@dense ibex https://paste.pythondiscord.com/liforusaxo
@rugged root If there's a big ass issue, maybe someone needs to be working out.
Donkey what?
Oh
Ass.
a diagram that looks very incomprehensible at first (but then looks totally reasonable)
"but does it commute??"
atom size are a little below nanometers
Ah gotcha
Wouldn't be surprised if the size of an atom gets a little bit variable under certain conditions.
Hydrogen
there are also esoteric cults which are very against bringing new members
what equivalent would that have in tech company terms?
hey there
you know just pushing can't complain. how are you?
Fighting accounting programs. Considering getting a flail to do so
CNN have non-fully-interconnected layers
DNN have large count of hidden layers, iirc
large count being 2 and more
(specifically they have layers with localised (in some sense) connections)
believe in yourself bro. don't give up! you can do this
snootiness
unfriendly behavior toward other people because you think that you are better than them: She has annoyed the press with her snootiness. The employees there all have an air of snootiness.
If only it was a lack of belief
@hallow warren
whats exactly lackin?
you'll figure it out forsure bro. it can get hard sometimes
I like to parrot/repeat to make sure the person talking knows you are following their ideas.
I do not understand matrices
This is a cool toy
What you guys are doing ?
The "assignment" that Ross Coulthart has been on involves his exclusive on-air interview of government UAP whistleblower David Grusch. That will be public very soon, carried by the News Nation channel and its various outlets.
This "Need to Know" episode is Ross and Bryce providing their behind-the-scenes thoughts about the importance of the Gru...
Temper expectations?! TEMPER EXPECTATIONS?! 
ou
re-defining implementation of traits is actually kind of difficult in evcxr
(because code might depend on previous implementations)
and it doesn't really like to drop everything
Yesterday i was reading an article on "bitflip" ....pretty interesting phenomenon.
wonder that would happen with my bank account and add few more 0000 at the last
!stream 322504171636916226
β @lucid blade can now stream until <t:1685982823:f>.
i used to own a cat , dude was so dumb he use to paw on street dogs and got scared with other cats
(meme based on the new Rust copyright)
Rust was against changing the logo
not using it
rust is commonly use for ?
I figured out how to change the trait implementation interactively
The crab should have been given a fork instead of a knife.
ahh
having a function makes it recompile properly
like to create some framework
Though I do get the crab knife meme thing.
thanks HTML for being able to put images into text
well, that's just lying about what Rust's trademark policy is.
the "you can't mention the language" part
it's made up not taken out of context
.
@whole bear π
Crafting of mines. I've just finished the start of my Refined Storage item dump system.
Because the chests were getting obnoxiously plentiful.
In here? No. In here? No. In here? No.
From here, The Machine.
Not the movie, naturally.
i.e. The craft everything machine.
Mekanism has ore x5 capability, so I'll start with that.
Sounds munchkin, but given what's involved, it makes you work for it.
(the broken part was left out)
Eh, wouldn't say munchkin
If you have larger demands, it makes sense to add some quality of life things
finally figured out what went wrong (missing a newline)
no evcxr_display calls this time
@sacred robin π
clicked it accidentally, sry for the interruption
!paste
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.
@rugged root https://paste.pythondiscord.com/kufinahujo
Python [https://www.python.org/] and SQL [https://en.wikipedia.org/wiki/SQL] are two of the most important languages for Data Analysts. In this article I will walk you through everything you need to know to connect Python and SQL. You'll learn how to pull data from relational databases straight into your machine learning pipelines, store
!d contextlib.closing
contextlib.closing(thing)```
Return a context manager that closes *thing* upon completion of the block. This is basically equivalent to:
```py
from contextlib import contextmanager
@contextmanager
def closing(thing):
try:
yield thing
finally:
thing.close()
```...
@rugged root Maybe if you have a lot of guests.
If it were a database of frying pans, would they have unique identifryers?
(author, book) primary key
hopefully, the RDBMS of choice supports multicolumn PKs
(as it must)
do it in Rust?
yes. but why?
I think there exist some strongly-typed bindings to SQL
where C works, Rust works too
(almost always)
for IoT, there's no_std Rust
(embedded)
so many potential bad jokes
very unlucky name collision
Make any good phone calls, lately, Kemal?
Your pfp.
"Mom, can we have gym?"
"We have gym at home."
speaking of do it in rust, did you see the project someone posted to the rust subreddit about how they're rewriting kubernetes in rust?
I tried teaching myself how to write cursive English
i'm try to give up
cursive f is looking cursed
ah, also K or R situation
when writing fast, they're indistinguishable
Isn't that the thing a bunch of employees quit over, because the employees were saying it's not ready to be pushed out, and the management just went, "nope, we're launching"?
The ar glasses.
Probably
using unlicensed firmware for that: arrrr glasses 
Diplomatic dinners.
Don't remember someone's name?
No problem.
Oh, you know that sharing thing with phones where you bump them together?
That, but with contact lenses.
@lunar haven Wake me up, before you go go.
Or Evanescence.
the best band choice by @rugged root
Recordando o clipe de DominΓ³ lanΓ§ado no ano de 1987.
ComposiΓ§Γ£o: Edgard PoΓ§as / Juan Carlos
#Domino #Anos80 #CanalRecordando
the same of the series. I lost the ring
Is menudo also a food?
are you like eat that kind ? π
it is a kind of backtreeet boys of multiverse https://www.youtube.com/watch?v=EUKGr6ntou0&ab_channel=LanaAngel
here it use the word to call people that shake the ass
g2g cheers
^ can be used in TeX
front-end thingy
https://prismjs.com/
"funky" theme
it will always be Java 8
i hate sintax highlight 
there's no Java past Java 8
Wait what?
Why?
couse i have trie be diferent
Perl syntax highlighting is either non-deterministic or incomplete
i wiil use sintax highlighting for text plain in the future.
i wiil put different colors to each kind of word.
you so smart: π€
[0;34mred
[0;32myellow
[0;31mgreen
[0;33mblue
[0;32mred
[0;31mblue
[0;34myellow
[0;31mgreen
[0;33mblue
it's a reference to a specific book
Is this the OU?
[0;34mthe [0;32m start [0;31m is tenebris.
@whole bear 
(or, like, just this specifc sequence of words-colours)
yep ie
Ah right nice. I've done a few courses with them.
Yeah, the stage 1 courses are much more basic than at other universities.
The idea being to minimise pre-requisites to study.
Yeah I agree with what you're saying π
some time they just need slave drivers
I was able to skip those courses as I transferred credit from another university.
@whole bear Are you in any of the OU Discord servers? As you may be able to get better advice there.
oh, do you mind passing the link to me?
They have a student hub: https://discord.gg/7yN5YwxmP6
Oh huh
OU STEM might be the best server to ask in.
I do that all the time
It's essentially just a portal where servers related to the uni are listed.
Isn't that what 8080 does? 
Kind of yeah
This bugs me
BEGIN IMMEDIATE TRANSACTION
UPDATE "Person"
SET "age" = ?
WHERE "id" = ?
AND "name" = ?
AND "age" = ?
[24, 2, 'Mary', 23]
COMMIT
Like.... I don't know why it'd have to do all those searches
It should just find it via id
I guess to make extra sure?
Still feels weird
Ladies and gentlemen, I stand before you to acknowledge the exceptional contributions of Hemlock, a Discord moderator in our community.
Hemlock's empathetic nature, excellent communication skills, and dedication to safety have made them an invaluable asset. They foster a welcoming and inclusive environment, ensuring everyone feels heard and respected.
Their vigilance in upholding community guidelines and proactive approach in resolving conflicts have created a harmonious space for fruitful discussions to thrive.
Hemlock's commitment extends beyond moderation duties as they actively mentor and support community members, nurturing personal and intellectual growth.
We express our gratitude and admiration to Hemlock for their outstanding service. Their presence has enriched our Discord experience, making it a vibrant and inclusive community.
Thank you, Hemlock, for your unwavering dedication, and thank you all for being part of this incredible community.
GPT?
noo
Sorry, context is using PonyORM to increment a field
It's like Where's Wally/Waldo, but it's Where's Stelercus.
Pope goes the weasel
When aliens set out on their first anthropological expedition, do they have to go through a probationary period?
@lucid blade
Brothers
I joined the server to share a thing
then kind of stayed
ππ
Let's see if Apple can use enough marketing to get people comfortable enough to wear these in public: https://www.apple.com/apple-vision-pro/
Jesus, I didn't actually see what they looked like until now
@tepid edge "separate person from their work" works only if the work is worth anything
And even then....
Sir Nicholas Charles of the secret service finds young people to help translate emojis and identify potential terror threats!
Watch the series on All 4: http://www.channel4.com/programmes/britain-today-tonight
wahahaha
if it's satire, disclose it; just to keep at least yourself safe
The Informational Agency "Panorama", shortened to Panorama, is a Russian-language satirical website which publishes satirical "news" on topical regional and international issues. It is analogous to the American digital media company The Onion. The Panorama has been known for using its articles by many famous Russian public figures and the media ...
> articles increasingly depict real news
.wa s define satire
witty language used to convey insults or scorn
"Senator George Brandis, Attorney General" Originally aired on ABC TV: 27/03/2014 replayed from the archives ABC TV: 21/09/2017
http://www.mrjohnclarke.com
http://www.twitter.com/mrjohnclarke
http://www.facebook.com/ClarkeAndDawe
?
I'm just confused by the parrot stuff
Feel like I missed a joke somewhere
skwak?
"Parrots" may be bananas.
2,696 empleos de: Python disponibles en Indeed.com.
are there any companies recruiting on LinkedIn for a remote student intern that has expertise in C/C++
like any you guys know of?
The C server would know better
Getting the link
ok thank you would appreciate that
also are there any free python courses available online?
who provide certification that are valued
so companies would believe me when I say I have done python
You're not really going to find programming certifications that are valued
IT ones sure
But....
i want to learn python within summer and add it to my Resume
and i dont wanna pay much for it as ik there are free courses
!resources We've got tons of resources on our site
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I typically recommend "A Byte of Python", which is free on its respective site
Just to get you up to speed
Which, respective?
Or the phrase up to speed
Just because something is vegan, doesn't mean it has to be shit. Some of the substitution stuff is a bit shit. There are plenty of "normal" and thoroughly enjoyable foods that happen to qualify.
If vegetarians give you allergies, then don't eat vegetarians.
That
Yeah you were right, pdb
I'll be back
hey guys
i need help
i can't talk in the channels, i don't have permission and I don't know why
!voice
Canβt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
this rules man.....
btw, sorry to talk to you by dm @lunar haven I just didn't want you to left you speaking without answering because it is not respectful you know
yeah, i get you
it's very difficult tbh
yeah
btw, what are you doing?
ahhh i get you
have you ever done cs50?
have you ever done cs50x
ahh ok
btw, how much time have you been learning to program?
a week to complete an assignment or to complete the course?
did you start with java or python?
which one do you recommend me? From your personal view, I'm a newbie btw
thank you
i'll do that then
have u read the pragmatic programmer book?
yeah the last 2020
yeah
lol
that's the exact course I will do after cs50x
"python for everybody"
ahh in the middle of cs50 so i'll finished it
thank you for all the information your mentioning
value it
!voiceverify
thank you
i need to do
50 messages
jajaja
and 3 10-minutes activity blocks
6 week
edex
and yt
you sure?
ahh ok then
thank you
edex sucks π€£
ahh ok
after cs50
which course should I do from your personal view
Yo what are you guys doing in this vc
I'm chatting
and trying to send 50 messages
the server doesn't let people speak if u haven't sent over 50 messages
@lunar haven
Nice
goat
Both CR7 and Messi
type and type
alr
Type type type
@lunar haven asap bro, hurry up........ too much time reading π
how so?
hacker?
penaldo fans are strange you know
I had sent like 70 messages 2 months ago
:c
to speak
hey @real lance how do you know how many messages you have sent
Msg the chatbot?
Oh sorry it only says less than 50
donΒ΄t know man
I can speak but I can hear i guess
there's a glitch for me too I think
@lunar haven Yo
just when I'm leaving lol
Source code: Lib/json/__init__.py
JSON (JavaScript Object Notation), specified by RFC 7159 (which obsoletes RFC 4627) and by ECMA-404, is a lightweight data interchange format inspired by JavaScript object literal syntax (although it is not a strict subset of JavaScript 1 ).
Warning
Be cautious when parsing JSON data from untrusted sources. A malicious JSON string may cause the decoder to consume considerable CPU and memory resources. Limiting the size of data to be parsed is recommended.
json exposes an API familiar to users of the standard library marshal and pickle modules.
Encoding basic Python object hierarchies:
though I'd rather just parse it as is, and only then apply the schema
you can add to_json and from_json to classes
(which would produce/cosume a dict normally)
class A(object):
def __init__(self):
self.b = 1
self.c = 2
a = A()
a.__dict__
do you want it automatically handled for you?
is it limited to dataclass-like types?
(record types)
then __dict__ should be fine, for the most part
!e
class A(object):
def __init__(self):
self.b = 1
self.c = 2
a = A()
a.__dict__
@robust lichen :warning: Your 3.11 eval job has completed with return code 0.
[No output]
the problems begin when you need to deserialise
!e
class A(object):
def __init__(self):
self.b = 1
self.c = 2
a = A()
print(a.__dict__)
@robust lichen :white_check_mark: Your 3.11 eval job has completed with return code 0.
{'b': 1, 'c': 2}
because, if you don't specify what type you serialise it as, json can't know
deserialising B here is non-trivial
class A:
name: str
class B:
a: A
for int/str/bool it's easy because usually they're interpreted as is
{ "a": { "name": "example" } }
{ "a": [ "name": "example" ] }
it doesn't know that it needs to cast values to type A
unless you explicitly tell it so in some place
I think Pydantic helps solving this
https://docs.pydantic.dev/latest/
Data validation using Python type hints
!e
import pydantic
@vocal basin :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | import pydantic
004 | ModuleNotFoundError: No module named 'pydantic'
eh, not pre-installed in snekbox
async def foo() -> List[str]:
from typing import List
I think you can use list[str] if you're on the latest PyPy
if it fully supports Python 3.9
(or fully enough, at least)
!d typing.List
class typing.List(list, MutableSequence[T])```
Generic version of [`list`](https://docs.python.org/3/library/stdtypes.html#list "list"). Useful for annotating return types. To annotate arguments it is preferred to use an abstract collection type such as [`Sequence`](https://docs.python.org/3/library/typing.html#typing.Sequence "typing.Sequence") or [`Iterable`](https://docs.python.org/3/library/typing.html#typing.Iterable "typing.Iterable").
This type may be used as follows:
```py
T = TypeVar('T', int, float)
def vec2(x: T, y: T) -> List[T]:
return [x, y]
def keep_positives(vector: Sequence[T]) -> List[T]:
return [item for item in vector if item > 0]
```...
Deprecated since version 3.9:
builtins.listnow supports subscripting ([]). See PEP 585 and Generic Alias Type.
when (if) PyPy ever implements Python 3.10, Union would also be mostly unnecessary
(and Optional)
!e
from typing import Optional
print((int | None) == Optional[int])
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
there still are places where Union is the only way to go
| isn't universal
TypeVars and Generics will probably stay for longer
because of how their bounds are specified
even though 3.12 has new syntax for generics
from datetime import date
from pydantic import BaseModel
# Declare a variable as a str
# and get editor support inside the function
def main(user_id: str):
return user_id
# A Pydantic model
class User(BaseModel):
id: int
name: str
joined: date
my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
second_user_data = {
"id": 4,
"name": "Mary",
"joined": "2018-11-30",
}
my_second_user: User = User(**second_user_data)
now I'm trying a tierlist of typing's classes
well, in some sense it's data validation too
what do you mean by structs, again?
doesn't Go have some package for it?
encoding/json
!d dataclasses
Source code: Lib/dataclasses.py
This module provides a decorator and functions for automatically adding generated special methods such as __init__() and __repr__() to user-defined classes. It was originally described in PEP 557.
The member variables to use in these generated methods are defined using PEP 526 type annotations. For example, this code...
or just Pydantic models themselves
User here is basically a struct
you can create User from its fields
like my_user is created there
neither complete nor objective
S: Self, Annotated, TypeGuard, TypeVarTuple, Protocol, reveal_type, TYPE_CHECKING
A: Callable, Concatenate, Final, final, Unpack, NewType, assert_type, assert_never
B: LiteralString, Never, ClassVar, Generic, TypeVar, NamedTuple, dataclass_transform
C: TypeAlias, Type, Literal, Required, NotRequired, TypedDict, IO, TextIO, BinaryIO
D: NoReturn, ParamSpec, ParamSpecArgs, ParamSpecKwargs, overload, get_overloads, type_check_only
E: Union, runtime_checkable, cast, no_type_check, no_type_check_decorator
F: Optional, ForwardRef
!d typing.reveal_type
typing.reveal_type(obj, /)```
Reveal the inferred static type of an expression.
When a static type checker encounters a call to this function, it emits a diagnostic with the type of the argument. For example:
```py
x: int = 1
reveal_type(x) # Revealed type is "builtins.int"
``` This can be useful when you want to debug how your type checker handles a particular piece of code.
The function returns its argument unchanged, which allows using it within an expression...
!d typing.TYPE_CHECKING
typing.TYPE_CHECKING```
A special constant that is assumed to be `True` by 3rd party static type checkers. It is `False` at runtime. Usage:
```py
if TYPE_CHECKING:
import expensive_mod
def fun(arg: 'expensive_mod.SomeType') -> None:
local_var: expensive_mod.AnotherType = other_fun()
``` The first type annotation must be enclosed in quotes, making it a βforward referenceβ, to hide the `expensive_mod` reference from the interpreter runtime. Type annotations for local variables are not evaluated, so the second annotation does not need to be enclosed in quotes.
!kindling @thick pulsar
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
Big Billy is the biggest wet willy & no one can ever take that away from him! Subscribe to my channel for more videos like this: @TheKiffness
EUROPE TOUR 2023 TICKETS: https://linktr.ee/thekiffness
2 Sept - London
4 Sept - Amsterdam
5 Sept - LiΓ©ge
6 Sept - Paris
7 Sept - Munich
9 Sept - Stuttgart
10 Sept - Frankfurt
11 Sept - Berlin
12 Sept...
@uncut basin π
π
Howdy howdy.
I have noodles, and yes.
Yeees.
Mi Gorreng.
Howdy, Nate.
The Indomie ones.
General vs local.
Maybe?
Talking with co-worker
let Prelude =
https://prelude.dhall-lang.org/v19.0.0/package.dhall sha256:eb693342eb769f782174157eba9b5924cf8ac6793897fc36a31ccbd6f56dafe2
let companyName = "Example Dot Com"
let User = { name : Text, account : Text, age : Natural }
let users
: List User
= [ { name = "John Doe", account = "john", age = 23 }
, { name = "Jane Smith", account = "jane", age = 29 }
, { name = "William Allen", account = "bill", age = 41 }
]
!e python a = [[1,2,3],[4,5,6]] print(a[0][1])
@amber raptor :white_check_mark: Your 3.11 eval job has completed with return code 0.
2
!e
my_list = [[1, 2], [3, 4], [5, 6]]
for l in my_list:
print(l[1])
for i in range(3):
print(my_list[i][1])
@terse needle :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 2
002 | 4
003 | 6
004 | 2
005 | 4
006 | 6
!d map
map(function, iterable, *iterables)```
Return an iterator that applies *function* to every item of *iterable*, yielding the results. If additional *iterables* arguments are passed, *function* must take that many arguments and is applied to the items from all iterables in parallel. With multiple iterables, the iterator stops when the shortest iterable is exhausted. For cases where the function inputs are already arranged into argument tuples, see [`itertools.starmap()`](https://docs.python.org/3/library/itertools.html#itertools.starmap "itertools.starmap").
@wind stone π
from itertools import islice
# Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> Optional[ListNode]:
def iterate_nodes(node):
yield node
while node.next is not None:
node = node.next
yield node
a = set(iterate_nodes(headA))
b = set(iterate_nodes(headB))
shared_nodes = len(a) + len(b) - len(a | b)
if not shared_nodes:
return None
target_index = len(a) - shared_nodes
return next(islice(iterate_nodes(headA), target_index, target_index + 1))
yo i'm back
gofek on the grind
banned
lmao
ban this guy for being too kind
I just finished a module
on mod 3
yeah i'm so fast
I could probably finish this weeks work in 2 weeks
sarcasm
i'm not fast
hahahahah
I definitely agree though about the discipline. Motivation comes and goes
discipline is the effort you put in when motivations gone
Yeah I guess you could look at it that way
thats why I eat only 2 meals from Mc Donald's per day
discipline
oh god that sounds terrible
I haven't seen him
really?! once?!
You should go to the gym
oh gotchu!
ofc
oh god hes back
forgot the italics
haha
yeah it was sarcasm
I find it interesting that sarcasm is hard to simulate with ai
I wish there was a sarcasm simulator
I'm very sarcastic to chat gpt and it always goes "im so sorry if I upset you"
so fun
hahaha
yeah what a fake apology
I should go confront gpt
"this has been a long time coming but I don't think we can do this anymore" chat gpt convo
hit enter too quickly
I suck at typing for my age
I recently started learning
I type properly
all fingert
fingers
Im not an index finger master
really
thank god for him
made such a good language for his one finger
It helps with productivity for sure
yeah you can acheive goals despite haveing handicaps
just makes it easier when you don't have those handicaps
and it all comes full circle
1 finger = motivation, both hands equal discipline
*typing with your finger can be represented as 1 and with the hand can be represented as 1^10 so therefore... oh wait..... *
Stuck dealing with support again
mental torture task
Fun
intersection?
is that the recent news
def length_of(head: ListNode | None):
height = 0
while head:
height += 1
head = head.next
return height
class Solution:
def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> Optional[ListNode]:
length_a = length_of(headA)
length_b = length_of(headB)
if length_a > length_b:
length_b, length_a = length_a, length_b
headA, headB = headB, headA
for i in range(length_b - length_a):
headB = headB.next
while headA is not headB:
assert headA and headB
headA, headB = headA.next, headB.next
return headA
||(: eyes -- colonise -- that's why British flag)||
lactocse intolerant
I just got back
I was in the zone so I had to take off headset
working on the coursera
data analytics
yeah just started
It's cool
hahhahaa keep me away please
most finance jobs are crazy boring (in my opinion)
tough
this gofek guy is so ignorant smh
gofek too kind ban him
i'm here
I'm still doing coursera
trying to finish mod 3
almost done
I'M SLOW
jeez
dude I can go 1.5
that's what I watch it on
headphones
wow look at you
they're alright headphones, they work well for gaming
my pen and pencil are more useful in my hands than the python developers keyboard
I also only have 1 monitor
so I keep having to swap back here to type
did I ask
sarcasm
hahaha
im jk
me and my 6 headsets
exactly
nothing funny like degrading
sleep is my kryptonite
I'll say oh I just need 30 mins and then I take 2 1/2 hours
fuck up my entire sleep schedule
it's bad
what's the point of 20 mins
it's the same as watching tiktok for 20 mins
how?
you just reset your brain by watching the most braindead videos on the internet
hmmmm I'll try it maybe
sarcasm by the way guys
wait what
repeat that again
oh okay
I could just remember everything honestly
just a skill issue
chat gpt asks me for info
I am one of the nodes for gpt
yeah I am a videogame addict
I am working on my discipline
I can't
I suck at multi tasking
yeah
that too
true but it's not speeches that I struggle with it's all the assignments it asks me to do
I can't write an essay while clutching up in valorant
oh okay yeah I could do that more
you just say the p word
look at this guy
hahaha
HE SAID THE P WORD
GET HIM
perfection
ofc
win win win win
I win, you win, coursera wins, and valorant advertising wins
finished mod 3
on mod 4 now
flies win ofc
what book?
i don't read books often at all
I listen to youtube videos on why I lose all my money in day trading while I cook my grain of rice that I can afford
all I can eat
only 1
soon I can reach nirvana
random stuff
nirvana is the state of tranquility basically in buddhism
it's the state that buddha reached I believe under a tree after eating a single grain of rice for like 30 days
yeah enlightenment
yeah some interesting story that means just be compassionate
And a really good band
Smells like a spirit of a teen is saying this
like something that is going against what you want
a rebel
a problem
YES
i think
idk star wars that well
do you read the info that coursera gives you dilligently or do you just go back when you need to know it for quizzes and what not
yeah I use control f a lot
when needing to find the answers to anything
wow good for you
I get 16/15 on my quizzes
welcome back
huh
goofy ahh
hwo the hell do you finish a whole course in a day
it's gonna take me like 2
idk man you built diff
all those monitors
what's your goal for learning all this info?
I mean are you emplyed or looking for a job or just learning to learn!
cool man that's nice
nice bro
yeah I don't enjoy learning unless it's how to win in val
okay sounds good man
alr hmu on discord when you're back
ye for sure
I gotta knock out his course too
hit me with a dm
thanks man you too
okay
im back
@lunar haven
whatsup
im actually gonna practice guitar for a bit
I talk without listening
as soon as I can talk I will haha
I will be able to in 3 days
wait what
idk what that means
is it related to a problem you were working on
facts
you are a parrot
jk
you are a goose
someties you talk but when you do its bad
@midnight agate this has some interesting potential for optimisation
https://leetcode.com/problems/subtree-of-another-tree/
currently exploring that
you still working on the course
oh
nah take ur break
I was just curious if you were here
ill be back in a sec
the dumber the solution, the worse the problem text, the more balanced the ratio is
I'm back now
it always matters
its only black and white
I am just 0 though
cause theres nothing in my head
empty up in here
ya
HAHAHAHA
THIS IS SO GOOOD
facts
emojis cute
also why do I have a green emoji nextt o my name now
oh nvm
I am here
bruh
NAH I WAS PLAYING GUITAR
this mf
no I'm taking a break from coursera
I'll continue later this evening lmao
mf is top G
bros multitasking
i know
it funni
daddy
lol
@lunar haven look in my bio
cuh
kk
yes
real
real
ong bro
real
real
ur top G teir maroloccio
ong hot real rela gang shiot
I will translate
@vocal basin
"idk what I said before man"
what is rela
his vocabulary is too advanced for us
indian L @lunar haven
yeah i do to
i cant understand them half the time :c
sad
but there cool
what

am the better duck
you are a parrot
then what is it then
I'm holding my hair I think
lmao
you should ask the wife
@lunar haven where ya from you have a cool accent
which animal
@lunar haven thats pretty cool
lol
r u italian maroloccio
DONT SAY UR FROM PARROT LAND'
yey
am esponol but i dont speak spanish so you can call me dadddy for lack of a better name
no dominican
