#voice-chat-text-0
1 messages · Page 174 of 1
C unions? or proper unions?
algebraic types
enum in Rust
actually, structs and enums are both algebraic types
but, as structs are kind of omnipresent, the term is often used for enums specifically
structs are "products"
enums are "sums"
products like cartesian products
!e
from itertools import product
print(*product([1, 2], ['a', 'b']))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
(1, 'a') (1, 'b') (2, 'a') (2, 'b')
!e
from itertools import product
print(*([1, 2] + ['a', 'b']))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
1 2 a b
all values of struct (digit, character)
all values of union digit|character
yes, that's what actual unions are
some languages allow it
Rust's enums are unions of non-overlapping (tagged) sets
C's unions are unions of possible modes of access to some area of memory
(historically, some languages referred to types as "modes" in that meaning)
as in Result<E, E> isn't just E
!e
from itertools import product
T = {'a', 'b'}
ResultTT = set(product({'Ok'}, T)) | set(product({'Err'}, T))
print(*ResultTT)
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
('Ok', 'a') ('Err', 'a') ('Ok', 'b') ('Err', 'b')
after understanding lifetimes, there's still pointer provenance to be learned
@whole bear you know that overhyped partial re-implementation of Python called Mojo?
they allege that they are adding lifetimes and move semantics
"it's not an open-source language, so I don't believe it exists"
Fireship published a video
I think it's literally The Reason why we even know about Mojo
it was a very wrong benchmark
it's online demo, I think
you can apply for trying it out
why are people even forking it
29 commits
187 forks
9.2K stars
wait, why are you comparing trees?
use hashes if you need equality
struct Wrapper {
x: &i32;
define set(&self, val: &i32) {
self.x = val;
}
}
define indirection(val: &Wrapper) {
val.set(&22);
}
define main() {
w = Wrapper {x: &10};
indirection(&w);
}
generating a more complex structure on top might help
sometimes
(search structure instead of search algorithm)
speaking of Lisp and searching syntax trees,
https://github.com/tree-sitter/tree-sitter
but this is for analysis, not for compilation
wasn't navigation weird too
like p, l, r, n or something
I forgot
pnfb
previous
next
forward
backward
last time I used Vim for >1 hour at a time was on android (in termux)
more convenient for me than any other mobile editor
ggdG -- instant code improvement in Vim
C-a backspace
@whole bear
"I don't need a linter. I am the linter."?
VS[ Code]'s Ctrl+. is what IDEA uses alt+enter for
iirc, in the regular VS, I have both keybinds configured to that
I have sublime associated to .txt too
or the other way
idk what the proper grammar for that is
interfaces are just better, but...
actually, empty (implementation-wise) abstract classes are mostly equivalent to notion of interfaces both in Python and C++
Python also has typing.Protocol for something between interfaces and traits
formalised duck typing
I should actually check how I implemented the "what variables a syntax node uses" in my language
abandoned, never published
both, I guess
(like Python)
5 months ago I fixed a bug, I think
bytes -----> Parsed ---available variables--> Linked -----------------------values--> Evaluable
<--required variables--- ---index--> Indexed ---values--> Evaluable
it looks so cursed
{
(_div)(_zq)
/(gcd)
(_a)(_b)
/
/
[_a]
/
/
/
[_b]
/
[_a]
[_div]
[second]
[gcd]
/
[_b]
/[_a][_zq]
[YC]
|
_gcd
}
I don't remember what byte code it generates
this is what it gets reduced to
/|_div?|_zq?/|gcd?|_a?|_b?//[_a?///[_b?/[_a?[_div?[second?[gcd?/[_b?/[_a?[_zq?[YC?|_gcd?
though all the special symbols are actually not represented with valid displayable ascii
(normally)
I don't remember when I last started a project when I knew even a half of what's required for it
maybe I'm just estimating it differently
there are way too many nuances for reading/writing files
- if else branching 2. for and while loops 3. data types - lists, tuples, dicts, strings, ints
@whole bear I suggest PyCharm because it will show you issues with types and, quite importantly, formatting
PyCharm Pro, if you can get it via student license
PyCharm Community otherwise
PyCharm's typecheck is a little weaker than Pyright
first Java code I ever wrote was in notepad.exe too
that was
11 years ago?
@vocal basin thank you
social platforms also differ in what they're going to ban you for
quite an important factor for some users
:incoming_envelope: :ok_hand: applied timeout to @pulsar meadow until <t:1691543225:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
any suggestions for a high end webcam ??
this is something you should Google yourself
https://www.tomsguide.com/best-picks/best-webcams
but I've done it for you this one time
i am not sure between elgto face cam and logitech brio
that's a choice only you can make
ello
playing red dead redemption two
i was not hearing
i fixed my audio output
now you can talk
hello
what happened
carry oon
no
hello @lean galleon how are you doing
hello @rugged root , @dry jasper
how are you all doing
hie
anschütz
Decent enough.
late response.. but to the webcams.. i seen apps that let you use your phone as a pc cam.. so if you got old phone.. generally the cams are better anyways then standard webcams..
My new book: https://www.darkwebstersdictionary.com/
Upcoming feature film:
hi
can't talk cuz I'm in the train
@errant delta you can use a keyboard and mouse with a phone
I was, today
not at all
just use a usb c hub
and it'll work fine
or it did on my phone anyway, on a Samsung A52S 5G
wtf
yes?
wonky kerning
In typography, kerning is the process of adjusting the spacing between characters in a proportional font, usually to achieve a visually pleasing result. Kerning adjusts the space between individual letterforms while tracking (letter-spacing) adjusts spacing uniformly over a range of characters. In a well-kerned font, the two-dimensional blank sp...
@rugged root please explain
why does auditwheel lddtree output all its output to STDERR
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I don't know what that is
auditwheel is basically for packaging binary dependencies in a wheel
delvewheel does the same thing on windows for DLLs
it's actually really nice weather here for a change
Hello Guys!
for solving a rubiks cube we need to use dfs or bfs
it's graph problem
Anyone?
I have no words!
well the way we humans solve it is by first solving 1 side with the first layer around it solved which is relatively easy to do and then follow it up by looking for patterns and doing specific steps according to the pattern to get the pieces in the right places
and keep doing that until its solved
@pine depot Thou hath abandoned me
and at some point the steps become muscle memory and you just take a glance at the cube and forget about it while your hands do the moves
"In the year twenty-five twenty-five..."
Only bar graphs would be tall enough to accommodate them
what if jiraffes is a name of a data structure
If they're very animated, would they be gifraffes?
updated version of graph only accept non duplicate
like set for list
what is the other difference b/w set and list other than duplicate
which is better to use and why?
How do u guys have lot of knowledge how can i also gain
Doing this for a lot of time, seeing things where I'm like "Huh, why is that that way" and asking questions just like you are now
class HashSet:
def __init__(self):
self.limit = 10
self.bucket = [None for _ in range(self.limit)]
def add(self, val):
self.bucket[self.__hash__(val)] = val
def find(self, val):
return self.bucket[self.__hash__(val)] is not None
def __iter__(self):
self.bucket.__iter__()
# bad hash function
def __hash__(self, val):
return sum(ord(char) for char in val) % self.limit
^ just to make sure this is a really bad implementation please don't copy paste
xD
i gotta go now see you guys later @somber heath @rugged root
Why are they suggesting you use pip3 on Windows
!pypi keepercommander
What is the easiest developer tool ? that u thing it is easy to built
I'm not sure I follow what you mean
developer tool likes postman api?etc..
I guess it depends on what you're doing. Typically the easiest/most important dev tool is your editor or IDE
Second would be documentation for the language or various libraries you're using...
But yeah, really just depends.
but i am asking which is esy to built
I don't really have a good answer to that. When it comes to most tools I use, they're already made
iirc, some trees produce more co2 than they consume
Amazon rainforest, including emitters other than trees, is claimed to have co2 production > co2 consumption
plants consume a lot of oxygen, just like any other complex life on Earth
Well Well co2 production > co2 consumption it's real
then why o2 is more than co2 is planet earth?
because that ratio has only recently started being this way
because humans
produce lot of co2
Scientists estimate that roughly half of the oxygen production on Earth comes from the ocean.
and?
other sources
ocean consumes just above of what it produces
same for forests and other places
whereas human activity just produces
i think o2 is not a problem on this planet
problem with co2 emissions isn't that o2 will disappear
the issue is that co2 has heavy effect on climate
(theoretically, at least)
@noble copper that fake language?
we can plant more trees
better start sooner
Trees take time to grow
that;s why grow trees not plant
actually, in the ocean, seaweed isn't what does most of o2/co2 things
or kelp or algae
this thing
https://en.wikipedia.org/wiki/Diatom
A diatom (Neo-Latin diatoma) is any member of a large group comprising several genera of algae, specifically microalgae, found in the oceans, waterways and soils of the world. Living diatoms make up a significant portion of the Earth's biomass: they generate about 20 to 50 percent of the oxygen produced on the planet each year, take in over 6.7 ...
though it is algae
can co2 we use as engine
but very non-conventional algae
fuel?
("algae" isn't a proper taxon)
Gotcha
it's already oxidised
co2 is common product of burning stuff
actually
you can use CO2 to emit energy
but at high temperature
but you know what the product is?
CO
probably we don't want that
iirc, it is more stable at high temperatures
population is the biggest factor
if you somehow store it instead of releasing into the air, it might be fine
"but now you have another problem"
and fertility rate is also decrease
In next 100 yrs 7billion+ people died
only few billion people left so quantity of co2 is also decreased after 100 yrs
It's Parker Global warning Hypothesis
I saw near-perfect-triangle cloud once
cursed experience
like, a giant one
ig, that's just how air flows
DO u guys think in next 100yrs earth population decrease
may be less than 4-5billion
Global
100 years -- I'd expect no
Wdym
does anybody know how to install C++ build tools on linux?
build tools as VS build tools?
or GCC/Clang?
vs build tools
what compiler do you need?
if MSVC, I wouldn't expect it to work
@rugged root yes and that's the problem
This is allowed in 3.12
>>> f"This is the playlist: {", ".join([
... 'Take me back to Eden', # My, my, those eyes like fire
... 'Alkaline', # Not acid nor alkaline
... 'Ascensionism' # Take to the broken skies at last
... ])}"
'This is the playlist: Take me back to Eden, Alkaline, Ascensionism'
I like
if you want to compile regular .exe -> compile on windows
you want to compile .exe and are okay with more complex packaging -> g++-mingw-w64
if want to compile for linux -> you don't need vs build tools
Python seems somewhat more strict in how it's organised
object.method being a method call is eh
What's wrong with that?
screen.clear() doesn't make sense?
without ()
it looks okay in Haskell/F#/etc. because there it actually returns something
it's messages not methods
in some interpretation
so
object.method means "response of object to message method"
Ick
-- the convention is to not use it
-- not use parentheses?
-- no, the language
HA
every language other than Rust does monads wrong
and Rust is just not sure yet about how it does it
Haskell's classes are a little confusing
but they can be made to work
yes
no that classes
mathematical classes
like traits
Goooootcha
or way too concise
F#
Monad m usually means that m is a generic over one element
but not necessarily
3 minutes per year
Ada has a spec
Rust doesn't
eh
they have a reference
and std/core docs
Finally, this book is not normative. It may include details that are specific to rustc itself, and should not be taken as a specification for the Rust language. We intend to produce such a book someday, and until then, the reference is the closest thing we have to one.
Algol, introducing lambdas 46 years before Java
actually, wouldn't expect it to be 0
if it's Algol-derived
and old
like
if index type positive, it's 1-based
if index type is non-negative, it's 0-based
I think
not sure if that's actually true
Since you can use any discrete type to index an array, enumeration types are permitted.
I guess that's the thing it's actually about
This comparison of programming languages (array) compares the features of array data structures or matrix processing for various computer programming languages.
Ada is 1980
first two examples here produce the same result
depsite indices being 1~5 and 11~15
because different types
like enumerate but in reverse
@rugged root are u familiar with ML ??
Not really. I'm aware of it but it's not something I have the brains to look too deep into
enough terms in the polynomial?
monomials
iirc coefficients are multiplied by something like 1/k! to have them more balanced
that'd give [1,1,1,1,1,...] for exp
or [1,0,-1,0,1,0,-1,0,...] for sin
because that corresponds to kth derivative
check dm @rugged root ?
This video describes the steps needed to launch the JavaScript code for the Lenia application. It also walks the user through the different options and includes a discussion on how to use the Python version..
Thanks to Bert Chan who has been working on these for the last couple of years and sharing his discoveries.. and Conway for the Game of L...
well, at least not in the middle of email
ads, if inserted that way not by the sender, would cause some issues
class MyClass:
def __onit__(self):
pass```
hello
@mortal crystal do you want to be able to send to gmail?
anyone aware of any java or kotlin library similar to sympy?
is there any way to develop a mobile app that uses the sympy
it cant use the internet
idk what this is but seems adjacent
https://github.com/axkr/symja_android_library
yeah tried it
not quite as good as sympy
have you used kivy for devloping a mobile app
if kivy runs, I'd expect sympy to run too
yeah it doesn
may be missing some non-python dependencies
does
but
does kivy have any limitations to using java or kotlin other than the looks
I'd expect it to be possible to integrate java and python somehow
i havent used it enough to tell the difference, well i dont even know andriod development using java or kotlin
i am new to programming so was expecting a little help on that
the only way i found was hosting the python code on a server and call it
but i need the app run without the internet
Sigma Dg 120-400mm f4.5/5.6 APO HSM (condition new)
halo
funny seeing these side by side
whats up
@rugged root
"ChatGPT, fix this printer"
hello @somber heath
Everyone ded?
!e py print(*['Hello, world.'] * 5, sep = '\n')For demonstration only.
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
004 | Hello, world.
005 | Hello, world.
hello :D
Help me
i don't understand why is it called "half precision" and "double precision" lol
I need to pint hello world in brainf
sounds so arbitrary
The IEEE Standard for Floating-Point Arithmetic (IEEE 754) is a technical standard for floating-point arithmetic established in 1985 by the Institute of Electrical and Electronics Engineers (IEEE). The standard addressed many problems found in the diverse floating-point implementations that made them difficult to use reliably and portably. Many...
!d numpy.dtype
class numpy.dtype(dtype, align=False, copy=False[, metadata])```
Create a data type object.
A numpy array is homogeneous, and contains elements described by a dtype object. A dtype object can be constructed from different combinations of fundamental numeric types.
2^32 -1?
!d print
is there a unsigned float type
damn
i thought ppl love performance :/
like fast shits
standardised -- unlikely
there's float80 in C
i see
woah
i don't exactly how "floating point" is represented in binary
10^10101010101001 x 1.0101010101010
10101010101001 0101010101010
(only the general idea)
in binary scientific notation, digit before . is almost always 1, so it just gets dropped
!e
print(b'\x86+O\xb9\x9b'.hex())
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
862b4fb99b
Fleauxtyng poynt presizzeon.
@orchid mauve Yo
hi there
i dont understand why
if it's this, what it's different from 0 itself?
Functionally nothing. But it's pre-allocating those bytes ahead of time
!e
print(b'\x00')
print(b'\0')
print(bytes([0]))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | b'\x00'
002 | b'\x00'
003 | b'\x00'
wait
is this like a heap
just different ways to write it
like no fixed storage and allocating ahead of time?
idk in the rust context lol
i see
0 byte is 00000000 in binary
hex binary (big-endian)
\0 00 0000 0000
\xA8 A8 1010 1000
@sour yew Yo
im looking for a solution to a particular problem and theres not many places where
i would be able to find it
anyway
how much time do i have to spend on messaging manually so that i can speak xd
its like 30 min no?
oh aight aight
loops so data has fun during its ride
you can leak data via optic cable if you loop too much, iirc
Btw someone asked about the problem i had and aa,
there is a fantastic (free) extension that is available on chrome its called "voice in speech-to-text". I was trying to find its api or some fetch, requesthtml parts of code that could tell me sth about it, but there's nothing. Reason i'm looking for it is a project where i need to use some external STT api, and i was wandering how in criccets its possible that this extension is free. Like there is no way they dont sell your data
Could possibly packet sniff
it is literally transcribes what you say real time to text for free virtually
See where they're going to and from
It looks like a little dude holding it
My friend showed me how physics can be used to extract a signal from a fiber without having to destroy it. This kind of fiber tapping could be a threat for long-distance fiber networks.
-=[ 🔴 Stuff I use ]=-
→ Microphone:* https://amzn.to/2LW6ldx
→ Graphics tablet:* https://amzn.to/2C8djYj
→ Camera#1 for streaming:* https://amzn.to/2SJ66...
okay so, it seems the app functions but doesn't transcribe offline so
there is some connection obv
anyway i was able to see when while transcribing the software sends requests somewhere
but particular code responsible is in some damn hierogliphs xd
if it's an extension, it's likely webpacked
not even necessarily obfuscated
(like, unintentionally obfuscated)
- dotdot
- it's Microsoft, they should've known better
btw about selling your data part
how often do you think it happens
frequency isn't the question, the volume is
yeah exactly
Making a like mdos wdyt guys
like its 15 dollars per hour PER USER for using stt for 20 hours
thats insane
it means the data they gather with this extension is worth quite some sum
there was this app which conducted ddos attack on turkey and some places i watched some vid on yt
the thing is this app was reviewed fantastically
4.7 stars sth
many i dont remember the exact name but its in millions man
some youtuber from cybersecurity space made a vid about it
whats with your obsession of rekt computers coast xD
i see
kind of beyond tech support though here
right
just install some water cooling
what is the most complicated/interesting project you have ever done guys?
specs?
@sour yew You can verify now. Go to #voice-verification and do !voiceverify. You'll have to disconnect/reconnect from the call for the permission to kick in
here
Making a pass gen with pwned checker using haveibeenpwned api and using hashlib or a phpmyadmin with a sub services with login css and reg and sub check
b'Hello World!'
starnge
b'\xff\xf8\x00\x00\x00\x00\x00\x00'
!e
ham = "spam"
pork = b"spam"
print(ham == pork)
beef = ham.encode('ASCII')
print(pork == beef)
@rugged root :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | False
002 | True
see ya
lifetime coupling!
SELECT * LIMIT (?,?)
torch.tensor objects
but like
idk if i turn into str can i revert to obj
!d queue.Queue
class queue.Queue(maxsize=0)```
Constructor for a FIFO queue. *maxsize* is an integer that sets the upperbound limit on the number of items that can be placed in the queue. Insertion will block once this size has been reached, until queue items are consumed. If *maxsize* is less than or equal to zero, the queue size is infinite.
!d multiprocessing.Queue
class multiprocessing.Queue([maxsize])```
Returns a process shared queue implemented using a pipe and a few locks/semaphores. When a process first puts an item on the queue a feeder thread is started which transfers objects from a buffer into the pipe.
The usual [`queue.Empty`](https://docs.python.org/3/library/queue.html#queue.Empty) and [`queue.Full`](https://docs.python.org/3/library/queue.html#queue.Full) exceptions from the standard library’s [`queue`](https://docs.python.org/3/library/queue.html#module-queue) module are raised to signal timeouts.
[`Queue`](https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Queue) implements all the methods of [`queue.Queue`](https://docs.python.org/3/library/queue.html#queue.Queue) except for [`task_done()`](https://docs.python.org/3/library/queue.html#queue.Queue.task_done) and [`join()`](https://docs.python.org/3/library/queue.html#queue.Queue.join).
!d asyncio.Queue
class asyncio.Queue(maxsize=0)```
A first in, first out (FIFO) queue.
If *maxsize* is less than or equal to zero, the queue size is infinite. If it is an integer greater than `0`, then `await put()` blocks when the queue reaches *maxsize* until an item is removed by [`get()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.get).
Unlike the standard library threading [`queue`](https://docs.python.org/3/library/queue.html#module-queue), the size of the queue is always known and can be returned by calling the [`qsize()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.qsize) method.
Changed in version 3.10: Removed the *loop* parameter.
This class is [not thread safe](https://docs.python.org/3/library/asyncio-dev.html#asyncio-multithreading).
there are three
this should be in threading.Queue
this is to share between multiple python interpeters
i.e. if you're using multiprocessing module
are you using threading?
how many threads are putting elements into the queue?
and how many are consuming
single producer single consumer is simplest to think about, because it has deterministic order
order, which objects are returned in, is mostly the same as the order in which they're pushed
except for edge cases, when multiple threads push at the same time or multiple threads pull at the same time
under 5ms
5ms is default context-switching delay
if timeout runs out, it's the same as if no get happened at all, in terms of preserving order
this one is simpler to handle, because it doesn't create extra threads
and, until GIL is removed, it has better performance characteristics
is it CPU-intensive? or IO-bound?
are you using requests?
there's httpx and aiohttp
httpx works both for sync and async
I've only used aiohttp; it's good enough most of the time
discord.py is built on top of aiohttp
it was never even close to being a performance bottleneck for what I was doing
httpx mostly behaves like requests
aiohttp is in its own isolated world
(aiohttp works for server side too, and there it doesn't have any form of ASGI compatibility, at least out-of-the-box)
aiohttp is pretty similar to requests as well
httpx and aiohttp[ 's doc writers] seem to have a little different view on what "default" way of structuring response handling is
aiohttp docs using more of async with response: rather than plain await response
image -> neural network -> inputs
learning a mapping:
image -> inputs
stimulus -> response
but in what way would httpx be more similar to requests
A next-generation HTTP client for Python.
it aims to be similar to requests
sync httpx code is mostly same as requests code
I'm fully aware of that
read my question
in what way is httpx more similar to requests
than aiohttp
at least, aiohttp is async-only
is that all?
!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
seems a bit of a stretch to make this statement based on that
hmmm
most of other differences are just naming, I think
@vocal basin thank you so much for pointing me toward the right directions
the way i have it implemented now
the way i am about it implement it
likely, this should be a file path, not a folder path
also, you're pointing to the root of the file system, which I wouldn't expect to be a valid html template
is that flask/django/something else?
... if that gets interpreted by the function/method as a file path
A discord multi-purpose bot
oh thats cool
continue...
can you add a discord game in the bot
do you know how to do that ?
no I dont
'!expr SUB|SUM expr'
https://www.gnuradio.org/about/ @whole bear
hello
“The God of the Old Testament is arguably the most unpleasant character in all fiction: jealous and proud of it; a petty, unjust, unforgiving control-freak; a vindictive, bloodthirsty ethnic cleanser; a misogynistic, homophobic, racist, infanticidal, genocidal, filicidal, pestilential, megalomaniacal, sadomasochistic, capriciously malevolent bully.”
RICHARD DAWKINS, THE GOD DELUSION P.31.
Hello @mellow lark
you have to be in the discord for at least 3 day and send 50 text in chat
@mellow lark
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Ah sorry. I didn't know
Yeah xD.
Basically I am starting my python journey and planning to learn web scarpping
Scrapy?
@brave mica 👋
It's a bummer I can't speak xD. Gotta meet the criteria soon.
yeah. Considering the sheer number of members it's a necessary evil.
!voice @brave mica 😁
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I clean installed like 3 days ago xD
A scandal erupted in 2005 regarding Sony BMG's implementation of copy protection measures on about 22 million CDs. When inserted into a computer, the CDs installed one of two pieces of software that provided a form of digital rights management (DRM) by modifying the operating system to interfere with CD copying. Neither program could easily be u...
If you've been a long time windows user switching to Linux is going to really annoying at first
Imma go now. Gotta study for my exams
vice versa too
SUPPORT US ON PATREON - https://bit.ly/36Hg7ZY
ALL SOCIALS - https://linktr.ee/vldl
TWITCH - https://www.twitch.tv/team/vldl
MERCH - https://vldl.shop
SONGS - https://bit.ly/2OBeB4O
------------------- SERIES PLAYLISTS ------------------
Epic NPC Man: http://bit.ly/NPCman
Bored: http://bit.ly/VLDLbored
PUBG Logic: http://bit.ly/PUBGlogic
FPS...
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
hey i can't speak
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@opaque karma 👋
@bold mica 👋
You're using what?
Wow
@echo garden Was that at me?
yes, i apologize if i talk over someone i do not hear him.
I understand.
anyhow, how have you been lately.. i had a old friend show up the other day, from another state it was his first time here
I'm under stress. Not exactly uncharted waters. 😁
Hello all 😄
too many people. got scared
stress? she aviable later?
@slow venture 👋
HEY OPALL!!!
been agesss
I got my marks for 1st semester

Nice! How did you do?
Thank youuu
I got deans award so pretty happy with the result
Woo
yayayaya thanks guys!
congrats !!
I suspect our tastes differ.
hows everyone going?
i suspect the suspcisons are suspect to be assumed as such?
Whoa!! Awesome job!
thank youuu still got a long way to go
How long is your program?
You got this!
which is why i type

Watch Jean-Claude Van Damme carry out his famous split between two reversing trucks. Never done before, JCVD says it's the most epic of splits -- what do you think? Please share & comment!
This live test was set up to demonstrate the precision and directional stability of Volvo Dynamic Steering -- a world first technology that makes the Volvo ...
Official 4K Video for “Handy” by “Weird Al" Yankovic
Listen to “Weird Al" Yankovic : https://weirdalyankovic.lnk.to/listenYD
Subscribe to the official “Weird Al" Yankovic YouTube channel: https://weirdalyankovic.lnk.to/subscribeYD
Watch more ““Weird Al" Yankovic videos: https://weirdalyankovic.lnk.to/listenYC
Follow “Weird Al" Yank...
@median lantern 👋
@somber heath when things go over my head i usually let people know that it i did, if i resort to joke it usally an indication that i compeletely understood and possibly understand you need to keep it afloat in context with no basis of actually saying something that needn't be said understood as gentelmen. im generally an individual that needs little input to get the point of the whole picture.
yes
i have i
im plutted state right now
can't spell when i type quick most times
Hi
right
I'm sorry, but it seems like "plutted" might be a typo or a term not widely recognized. Could you please provide more context or check the spelling? I'll be happy to help if I understand what you're referring to.
dude this stuff has put me on cinshaw
crinshaw
my brain is in the hood but my body is telling my brain chill
Hey please guide me guys I’m a beginner in django
You may be well served by asking around in the #web-development channel. You may also like to look to the #❓|how-to-get-help channel. 🙂
Stoners waiting for the stop ✋ sign to turn green ....
Subscribe to my channel 🙏
syalater
not my site
don''t buy, just neat af
@whole bear
oh thanks @obsidian dragon
these are sweeeet!
that looks straight out of jurassic park
... fog is clowds?>
but maybe its about at what height you are
Hi everyone. I have no microphone
Yes, fog is just low to the ground clouds
or vapers
"Why does the fog smell like tootie-fruity?"
Ah yes, the gum that tastes good for 2 chews
Then right after that, disappointment
@wind raptor halp
Excel why
It's a consolidation sheet
There there.
@sly yarrow 👋 hi
Welp please
@molten pewter Sup
Sup
A Machine Identification Code (MIC), also known as printer steganography, yellow dots, tracking dots or secret dots, is a digital watermark which certain color laser printers and copiers leave on every printed page, allowing identification of the device which was used to print a document and giving clues to the originator. Developed by Xerox and...
Is Voice Chat 0 always this active?
Comes and goes
Sorry I'm going to be a bit. Talking with the accountant that is working on this account to try and get these reports generated properly
"Come sit at this table. I dare you."
it was surprisingly clean for having cats on the tables.
I'm sure they clean it on the regular
@rugged root change server or something?
nw, fixed now
Looking to contribute to Open Source Projects for the first time? Want to add a feature or fix a bug on the bots on this server? We have on-going projects that people can contribute to, even if you've never contributed to open source before!
Projects to Contribute to
• Sir Lancebot - our fun, beginner-friendly bot
• Python - our utility & moderation bot
• Site - resources, guides, and more
Where to start
- Read our contribution guide
- Chat with us in #dev-contrib if you're ready to jump in or have any questions
- Open an issue or ask to be assigned to an issue to work on
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
Be back shortly
@tepid edge list/tuples have quite a lot of fundamental/semantical differences that can make that question difficult
I'd place typing above immutability for tuples (because immutability for tuples is python's thing, not general)
lists are expected to store objects of same type
tuples aren't
as in you don't expect different thing type-wise based on index
example: list[object] = [1, "2"]
# not okay for lists:
print(example[0].bit_length())
print(len(example[1]))
should be no collisions little number of collisions per hash
worst case for insertion is O(N) even with perfect hash condition
because resizing
amortized is O(1)
@dry jasper only at CPU level
no one predicts what will while do in high-level code
high-level code being machine code here (and above)
Rate this out of 0 to 💀 Discover the next-gen of worst experience of pyOS – an OS with Python, blurring the lines between functionality and simplicity with new useless features that if you look into abyss of code you will have more questions than you start off.
most of linux now qualifies as OS with Python, given it's pre-installed often
optimising compilers can, very rarely, do that, but normally not many steps ahead
x = 0
while x < 5:
x += 1
for y in range(5):
pass
problem with predicting both while and for loops is that it usually involves mutability to calculate
but CPU will do that anyway because it doesn't know what's right and what's wrong
at least it will throw away what's wrong when it finds out
all my ctf experience, as far as ctftime says
I installed kali linux on my pc without a vm
XSS isn't what its name says, generally
it commonly referes to code injection
not necessarily involving any extra sites
I'm guessing it's the compairson that slows it down
whereas actual cross-site scripting is thing that many companies use regularly
but now that tends to go away, because it's a security hole
"what if closest fruit requires permit to cross the border"
"no, that's a no-zeppelin zone"
time to make AI write this again, but now about "like"
https://gist.github.com/afeistel/abf736d0d93c5b0579f20d788c206839
@rugged root
I didn't even ask it to do this
Oh dear god
okay, so what I tried to do failed
(I tried to make it add ", like," in each sentence)
Oh yeah, passed away in 2015. Back in a sec
@dusky lynx can't get passwords from the DB, normally
because requires a key to decrypt that the DB doesn't store
... if done correctly
@dusky lynx password managers don't know your passwords
that's The Reason why they are viable at all
that's why, for example, passwords.google.com is not a password manager
if you don't want someone else to see the contents of what you store, encrypt
you can't really undercut Amazon
your only hope is deploying somewhere Amazon is inaccessible
containers rather than VMs, for cheaper
Russia, Belarus, China, North Korea
@rugged root "now you're fixing printers all over the CDN offices"
at least you get to fly to wherever the hell the next data centre gets deployed
for smaller amounts, you might get a chance by using better but less accessible hardware
(because Amazon is less likely to bother; they might as well just wait until you figure it out so they can consume your company)
iirc, CPUs even without superconductors are already nearly hitting limits that even superconductors would face
(speed of light stuff)
it's property of space, speed beyond that is just undefined
Interesting
@rugged tundra half life just corresponds to probability
particle doesn't store how long it's lived for
entanglement can be perceived as information travelling beyond speed of light
Interesting
if you change frames of referrence properly, it can even be perceived as information travelling back in time
@rugged root opposite
it got proved
quite early
"spooky action at a distance" is a special case of decoherence
decoherence being observation/reduction of entanglement
Gotcha
that's not a regular "bell curve"
because you can't go under 0 seconds
(which normal distribution would do)
some sources claim that entanglement has been shown to work at over 1'200km
make entangled pair
distribute it
poke it to see what it contains
collect values in one place
if you poke it before distributing, then poke again after, data turns out differently, because cursed quantum maths
never was suitable
quantum mechanics also predicts some things to travel back in time
but that has zero actual effect
even if it contributes to results, theoretically
Because it already has happened, right?
you can't extract information, even if mathematically it is transferred
"too blurry" in a sense
Gotcha
another reason why quantum maths is cursed
https://en.wikipedia.org/wiki/Bell's_theorem
Bell's theorem is a term encompassing a number of closely related results in physics, all of which determine that quantum mechanics is incompatible with local hidden-variable theories, given some basic assumptions about the nature of measurement. "Local" here refers to the principle of locality, the idea that a particle can only be influenced by...
^ how entanglement allows to "cheat" maths without any data transfer
Gotta love it
there was a video with a car's cam warning the driver about traffic lights
traffic lights on a truck that was delivering them somewhere
That's amazing
here we go again with the "I can't think of anything" supper
Better than what I would do
"Eh, fuck it, guess I'm not going to bother eating then."
why is everything red
thats just my background
that's not a luxury I can afford
!source
tis done
Bon appetite
thx
getting attacked by insects
why are there so many
just surrender
perish
they're obviously dominant
at least spiders have something to eat
buy uv lamp 10$
spiders better than insects, they're allowed to live
https://www.curseforge.com/minecraft/modpacks/realcraft
@scarlet halo
Thats what im looking at
Spelis123
im working on the same bot
ye
anyone willing to help me with my music module?
it downloads files as .webm succesfully and isnt giving me any errors but for some reason still wont play in the vc
!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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
https://paste.pythondiscord.com/BUEA
Theres the code
no
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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
It's very heavily based on javascript
[generic] Extracting URL: https://rr5---sn-qxoednee.googlevideo.com/videoplayback?expire=1691745872&ei=8KnVZOCoL_2nlu8PhqO_...nNJjoQlwPc938Q%3D%3D
[generic] videoplayback?expire=1691745872&ei=8KnVZOCoL_2nlu8PhqO_4AM&ip=35.225.93.9&id=o-ANGq52nghp1TuDmDk8cq6WPKiU6QBaxyn8jqudSvZ6DI&itag=251&source=youtube&requiressl=yes&mh=N4&mm=31,26&mn=sn-qxoednee,sn-5goeenes&ms=au,onr&mv=u&mvi=5&pl=22&spc=UWF9f35C5F_XbJvTjMLvfYqOcmBDhBo&vprv=1&svpuc=1&mime=audio/webm&gir=yes&clen=3348634&dur=222: Downloading webpage
[info] videoplayback?expire=1691745872&ei=8KnVZOCoL_2nlu8PhqO_4AM&ip=35.225.93.9&id=o-ANGq52nghp1TuDmDk8cq6WPKiU6QBaxyn8jqudSvZ6DI&itag=251&source=youtube&requiressl=yes&mh=N4&mm=31,26&mn=sn-qxoednee,sn-5goeenes&ms=au,onr&mv=u&mvi=5&pl=22&spc=UWF9f35C5F_XbJvTjMLvfYqOcmBDhBo&vprv=1&svpuc=1&mime=audio/webm&gir=yes&clen=3348634&dur=222: Downloading 1 format(s): fwebm
ERROR: unable to open for writing: [Errno 36] File name too long: 'videoplayback [videoplayback?expire=1691745872&ei=8KnVZOCoL_2nlu8PhqO_4AM&ip=35.225.93.9&id=o-ANGq52nghp1TuDmDk8cq6WPKiU6QBaxyn8jqudSvZ6DI&itag=251&source=youtube&requiressl=yes&mh=N4&mm=31,26&mn=sn-qxoednee,sn-5goeenes&ms=au,onr&mv=u&mvi=5&pl=22&spc=UWF9f35C5F_XbJvTjMLvfYqOcmBDhBo&vprv=1&svpuc=1&mime=audio⧸webm&gir=yes&clen=3348634&dur=222].unknown_video.part'
seeing as I can't talk is anyone able to help me. My python environment is totally messed up, I'm using WSL
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@sacred crag #❓|how-to-get-help if nobody here is in a position to help.
TX! will try
@boreal ocean 👋
https://www.youtube.com/watch?v=m-PJmmvyP10
Thats the video I downloaded
△ Merch @ https://store.alanwalker.no △
My new single "Alone, Pt. II" with Ava Max is out now!
Check out the song here: https://lnk.to/AWAlonePtII
Walkers! So excited to finally release my new single «Different World» with the talented Sofia Carson, K-391 and CORSAK! I am blessed to have a voice that can spread the important message behind...
@somber heath about your description : "An educated world rewards everyone".
Could you develop more ?
@minor elm 👋
Heyy
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
haha
Thanks
Sorry I'm new
Slither
In
Nah
yeah
I'm trying to learn Pyton
Python
Are you Guru?
Are there jobs?
How many years have you been programming in Python?
Can I be your student?
Thoughts on Code Bro?
He does YT tutorials
corey schafer
Is he good?
New programmers often need small projects to work on as they hone their skills. This is a list of project ideas that beginners can tackle.
Learn the basics of computer science from Harvard University. This is CS50, an introduction to the intellectual enterprises of computer science and the art of programming.
💻 Slides, source code, and more at https://cs50.harvard.edu/x.
⭐️ Course Contents ⭐️
⌨️ (00:00:00) Lecture 0 - Scratch
⌨️ (01:45:08) Lecture 1 - C
⌨️ (04:13:23) Lecture 2 -...
These are my current
That's I'm getting into
I do 1 hour per day
I work full time
so can only do 1 hour
Thanks man
I really do apcicate the advice ❤️
mmmmmmm
I use onenote
I also comment what things do
This is where i am at so far
I understand these concepts well
YESSSS
That's what I need
Can you link
one '?
Do you load in vs code?
no
ahh
Like mark up
hahah
I have it now
Just Installed it
Thanks
Yeah for sure
Whats a fun project to start with?
Yeah I can do that
Can I do Spicy Role play games haha?
What have you made with Python
like what are your proudest moments?
well
Do you do it for a job?
I am not that good with python
well i'm a student
but i have like an intermediate-low level in python
i have been making a snake game (runs in the command line)
and also a few cellular automaton
Can you send without comments?
XD
And I can try figure out how it works?
i don't think there is too much comments
but you need to run it in a unix-like shell
git bash would work
the problem is that it uses concepts you have not yet seen, especially object-oriented programming. I recon you come back to it after you learned that.
👋
Thanks man!
ok, but you must know that DMs is not really accepted in discord servers. Especially since, in a public chat, everyone can answer, so you get faster and more diverse answers.
so I encourage you to use the dedicated channels for help.
some don't like DMs, partly because trolls abuse it, but also because people can be annoying, keeping asking questions as if you were google.
but if it is a real question, i'm always happy to answer
i mean you better just ask like you just did ^_^
If I may join the conversation...
I am totally new to python Come more from a PHP background
For now just saying hi
hi
Hey Ye
Thanks Oskar
Yeah I'll only message you about serious stuff (Project Ideas)
Good to build a network
I will remmeber your help and be just as helpful when I'm a guru teaching
@unborn storm Seeing as it's just us what are you up to
i'm currently working on a large translation project. Hoping to use A carefully engineered prompt to use the Microsoft custom translator api
XD i'm not a guru at all, but thanks
I believe you are intelligent enough, I was just explaining the reason
nice
Allgoods man, You can ask me too
sorry. I didn't realise you were still here.
Hi @vivid jacinth
yes
It's a complicated topic It's generally advised to provide between 3000 and 5000 question and answer sets
Do you wanna share your screen and demo the example
ah that's O K
ah. thanks @somber heath
Sorry I didn't quite catch that
ah 👍
Always gonna be one genius
@somber heath i'm trying to tell on your accent where you're from. am I right to assume Australia/NZ
BLUEY!!!
It's apparently Australia's biggest cultural export.
I have tickets for the premiere of the live show in London. i'm a massive Bluey fan
PyOs worst os out their
it's a theater production https://events.bluey.tv/
now back to JSON parsing
I'm just setting up the script.
@rocky pebble @graceful dirge 👋
Oh, hello.
Whats the best ide for python?
hi
I use VS Code. seems popular
Ok thx
what's your environment. What OS are you running it on. Do you work locally or on a remote server