#voice-chat-text-0

1 messages ยท Page 161 of 1

vocal basin
#

but this is for speech recognition

#

not generation

#

I think

clever jasper
#

What if both.

#

Kind of? What do I do to fix it then?

vocal basin
#

partially, at least

velvet tartan
#

class SingSong(nn.Module):
def init(self):
super().init()
self.wav2vec = ""

clever jasper
#

So what line would I replace with this?

vocal basin
#

I'm almost sure that repo is just unfinished/abandoned

clever jasper
#

Same error

#

Oh...

#

Okay, thank you.

elfin bone
#

What is import is

#

Os

ashen plinth
#

Hi Chris, @lavish rover , for ocen lang project, you seem to be using html also. Can you please share what you are implementing using html here?

#

Audio of chris is not clear for me as well

vocal basin
wise cargoBOT
#
os

Source code: Lib/os.py

This module provides a portable way of using operating system dependent functionality. If you just want to read or write a file see open(), if you want to manipulate paths, see the os.path module, and if you want to read all the lines in all the files on the command line see the fileinput module. For creating temporary files and directories see the tempfile module, and for high-level file and directory handling see the shutil module.

Notes on the availability of these functions:

vocal basin
#

for most of the things you don't need it

#

use pathlib and other modules that represent its functionality in more usable forms

whole bear
#

yes

#

you wanna say something?

#

ik

#

I'm fine

#

what about you?

#

Ig it's not a tuitorial

#

I guess

#

wait lemme sent you a book

#

yes

#

nope

#

python crash course

#

check dm

#

not fishing

#

why tf

#

I can't screen share?

#

check

#

what?

#

nope

#

I don't use github that much

#

You can try atleast

#

He's a software engineer

#

are you new to python?:

vestal hinge
#

yep

whole bear
#

@scarlet halo hey can you share your gameplay?

vestal hinge
#

what's up

scarlet halo
#

sry

whole bear
#

ok

#

Hi

scarlet halo
#

bru

#

h

#

i was playing the game

#

yah blame the game ๐Ÿ˜‚

whole bear
#

Sorry ?

#

Tough you was talking to me earlyer lol

scarlet halo
#

hes not a diaper

#

hmm

#

dri...pr..on

#

diaper!

#

he left

#

lmao

whole bear
#

dude xD

scarlet halo
#

hehe

#

oki

scarlet halo
#

pain suffering and dath

#

darth

#

bro u dont know who darth vader uis

#

ey @lunar haven yourself

surreal cape
#

this book is very neat

#

๐Ÿฆœ

quasi thistle
#

hi guys

#

hi man

#

we get u man

#

hahaha

#

wtf man hahaha

whole bear
#

poor gargxyle ๐Ÿ˜ฆ

scarlet halo
#

@hasty flame

scarlet halo
whole bear
#

xD

#

hahaha ๐Ÿ˜„

scarlet halo
#

good job

#

sleep

whole bear
#

sorry

#

๐Ÿ˜„

scarlet halo
#

ya you to

#

too*

#

bye

#

fuck

#

CALL YOU?

#

nah

whole bear
#

u good man

scarlet halo
#

who? me? nah

noble solstice
#

he use bfs

somber heath
#

SuperTuxKart.

neon vigil
#

Dive with me into the world of Chladni plates and the weird sand pattern they create. Will my GPU catch on fire? Thereโ€™s only one way to know!

The Patreon is here! https://www.patreon.com/UselessGameDev
Get bonus video content and the source code for all the projects!

More reading/watching on this subject:

  • Steve Moudlโ€™s video explaining Chl...
โ–ถ Play video
dry jasper
#

@somber heath

noble solstice
#

@zenith radish What's ur experience and job profile?

willow ruin
#

@somber heath less gooo, underwear weed

noble solstice
vocal basin
#

"great for whom? for Microsoft -- probably not that much"

noble solstice
noble solstice
# vocal basin "great for whom? for Microsoft -- probably not that much"
LeetCode

Can you solve this real interview question? Koko Eating Bananas - Koko loves to eat bananas. There are n piles of bananas, the ith pile has piles[i] bananas. The guards have gone and will come back in h hours.

Koko can decide her bananas-per-hour eating speed of k. Each hour, she chooses some pile of bananas and eats k bananas from that pile. I...

vocal basin
#

my approach

willow ruin
zenith radish
zenith radish
#

"These people don't even know I work at MSFT"

willow ruin
whole bear
#

@somber heath unparalleled talent

vocal basin
#

somewhat odd average track length

#

it's getting worse

whole bear
#

what up bois

rugged root
#

@scenic trail I have no idea if you were actually sleeping or not, but your noise was coming through

#

Please mute between talking

whole bear
#

let him cook

somber heath
#

What Dreams May Come is a 1998 American fantasy drama film directed by Vincent Ward and adapted by Ronald Bass from the 1978 novel of the same name by Richard Matheson. Starring Robin Williams, Annabella Sciorra, and Cuba Gooding Jr., it won the Academy Award for Best Visual Effects and the Art Directors Guild Award for Excellence in Production ...

#

What Dreams May Come, Requiem for a Dream.

vocal basin
#

why is discogs rendering 0 seconds as 0 not 0:00?

#

"did they really not think someone would release a song 0 seconds long?"

rugged root
vocal basin
#

that's so odd
why is it handling them differently

rugged root
#

Which part

vocal basin
#

duration

#

first is in a separate td with duration class

#

second isn't

#

it does not properly render 0 seconds duration

rugged root
#

Ohhhh

vocal basin
#

well, I guess, "track position 368" might sound odd too

#

average duration of songs on the album is 2.04 seconds

rugged root
#

Hell of a short song

vocal basin
#

album is ordered in almost alphabetical order
it's like someone tried to sort it but didn't really care that much

rugged root
#

Good ol' "meh" sorting

nimble epoch
#

guess who's backkkkk

rugged root
#

Who?

vocal basin
#

the story of first woman to be in space is quite sad

nimble epoch
nimble epoch
#

It is

vocal basin
nimble epoch
#

whaaat

vocal basin
#

@dusk raven pull is local
fetch is remote

#

does fetch ask?

#

eh

#

fetch gets data

nimble epoch
#

hahahahaha

vocal basin
#

pull often implies fetch

#

but not necessary

#

so, like, checking fetch vs push is more fair comparison, I think

#

weird anyway

dusk raven
#

i am sry

molten pewter
zenith radish
#

Nuh uh

vocal basin
#

"how dare you think about making things reliable? do you want to put all the maintenance people out of job?"

rugged root
#
vocal basin
#

well, if you spend enough money on buying decorations from the right person

rugged root
#

That'll tell you what you need to know

molten pewter
vocal basin
#

for achievement -- no

#

what do you get from having that achievement?

#

@midnight agate rounding mistakes happen with log, often

#

I had to fix that on some other problem

#

!e

from math import log
print(log(3 ** 13, 3))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

12.999999999999998
vocal basin
#

!e

from math import log
print(log(2 ** 31, 3) - log(2 ** 31 - 1, 3))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

4.2386361087665136e-10
vocal basin
#

1e-10 should be fine

#

it's lowest you'll ever need divided divided by 4

cosmic bison
#

What about Duel?

vocal basin
#

did you try 1e-10?

#

it's not related to float epsilon

molten pewter
#

ISO/IEC 24734

vocal basin
#

difference will never be lower than 4e-10

#

differences between log(n+1) and log(n) always decrease with n increasing

rugged root
#

!paste @lofty sand Can you toss your code into the hastebin?

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

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

rugged root
lofty sand
oblique ridge
#

how you go faster? manual sorting ig?

#

i max 60% faster using dictionary and built in sort which is n log(n) iirc

surreal cape
#

used Counter from builtin collections module

#

then returned the most_common

oblique ridge
#

ooh cheeky

surreal cape
#

||```
from collections import Counter

class Solution:
def topKFrequent(self, nums: List[int], k: int) -> List[int]:
counts = Counter(nums)
return [i[0] for i in counts.most_common(n=k)]

vocal basin
#

(so it doesn't add extra lines below and above)

surreal cape
#

oh, neat

#

ty

oblique ridge
#
    def isMonotonic(self, nums: list[int]) -> bool:
        positive = True if nums[-1] - nums[0] > 0 else False
        for i, _ in enumerate(nums[:-1]):
            if nums[i + 1] - nums[i] < 0 != positive:
                return False

        return True

the != should be xor and the xor logic works when i write the whole thing out as if elif

#

but

#
    assert not Solution().isMonotonic([5, 3, 2, 4, 1])
AssertionError
#

even though the rest of the cases worked properly ```
big diff is True
0 2 1 False
1 2 2 False
2 3 2 False
returns true

big diff is False
0 5 6 True
1 4 5 True
2 4 4 False
returns true

big diff is True
0 3 1 False
1 2 3 True
returns false

*the only wrong case
big diff is False
0 3 5 True
1 2 3 True
2 4 2 False
3 1 4 True
returns true

vocal basin
#

for monotonic
||```py
from operator import le, ge
from itertools import pairwise, starmap

class Solution:
def isMonotonic(self, nums: List[int]) -> bool:
return all(starmap(le, pairwise(nums))) or all(starmap(ge, pairwise(nums)))

oblique ridge
#

ooh i see

#

but also is my assumption of != incorrect? that should just behave as xor which i've written out previously and worked properly when done so

vocal basin
#

also

#

it can all be the same element

oblique ridge
#

oh ye i just realized the same num case ye

vocal basin
#

so positive-negative isn't all choices you have until you start iterating

oblique ridge
#

but that's not why this assertion is messing up
oh well

rugged root
nimble epoch
#

hello mustafa

#

hello opalmist

#

hello lockhem

somber heath
rugged root
#

@haughty pier Long time no see

cosmic bison
#

brb, gonna switch OS back to linux

rugged root
#

!e

spam = "ham"
spam[1] = "b"
print(spam)
wise cargoBOT
#

@rugged root :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     spam[1] = "b"
004 |     ~~~~^^^
005 | TypeError: 'str' object does not support item assignment
somber heath
#

!e ```py
class MyClass:
def del(self):
print('Farewell!')

a = MyClass()
b = a
del a
print('Hello!')
del b```

wise cargoBOT
#

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

001 | Hello!
002 | Farewell!
rugged root
#

Thanks, I hate it

oblique ridge
#

forgot to show the issue in try except

#

context manager >> try except
when possible to use

vocal basin
#

(is what context managers abstract away)

#

context managers can have except logic, but usually shouldn't

#

!e

from contextlib import contextmanager
@contextmanager
def ignore():
    try: yield
    except Exception: pass
with ignore():
    1 / 0
wise cargoBOT
#

@vocal basin :warning: Your 3.11 eval job has completed with return code 0.

[No output]
#

7.7. The yield statement


yield_stmt ::=  yield_expression
``` A [`yield`](https://docs.python.org/3/reference/simple_stmts.html#yield) statement is semantically equivalent to a [yield expression](https://docs.python.org/3/reference/expressions.html#yieldexpr). The yield statement can be used to omit the parentheses that would otherwise be required in the equivalent yield expression statement. For example, the yield statements

```py
yield <expr>
yield from <expr>
```  are equivalent to the yield expression statements...
vocal basin
#

!e

from contextlib import contextmanager
@contextmanager
def ignore():
    try: yield
    except Exception: pass
mgr = ignore()
type(mgr).__enter__(mgr)
print(type(mgr).__exit__(mgr, ZeroDivisionError, ZeroDivisionError(), None))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

True
vocal basin
#

True returned from __exit__ ignores the error

#

!d unittest.TestCase.subTest

wise cargoBOT
#

subTest(msg=None, **params)```
Return a context manager which executes the enclosed code block as a subtest. *msg* and *params* are optional, arbitrary values which are displayed whenever a subtest fails, allowing you to identify them clearly.

A test case can contain any number of subtest declarations, and they can be arbitrarily nested.

See [Distinguishing test iterations using subtests](https://docs.python.org/3/library/unittest.html#subtests) for more information.

New in version 3.4.
vocal basin
#

this, for example, is such context manager

somber heath
#

!e ```py
def gen():
yield from 'abcdef'

g = gen()
print(next(g))
print('Hello!')
for each in g:
print(each)```

wise cargoBOT
#

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

001 | a
002 | Hello!
003 | b
004 | c
005 | d
006 | e
007 | f
somber heath
#
def gen():
    yield 'a'
    yield 'b'
    ...```
vocal basin
#

yield from does some extra magic, but it doesn't actually matter

somber heath
#

next pulls out a single yield from g

vocal basin
#

!e

def gen():
    yield 'a'

print(dir(gen()))
wise cargoBOT
#

@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.

['__class__', '__del__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__lt__', '__name__', '__ne__', '__new__', '__next__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'close', 'gi_code', 'gi_frame', 'gi_running', 'gi_suspended', 'gi_yieldfrom', 'send', 'throw']
vocal basin
#

gi_yieldfrom

somber heath
#

!e ```py
def gen():
for letter in 'abcdefg':
yield letter

g = gen()
print(next(g))
print('Hello.')
for letter in g:
print(letter)```

wise cargoBOT
#

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

001 | a
002 | Hello.
003 | b
004 | c
005 | d
006 | e
007 | f
008 | g
cosmic bison
#

btw, opinions? This is old. But I think this feature is neet. But it can make compilation slower. Altho, it does let you put data into an array the first time without initializing it with empty values first. Which, in theory at least, should be faster at runtime? The compile time problems only occur when creating the object files from the llvm code and only for large arrays.

oblique ridge
toxic arch
#

yoooooooooooooooooooo

lofty sand
oblique ridge
#
>>> arr = [1, 2, 3]
>>> print(arr)
[1, 2, 3]
>>> print(*arr)
1 2 3
#

kwargs[arg1]

#

my_function(arg1='whatev')

turbid sandal
#

101010100101

#

010101011010

#

*@#$

#

1 0 00 11
; : # *

rugged root
#

Back in a little bit, have to do some audio recording

whole bear
#

@visual mango hey r u real satoshi?

toxic arch
#

@lunar haven hi

whole bear
#

@turbid sandal r we talking with satoshi really?

#

๐Ÿ‘ป

lofty sand
#

@turbid sandal

  1. Does filesize matter?
  2. would "you" - "host" the encrypted file? (yeah ik p2p)
  3. How about using a pw for encrypted files?
whole bear
#

@visual mango hey, bitcoin!!!!!!!!!!!!!!!!

lofty sand
oblique ridge
dense crown
#

Is a HashMap more like a list or a dict?

#

Oh, I like that

#

Is there a way to get the functionality of a dict without the performance of a HashMap? Why would you do that?

lofty sand
#

its called list comparision via index?

dense crown
#

Because I've heard of people using a HashMap instead of some other thing for performance

#

In other languages

lofty sand
#

thus a dict woudl be faster

dense crown
#

Lists and HashMaps aren't the same

lofty sand
#

key in a list sense is just an index

#

so you can parse a list, gets its index and compare it to another list = what a dict does

dense crown
lofty sand
#

oh right.. why.. not how ๐Ÿ˜‰

dense crown
cosmic bison
#

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

dense crown
#

Does anyone here know why NaN exists?

cosmic bison
#

but I'm not sure

dense crown
#

Why not just use None

#

Or raise a catchable error

cosmic bison
#

because NaN is a part of the floating point standard

#

IEEE defines it

dense crown
#

I guess so

cosmic bison
#

the language can implement catchable errors. But floating point is a standard that is language agnostic

dense crown
#

Is there an int NaN?

cosmic bison
#

no. Not as far as I know

dense crown
#

Strange

#

I wonder why

#

Or asyncio

cosmic bison
#

Floats are weird

dense crown
#

Wait, is this a Q&A chat?

cosmic bison
#

and use something similar to scientific notation

dense crown
cosmic bison
#

yeah

dense crown
#

It's not like there's a moderator here

#

Were they not archived?

#

That's not really nice

#

That's horrible

#

They're still here

wanton lintel
#

Stars will be appreciated lads!!

dense crown
#

Why are you making your own?

#

What do you develop in?

#

Oh, you're making your own language

#

For fun?

oblique ridge
#

lol

cosmic bison
#

#[Copy]

glad knoll
#

Hey @lunar haven

#

Yess

#

To say hi

#

I do IoT stuffs

#

IoT

#

Internet of things

#

We use jetson

#

So python is more apt

#

Jetson controllers

viscid lagoonBOT
#
Wikipedia Search Results

The Jetsons
The Jetsons is an American animated sitcom produced by Hanna-Barbera Productions. It originally aired in prime time from September 23, 1962, to March

List of The Jetsons characters
The following is a list of major characters in The Jetsons, an American animated comic science fiction sitcom produced by Hanna-Barbera Productions and

glad knoll
#

Hahahha

#

.wiki Jetson nano

viscid lagoonBOT
#
Wikipedia Search Results

Nvidia Jetson
Introduces $99 Jetson Nano Developer Kit by Jean-Luc Aufranc on March 19, 2019 on CNXSoft Links to Jetson Nano Resources & Wiki Nvidia Jetson Developer Kit

PhyCV
this section, we demonstrate running PhyCV on NVIDIA Jetson Nano in real-time. NVIDIA Jetson Nano Developer Kit is a small- sized and power-efficient platform

glad knoll
#

Hahahha

#

What do you do?

#

You work?

#

๐Ÿ˜ญ

#

I wish i could vc

#

Sad

#

What do you do in python?

#

AI/ML?

#

Okay

#

I got voice verification done

#

Still I'm not able to speak lol

#

I'm not gonna vc chill

#

You racist haha

#

Where are you from?

oblique ridge
glad knoll
#

Is the stream related to python?

#

Looks like a math text book ngl

oblique ridge
#

welcome to algos lol

cosmic bison
glad knoll
#

Is anyone familiar with industrial cameras here?

oblique ridge
#

i used to work physical security stuff when i was network engineer

#

hella cams and stuff

glad knoll
#

Ohh

#

Help me choose a lens which has less distortion

#

No fisheye effect

oblique ridge
#

the one with the narrowest fov

glad knoll
#

Less than 65ยฐ

#

?

#

Vision sensing

#

Btw I'm able to speak now

#

Object detection basically

#

Yes got it

#

I chose imx477

#

Sony sensor

#

But the lens was a bad choice

#

Yes i can

#

I have a 6mm lens

#

So I'm planning to go with something above 25mm

#

Will that work?

#

Sorry i lost you

#

Okay got it

#

Alright then

#

I'll sleep

#

Thanks for the help

ashen plinth
#

@cosmic bison could you please share your screen if possible for the compiler work that you are working on. I am interested to see generators in pyython

cosmic bison
#

I can't screenshare unfortunately ๐Ÿ˜ฆ

ashen plinth
#

that's okay. Thanks

#

Both I guess. I am beginner with Python and learning data structures. If I understand correctly, I guess you arre implementing generators for your own language

#

I know there is yield that we use in generator

#

the steps followed when we use generators and state part is what I don't understand correctly. next, iter are called

west epoch
#

@lunar haven how is your study of SSSP algorithms going on?

#

@cosmic bison I understand what tokenization is normally. But what exactly is tokenization in programming

#

Hash set will work for the keys alone

#

Tokenization converts keywords to objects?

cosmic bison
#

that kid was being confusing

#

Its hard to explain

west epoch
ashen plinth
west epoch
#

@cosmic bison do you mean in python we cannot return a reference any time?

lavish rover
west epoch
#

Okay, yeah I thought we can return reference in python

lavish rover
#
import std::sdl::{this, ttf::{this, Font}}
import std::vec::Vec
import std::vector::Vector
elfin bone
# wise cargo

oh so i can use os to play russian roullete with my computer right @vocal basin

cosmic bison
lavish rover
#
char* format_string(const char* format, ...) {
  va_list args;
  va_start(args, format);
  int size = vsnprintf(NULL, 0, format, args);
  va_end(args);
  va_start(args, format);
  char* s = (char*)calloc(1, size + 1);
  vsprintf(s, format, args);
  s[size] = '\0';
  va_end(args);
  return s;
}
elfin bone
#

hey guys

#

.pop

#

removes something

#

right

#

.pop removes

lavish rover
#

ye

elfin bone
#

ok

#

thanks mustafa

toxic arch
#

yeah thx mustafa!

elfin bone
#

FUCK YOU @toxic arch

toxic arch
elfin bone
#

WOFO WOOF

#

WOOF WOOF

#

BARK

#

WOOF WOOF

toxic arch
#

wtf puppy

elfin bone
#

YEAH

#

BARK

#

NO

#

NOW

toxic arch
#

wat

elfin bone
#

SHITBAG

#

FUCK YOU

#

just kidding

toxic arch
#

yeah

elfin bone
#

i dare you

#

to ask out

lavish rover
elfin bone
#

a python mod

toxic arch
#

my cuteness makes your heart sing!

toxic arch
elfin bone
#

you're*

cosmic bison
elfin bone
#

shitbag

#

ok

#

sorry

#

learn to spell

#

fuckhead

#

@toxic arch

#

im talking to u

toxic arch
#

no its not

#

you idiot

#

its your

#

your heart

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @elfin bone until <t:1688678402:f> (10 minutes) (reason: burst spam - sent 8 messages).

The <@&831776746206265384> have been alerted for review.

cosmic bison
#

import math::*

lavish rover
#
import math

math::pow()
cosmic bison
#

10**0.5

#

10.times_two()

#

define times_two(x:i32) -> i32;

toxic arch
#

why was @elfin bone banned?

cosmic bison
#

define multiply(x: i32, y:i32) -> i32;

10.multiply 10

ashen plinth
#

@dim robinafa which hashing algorithma had you implemented? any chnace I could maybe refer to them

lavish rover
#
def memcpy(dest: untyped_ptr, src: untyped_ptr, size: u32) extern
lavish rover
toxic arch
#

seagulls

west epoch
#

@cosmic bison does untyped pointer mean it can point to any of the data types of the language (like int, float, str) ?

lavish rover
#

for me at least, yeah

#

it's just some memory

west epoch
#

In python, aren't most pointers actually untyped pointers?

#

Oh yeah, we have references right in python instead of pointers

tropic epoch
#

hello guys

west epoch
#

I actually wanted to ask if most references are actually untyped references in python? (Not sure if there is another term for this in Py)

tropic epoch
#

because i am muted

#

in channel voice

west epoch
#

Okay, that makes sense. I guess we can say Reference is just pointing to a memory chunk and it can hold any data type in Python

lavish rover
west epoch
# lavish rover

Is this your own oecn lang? I see some lines have a semicolon at the end, others don't. Not sure if they belong to different langs

lavish rover
#

fist one is ocen, second one is C

#

left semicolon in by mistake in fist image

west epoch
# lavish rover

Thanks! What is this part that is got from the conversion of the first image code called? Is this compiled code

viscid lagoonBOT
#
Wikipedia Search Results

IronPython
IronPython is an implementation of the Python programming language targeting the .NET Framework and Mono. Jim Hugunin created the project and actively

Jim Hugunin
implementations for the Java Platform (Jython) and for Microsoft .NET platform (IronPython); he has also co-designed the AspectJ extension for the Java programming

lavish rover
#

yeah the first image compiles to the second

west epoch
#

Cool!

viscid lagoonBOT
#
Wikipedia Search Results

PyPy
PyPy (/หˆpaษชpaษช/) is an implementation of the Python programming language. PyPy often runs faster than the standard implementation CPython because PyPy

Pytest
Pytest is a Python testing framework that originated from the PyPy project. It can be used to write various types of software tests, including unit tests

toxic arch
#

python

#

@cosmic bison you making your own languiage programming?

#

@lunar haven is streaming python docs

#

goodbye simo

#

bro that tocan guy is goofy

#

would i get banned for sending a video with someone burning the gay flag?

#

proabably

#

yeah

cosmic bison
cinder dawn
#

hello

#

im good hemlock :)) how are you

#

you sound different

#

ohh

cosmic bison
#

@oblique ridge you know you are still in that VC right? Just trying to make sure you didn't forget

high hatch
#

Yo hi

#

I doesn't have the permission to speak man

#

Ohh,yea studying DSA and checkin ur vc to make sure I'm not alone at 4AM here

#

Yup,I'm from scaler

hidden osprey
#

yes?

#

tf is this shit im still learning ๐Ÿ’€

high hatch
#

Immutable : that it can't be changed isn't it?

#

@lunar haven lol yea , imports..
But knowing DS is must @lunar haven

#

Data structure

hidden osprey
#

nah broh im out i better go to sleep it's almost 2 AM And this is a headache for me (for now) lmaoo

#

gn @lunar haven

umbral harness
#

wsp

#

how is lerning coming along

#

thats good

#

ok

#

i would suggest using repil i have been using that to lern and it is helping

#

it is 100 days of python and it can really help

#

yeah

#

it offers that

#

i have been doing that

#

yeah

#

1 or 2 a day for me

#

web

#

@lunar haven there you go

#

it aint a widget

#

try it out real quick

toxic arch
#

@umbral harness

#

are you that tocuan guy?

umbral harness
#

who

#

and day 4

#

well day 5 i finishede day 4 today and day 3

#

finished

umbral harness
#

try it out its free

#

can i try sharing real quick

stoic chasm
#

incredibly bad voice rules... anyway

#

i basically only vc :(

umbral harness
#

can you see it

#

screen

#

mine

#

share screen in discord

#

no

#

i got to go

stoic chasm
#

the bot is just lying

umbral harness
#

did you try it

#

not yet

solar dock
#

HELLO

#

how do i speak

#

thank you

umbral harness
#

lol

#

will you write me a code

#

i want to see what you have lerned

#

ZHAXXY

#

yes

#

yes i am

quick orchid
#

haha ๐Ÿ˜„

umbral harness
#

what is that

#

oh

solar dock
#

im a noob, can you help me start my python exercise

umbral harness
#

yes

#

put on your work space

quick orchid
#

I don't know anything ๐Ÿ˜„

umbral harness
#

print("Hello world")

#

there is your first code

#

||Hi||

quick orchid
#

๐Ÿ™‚

umbral harness
#

yes'yes i do

#

i have never done leet before

whole bear
#

the organic python tutor

#

gofek whatโ€™s your daily schedule like

umbral harness
#

my pycharm dont want to load

whole bear
#

Idek why Iโ€™m here I have no python knowledge

umbral harness
#

i am lerning and you should to

whole bear
#

matrix?

#

I will someday

#

before I start college atleast

quick orchid
#

why I can't talk?

wise cargoBOT
#
Voice verification

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

quick orchid
#

thanks

umbral harness
#

dang

solar dock
#

someone pls help me

#

i have to code a program that balances chemical equations

#

BUT ITS LIKE BASIC STUFF, im just a beginner

#
# First, you will implement find_atoms(reactants). This function returns a list of unique atoms in the provided reactants. For example, if the reactants are [[("C", 3), ("H", 8)], [("O", 2)]], you would return the list: ["C", "H", "O"]. That is, a list of all the atoms that appear in any reactant. Don't include duplicates though!
def find_atoms(reactants):
  return []
#

i just dont know where to start

#

what is a 2d

#

oh

#

i assume so

#

okie, to append the atoms, would i need an if statement to check if its in the list??

#

oh thank u so much

#

bye byee

#
def find_atoms(reactants):
  elements = []
  if atom in reactants:
    elements.append(atom)
  return elements
vocal basin
#

@lunar haven I see you found your way to The Page

#

datamodel reference

#

probably most important page in python reference

#

the page that explains how . operator works

#

bytes mostly behaves like str

#

there's also memoryview

wise cargoBOT
#
Huh? No.

No documentation found for the requested symbol.

solemn igloo
#

ye

#

?

#

yo

toxic arch
#

sand in my potion

solemn igloo
#

better

#

................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

whole bear
#

@faint raven is this your real voice?

craggy tiger
#

HELOO

#

why should i send 50 message to speak in voice connected?

gentle flint
#

to dissuade unpersevering spammers

#

you also need to be a server member for 3 days

#

but you already have been

lucid blade
craggy tiger
willow ruin
#

@somber heath wanna solve basic mathematics lol ?

#

i don't remember how we used to do it lol

#

there you go

#

๐Ÿซก , well at least you guys tried

#

haha

#

lol

lucid blade
#

for instance ...

willow ruin
#

i will try some meth server lol

#

will join you guys later haha

lucid blade
scarlet halo
#

@turbid sandal

scarlet halo
#

hemlock i love this emoji

frosty star
#

hows...it..goin

gentle flint
scarlet halo
#

cool

scarlet halo
#

@frosty star wyd

frosty star
#

heyy

#

workin

#

hbu

scarlet halo
#

playing wii sports

frosty star
#

oh cool

scarlet halo
#

fuck it crashed

#

what game should i play=

frosty star
#

idk i don't hv a wii

scarlet halo
#

gonna play a wii u game

frosty star
#

what

scarlet halo
#

what

#

choose one

frosty star
#

wii u game?

scarlet halo
#

yes

#

wii u

#

game

frosty star
#

oh lol ;-;

#

mybe im just so old i dont keep up w these things

scarlet halo
#

its like the wii

frosty star
#

ahhhhhh

scarlet halo
#

but with a gamepad

frosty star
#

i see

scarlet halo
#

and you can play wii games on it

frosty star
#

does it have pokemon

scarlet halo
#

along with other stuff

#

yhes

#

idk which one tho

#

lol someone installed windows on it

frosty star
#

its been a while since i last played. I only ever played it on the pc tho with the gameboy emulator

scarlet halo
frosty star
#

HaHAAA

#

that's interesting

scarlet halo
#

ya

#

choose one of the games

#

which sounds like the most fun

frosty star
#

legend of zelda

scarlet halo
#

alright

frosty star
#

hv funnn

scarlet halo
#

gonna play it with an xbox controller lmao

frosty star
#

with the wii?

#

how

#

why

scarlet halo
#

idk

frosty star
#

ok man u do u

scarlet halo
#

its similar to normal controllers (and the very cool wii u pro controller)

frosty star
#

oh wait so do u like hook up the wii on to a bigger screen

scarlet halo
#

no

#

i emulate it

frosty star
#

like on the pc?

scarlet halo
#

ye

frosty star
#

oh ok makes sense i spose

scarlet halo
#

y

frosty star
#

no its nothing. enjoy ur gamee

scarlet halo
#

oh sry i meant yea

#

dis too hard for my young brain

#

i came up with the best password

frosty star
#

good 4 u

scarlet halo
#

oh my friend is calling!

#

gonna go

#

cya

frosty star
#

bbye

scarlet halo
#

bbye

rugged root
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

A Byte of Python

#

@amber harbor Yo

amber harbor
rugged root
#

Not much, you?

amber harbor
#

just hanging around

#

you guys r cool

rugged root
#

Eh

#

Coolish

amber harbor
rugged root
#

It is, yeah

amber harbor
#

nah bro , u lying ๐Ÿ˜‚

#

your voice and face doesnt match at all

#

๐Ÿ˜‚

#

I am very very bad at python ๐Ÿ˜”

rugged root
#

Any particular parts of it you're struggling to grasp?

magic solar
amber harbor
rugged root
#

Ah fair fair

#

Inheriant urge to help

nova warren
#

#ifdef

#

#ifndef

#

#define

rugged root
spark warren
#

Yall im a newbie in coding and is trying to follow a course. But i have a little issue. When the length of name is under 3 shouldnt it just print "name must be over 3 characters"?

rugged root
#

So the problem is that you have two if statements

spark warren
#

I see

rugged root
#

Your first if is checked. Then you dive into the second one, and because your string is short, it goes to that else

spark warren
#

aaaaaaaah i see the problem now i thin

rugged root
#

So you'd want to use an elif inste- yep

spark warren
#

I should use "elif" yea

#

That works!

#

Thanks a lot ๐Ÿ˜„

rugged root
#

Happy to help

#

!stream 729627204501372932

wise cargoBOT
#

โœ… @nocturne marsh can now stream until <t:1688743198:f>.

molten pewter
#

Remember Kids

rugged root
rugged root
#

Also, that mask is made of water

#

@somber heath Ooo oo ooo. Combination of MineCraft and Tomb Raider: MineCroft

#

Talking to boss

cosmic lark
#

best language to ever come

somber heath
#

@wind acorn ๐Ÿ‘‹

rugged root
#

!stream 429280535425056775

wise cargoBOT
#

โœ… @cosmic bison can now stream until <t:1688747847:f>.

rugged root
#

@quick badger Yo

nimble epoch
#

Ayyyyyy

rugged root
#

Yo

#

How goes it

nimble epoch
#

Very well

#

How goes it for you

#

what is he working on?

#

Looks fancyyy

rugged root
#

Working on his language

nimble epoch
#

Oh sheesh

#

It's so nice seeing somebody write code from scratch

rugged root
#

Right?

nimble epoch
#

Yeah totally. Everyone I know just uses somebody else's github code and runs it without understanding how it works. I am guilty of this too

#

Watching this stream gives me hope ๐Ÿฅฒ

rugged root
#

I'll probably work on my stuff shortly

nimble epoch
#

Do tag me

#

I'll be back for you

#

My best friend of 2 years

#

Who didn't forget me

rugged root
#

I mean

#

I know you're trying to make me feel guilty

#

Buuuuuuuuuuuuuuuut

nimble epoch
rugged root
#

Not really

nimble epoch
#

Bummer

rugged root
#

My memory is shite

latent steppe
rugged root
#

I am in love with the mascot

#

It reminds me of a Tamagotchi

nimble epoch
cosmic lark
rugged root
#

Not my jam, but at least the little face on it is adorable

cosmic lark
#

very cute

latent steppe
#

considering i can barely follow even FizzBuzz

cosmic lark
#

us

latent steppe
#

:/

rugged root
#

Always a good time to learn

nimble epoch
#

You've known me for 2 years and I haven't moved forward in my programming journey despite my efforts.

#

๐Ÿซก

rugged root
#

Helps if you attend a lesson more than once every year

nimble epoch
rugged root
#

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

#

Just sounded good

nimble epoch
#

Whaaaat

#

But seriously, what was your journey like? Spidertyler seems like one of the super smart ones too. What do you do differently

rugged root
#

Went to college for Computer Information Systems with a focus on coding, was taught Java, VisualBasic, C#. Didn't end up doing anything with it after I got my associates degree and had a breakdown. Picked coding back up about 5 or 6 years ago, just been having fun with it.

I just like to try new languages, learn new things, see how things work and how to break them. I don't have a lot of projects, or at least not many that I've completed.

#

I'm a hobbyist

nimble epoch
#

When you say you picked up coding and had fun with it, what exactly did you do

rugged root
#

First Python thing I did was a Discord bot for another server I was a part of. Later I joined another Python server called "Do You Even Python" and became a helper there. We got absorbed into this Python Discord and I joined as a helper here. So mainly, my knowledge has been built from reading people's problems, researching them, and learning as I go in order to help

#

I think it's because I'm IT. I love helping

nimble epoch
#

harsh

#

So you do have a good memory

#

It's just selective

#

I'll hop off then

#

You may choose to selectively forget me Mr Hemlock ๐Ÿ’”

vocal basin
#

I wonder why voice volumes sometimes get reset
maybe it just hits some upper limit for total number

#

(and earlier settings get dropped)

rugged root
#

Yeah that is a bit weird

vocal basin
#

I'm not even sure that happens in the first place

rugged root
#

@nimble epoch In case you wanted to watch

sour willow
#

wassup hem, af, magic, opal, spider, spelis

vocal basin
#

... when there's any such actual underlying problem in the first place

ashen plinth
#

@rugged root can you please share what is this spacetraders website? Is it your own website or something you ise for getting some data

sour willow
#

i believe windows does this, but its usally implemented by applications

rugged root
#

A unique multiplayer game built on a free Web API. The best sandbox platform to learn a new skill or apply your knowledge in a fun and meaningful way. Use any programming language with our RESTful API to control the most powerful fleet in universe.

vocal basin
ashen plinth
#

That's interesting. Thanks!

amber raptor
vocal basin
#

iirc, pydantic also does json (de)serialisation
(in addition to things you get from dataclasses)

amber raptor
cosmic lark
vocal basin
cosmic lark
#

aight

exotic stratus
#

Guys was it a good idea to branch from python to java instead of c++?

#

Im becoming a sophomore in highschool and i feel like its gonna come in handy for ap cs

vocal basin
#

Java has GC, C++ doesn't

#

if you're used to writing code relying on GC, Java will be easier

exotic stratus
#

The main reason i chose to do java is cuz

#

I feel like c++ and python usage is too similar

#

And c++ less libraries

vocal basin
exotic stratus
#

Have u taken ap cs before

vocal basin
#

I'm not in the US, so I don't think I can take that exam

short brook
#

i feel like ur the only person active

#

thats why im asking

ashen plinth
#

@rugged root I notice that you have converted many classes into dataclass in this code. Can you please share when do we convert to dataclass and the advantage of doing this

#

I have still not studied this concept. I just know that dataclass is like making our own class into a datatype If i am not wrong)

#

Okay. Thank you.

quick badger
#

r u all muted cause u can't speak in this channel or r u just shy?

#

gofek

#

it's not the right emoji

#

hah

toxic arch
#

great stream @lunar haven !

#

brb

quick badger
#

how would you describe python community in 3 words?

rugged root
#

As in the Python Discord community or like

#

The entire ecosystem community

quick badger
#

don't make it too complicated

#

though your answer describes it pretty well ๐Ÿ˜…

rugged root
#

Well I mean which one are you referring to?

#

Because if it's us here at pydis, I'd say "Welcoming, Helpful, snek"

#

And the community at large, "So many libraries"

#

!d inspect

wise cargoBOT
#

Source code: Lib/inspect.py

The inspect module provides several useful functions to help get information about live objects such as modules, classes, methods, functions, tracebacks, frame objects, and code objects. For example, it can help you examine the contents of a class, retrieve the source code of a method, extract and format the argument list for a function, or get all the information you need to display a detailed traceback.

There are four main kinds of services provided by this module: type checking, getting source code, inspecting classes and functions, and examining the interpreter stack.

vocal basin
#

winen't

wise cargoBOT
#

reversed(seq)```
Return a reverse [iterator](https://docs.python.org/3/glossary.html#term-iterator). *seq* must be an object which has a `__reversed__()` method or supports the sequence protocol (the `__len__()` method and the `__getitem__()` method with integer arguments starting at `0`).
vocal basin
#

?

#

just right-click the link

#

works in the app

#

doesn't seem to work in web

#

ctrl+click to open on a new tab

#

it does select the text

#

but text of the link isn't href

#

> which would rather raise MemoryError than give up
stubborn ints

rugged root
#

Good ol' arbitrarily sized things

vocal basin
#

> but the situation does not look so serious to cause it to abandon all hope

#

less explosive analogue of panic

rugged root
#

Gotta love how all that is written

#

They had fun

whole bear
#

yoo

subtle charm
#

Yes?

#

?

#

Wdym ๐Ÿ—ฟ

#

You pinged me

#

Oh no sorry, i just came to look what code looks like cus all i see r print("hello") n stuff

#

๐Ÿฅน

#

Cus i saw you streaming

#

Yea i understand sorrey

#

Can i ask what your coding?

#

Thank you

ashen plinth
#

@lunar haven can you please explain briefly what you have implemented in your current code (I guess it is related to distance)

#

Yes. Okay, sure I will wait

#

Yes

sinful grotto
#

Hello @lunar haven... I do not have chat permission in voice chat

#

but it's nice to follow the code explaination

ashen plinth
#

I am not following how the memo table is getting formed in line 81

#

Okay

#

Oh okay, 2D array

#

Probably row * column

west epoch
#

@lunar haven are A,B inputs actually strings or like points on n XY-axis for calculating shortest path?

ashen plinth
#

Thanks!

west epoch
#

Line 80 A,B i am asking

#

Okay, they are strings then. So for two strings A,B, you are trying to find some distance

#

Okay

#

Oh, like if A = blackhat, B = blackjack, then what is the number of edits required for them to be same you mean?

#

Got the question now. Thank you ๐Ÿ‘

mellow brook
#

hi

#

๐Ÿ˜„

#

no im mohammad

#

i want learn python

#

no im his son

#

maybe spider man

#

aa i have a question

#

wich one language is better for start programing

#

ye

#

So you suggest python?

opal cedar
#

Hey @lunar haven... I don't have chat permission in voice chat but it's nice to follow the code explaination

whole bear
#

my mic isn't open why?

#

mic?

#

no

glad knoll
#

Hi @lunar haven

stone oasis
#

Hello

#

dark gray

#

LOL

stone oasis
#

spiderman homecoming

vocal basin
noble solstice
#

@lunar haven You need some rest bro

noble solstice
#

@lunar haven Do you able to solve datastructure and algorithm problem after taking mit course?

primal escarp
#

YES

#

what

#

can't open the mic

vocal basin
#

!voice

wise cargoBOT
#
Voice verification

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

primal escarp
#

@lunar haven btw rust is better

#

faster

vocal basin
primal escarp
#

faster then cpp

vocal basin
#

slower than Fortran

primal escarp
#

nmo

#

no

#

Fortran iis bad

vocal basin
#

Fortan is the single most over-optimised language for numeric computations

#

with best support for simd

#

but it's old

primal escarp
#

nahh rast better

#

rust

#

@lunar haven where are you from?

#

why so toxic and cooky?

vocal basin
#

there is not such thing as "better"; only "better for something specific"

primal escarp
#

@vocal basin yes and i say it as a joke

cosmic bison
vocal basin
primal escarp
#

@lunar haven it's 2023 my feelings ah

#

why not?

#

yes

#

i'm a tree now

vocal basin
#

connected acyclic undirected graph

primal escarp
#

btw @lunar haven what you doing

#

i'm proud of you

vocal basin
#

classic

primal escarp
#

do you think quantom computers will change the way how we do code

#

saay what

vocal basin
#

they already change it

primal escarp
#

!wiki

viscid lagoonBOT
#
Wikipedia Search Results

Quantum
cognition Quantum coherence Quantum computer Quantum cryptography Quantum dot Quantum electronics Quantum entanglement Quantum fiction Quantum field theory

Quantum mechanics
is the foundation of all quantum physics including quantum chemistry, quantum field theory, quantum technology, and quantum information science. Classical

primal escarp
#

mr i'm just a little girl almust 23

#

sigma

#

you passed

vocal basin
snow locust
#

@lunar haven heyy

primal escarp
#

bro

vocal basin
#

@lunar haven they're not in VC

primal escarp
#

the bro have feeling

#

why you bully me