#voice-chat-text-0
1 messages ยท Page 161 of 1
code seems to be copied from this person's repos
https://github.com/lucidrains
partially, at least
class SingSong(nn.Module):
def init(self):
super().init()
self.wav2vec = ""
So what line would I replace with this?
I'm almost sure that repo is just unfinished/abandoned
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
!d 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:
for most of the things you don't need it
use pathlib and other modules that represent its functionality in more usable forms
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?:
yep
@scarlet halo hey can you share your gameplay?
what's up
dude xD
pain suffering and dath
darth
bro u dont know who darth vader uis
ey @lunar haven yourself
poor gargxyle ๐ฆ
@hasty flame
nah
u good man
who? me? nah
he use bfs
SuperTuxKart.
@somber heath https://www.youtube.com/watch?v=Fvkw3IKJ8SU
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...
@somber heath https://youtu.be/WMJ1H3Ai-qs?t=614
EPISODE 34
Support me at https://patreon.com/TodePond
All cellular automata code for this video is in this repo: https://github.com/TodePond/NewPond
I also coded a tool that let me write things with the bird.
All the code for that is in this repo: https://github.com/TodePond/PaintPond
Patreon: https://patreon.com/TodePond
Github: https://gith...
"Donut math: how donut.c works" blog post by Andy Sloane:
https://www.a1k0n.net/2011/07/20/donut-math.html
Deobfuscated code: https://bit.ly/2BITbQm
@somber heath
@zenith radish What's ur experience and job profile?
@somber heath less gooo, underwear weed
ur software developer at microsoft great!
"great for whom? for Microsoft -- probably not that much"
Microsoft is lucky!
https://leetcode.com/problems/koko-eating-bananas/
can u share ur approach
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...
my approach
works
"These people don't even know I work at MSFT"
is it something to be proud of lol ?

@somber heath unparalleled talent
what up bois
@scenic trail I have no idea if you were actually sleeping or not, but your noise was coming through
Please mute between talking
let him cook
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.
continuing to explore the albums of the same weird band
I like track lengths on this album
why is discogs rendering 0 seconds as 0 not 0:00?
"did they really not think someone would release a song 0 seconds long?"
There is strong correlation between happiness and movement for pets. Star Cat wheel with moving fish will attract attention of your cats and make them keep running on the wheel. (US Patent 11627722). The rollability of 7:3 golden ratio! Animal senses know very well the differences, like Peter-tin...
that's so odd
why is it handling them differently
Which part
duration
first is in a separate td with duration class
second isn't
it does not properly render 0 seconds duration
Ohhhh
well, I guess, "track position 368" might sound odd too
average duration of songs on the album is 2.04 seconds
Hell of a short song
album is ordered in almost alphabetical order
it's like someone tried to sort it but didn't really care that much
Good ol' "meh" sorting
guess who's backkkkk
Who?
the story of first woman to be in space is quite sad
"You Suffer" is the world's shortest metal song at 1.316 seconds
everyone starts to forget she even had that as an achievement because of how wrong it is what she's doing now
whaaat
hahahahaha
pull often implies fetch
but not necessary
so, like, checking fetch vs push is more fair comparison, I think
weird anyway
i am sry
Nuh uh
"how dare you think about making things reliable? do you want to put all the maintenance people out of job?"
https://www.amazon.com/Fujitsu-ScanSnap-Versatile-Enabled-Document/dp/B08PMQQZ8H
https://www.amazon.com/Fujitsu-fi-8170-Professional-Document-Scanner/dp/B09RP81PYM
The next generation iX1600 is the most flexible scanner in the category, allowing users to connect via Wi-Fi or USB. With 33% faster duplex scanning, you can get more done in less time and with ScanSnap Home 2.0 software, documents will be digitized, organized and saved with minimal effort.
The Fujitsu fi-8170 scanner gives both large and small organizations unparalleled, real-world productivity with advanced feeding technologies and Clear Image Capture. Delivering the highest quality digital images into critical workflows, the fi-8170 is an ideal solution for customer onboarding, a...
well, if you spend enough money on buying decorations from the right person
@whole bear If you're wondering about the voice gate, check out the #voice-verification channel
That'll tell you what you need to know
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))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
12.999999999999998
@midnight agate not how it should but how it is
!e
from math import log
print(log(2 ** 31, 3) - log(2 ** 31 - 1, 3))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
4.2386361087665136e-10
What about Duel?
it's related only to this
ISO/IEC 24734
difference will never be lower than 4e-10
differences between log(n+1) and log(n) always decrease with n increasing
!paste @lofty sand Can you toss your code into the hastebin?
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.
https://github.com/sri-arjuna/ASPIRE
And this is how it would (or should) look, and how it currently does:
https://github.com/sri-arjuna/vhs/blob/master/screenshots/example-with-progressbar.jpg?raw=true
how you go faster? manual sorting ig?
i max 60% faster using dictionary and built in sort which is n log(n) iirc
ooh cheeky
||```
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)]
you can remove spaces between || and ```
(so it doesn't add extra lines below and above)
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
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)))
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
asymmetric for positive/negative
also
it can all be the same element
oh ye i just realized the same num case ye
so positive-negative isn't all choices you have until you start iterating
but that's not why this assertion is messing up
oh well
Every image was generated using midjourney AI: https://www.midjourney.com/
It's Gonna Get Weird was originally intended to be in Gravity Falls special "Weirdmageddon Part 1," but it was cut for time.
All rights to the song belong to Neil Cicierega
@haughty pier Long time no see
brb, gonna switch OS back to linux
!e
spam = "ham"
spam[1] = "b"
print(spam)
@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
!e ```py
class MyClass:
def del(self):
print('Farewell!')
a = MyClass()
b = a
del a
print('Hello!')
del b```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Hello!
002 | Farewell!
Thanks, I hate it
forgot to show the issue in try except
context manager >> try except
when possible to use
try-finally not try-except
(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
@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...
!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))
@vocal basin :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
this
True returned from __exit__ ignores the error
!d unittest.TestCase.subTest
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.
this, for example, is such context manager
!e ```py
def gen():
yield from 'abcdef'
g = gen()
print(next(g))
print('Hello!')
for each in g:
print(each)```
@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
def gen():
yield 'a'
yield 'b'
...```
yield from does some extra magic, but it doesn't actually matter
next pulls out a single yield from g
!e
def gen():
yield 'a'
print(dir(gen()))
@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']
gi_yieldfrom
!e ```py
def gen():
for letter in 'abcdefg':
yield letter
g = gen()
print(next(g))
print('Hello.')
for letter in g:
print(letter)```
@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
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.
yoooooooooooooooooooo
>>> arr = [1, 2, 3]
>>> print(arr)
[1, 2, 3]
>>> print(*arr)
1 2 3
kwargs[arg1]
my_function(arg1='whatev')
Back in a little bit, have to do some audio recording
@visual mango hey r u real satoshi?
@lunar haven hi
@turbid sandal
- Does filesize matter?
- would "you" - "host" the encrypted file? (yeah ik p2p)
- How about using a pw for encrypted files?
@visual mango hey, bitcoin!!!!!!!!!!!!!!!!
@turbid sandal 5 year bash project
NEw: https://github.com/sri-arjuna/SWARM
5 yrs: https://github.com/sri-arjuna/tui
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?
its called list comparision via index?
Because I've heard of people using a HashMap instead of some other thing for performance
In other languages
thus a dict woudl be faster
Well in that case you can't really make keys so it's not the same
Lists and HashMaps aren't the same
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
My question was about something almost the same as a dict (HashMash)
oh right.. why.. not how ๐
I understand this though
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...
Does anyone here know why NaN exists?
I'm assuming invalid floating point numbers become NaN
but I'm not sure
I guess so
the language can implement catchable errors. But floating point is a standard that is language agnostic
Is there an int NaN?
no. Not as far as I know
the bit representation is different. ints are just base 2 numbers
Floats are weird
Wait, is this a Q&A chat?
and use something similar to scientific notation
So I guess there is not really space for an invalid number
yeah
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
Stars will be appreciated lads!!
Why are you making your own?
What do you develop in?
Oh, you're making your own language
For fun?
lol
#[Copy]
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
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
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
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?
welcome to algos lol
Is anyone familiar with industrial cameras here?
i used to work physical security stuff when i was network engineer
hella cams and stuff
the one with the narrowest fov
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
@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
I can't screenshare unfortunately ๐ฆ
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
@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?
no
that kid was being confusing
Its hard to explain
Okay!
yeah even I want to understand generator details
@cosmic bison do you mean in python we cannot return a reference any time?
Okay, yeah I thought we can return reference in python
import std::sdl::{this, ttf::{this, Font}}
import std::vec::Vec
import std::vector::Vector
oh so i can use os to play russian roullete with my computer right @vocal basin
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;
}
ye
yeah thx mustafa!
FUCK YOU @toxic arch
why so mean
wtf puppy
wat
yeah
a python mod
my cuteness makes your heart sing!
HELL NAH
you're*
are you trying to get banned again? chill out man
: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.
import math::*
import math
math::pow()
why was @elfin bone banned?
define multiply(x: i32, y:i32) -> i32;
10.multiply 10
@dim robinafa which hashing algorithma had you implemented? any chnace I could maybe refer to them
def memcpy(dest: untyped_ptr, src: untyped_ptr, size: u32) extern
i did like a basic one for strings, and then sha-1
seagulls
@cosmic bison does untyped pointer mean it can point to any of the data types of the language (like int, float, str) ?
In python, aren't most pointers actually untyped pointers?
Oh yeah, we have references right in python instead of pointers
hello guys
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)
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
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
Thanks! What is this part that is got from the conversion of the first image code called? Is this compiled code
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
yeah the first image compiles to the second
Cool!
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
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
Yes and so is mustafa
@oblique ridge you know you are still in that VC right? Just trying to make sure you didn't forget
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
Immutable : that it can't be changed isn't it?
@lunar haven lol yea , imports..
But knowing DS is must @lunar haven
Data structure
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
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
who
try it out its free
can i try sharing real quick
the bot is just lying
lol
will you write me a code
i want to see what you have lerned
ZHAXXY
yes
yes i am
haha ๐
im a noob, can you help me start my python exercise
I don't know anything ๐
๐
my pycharm dont want to load
Idek why Iโm here I have no python knowledge
i am lerning and you should to
why I can't talk?
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
thanks
dang
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
@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
No documentation found for the requested symbol.
.................
sand in my potion
kk
better
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
@faint raven is this your real voice?
to dissuade unpersevering spammers
you also need to be a server member for 3 days
but you already have been
This is one of my favorite talks, with improved quality, enjoy.
can i send 50 message one after another
@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
Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes.
Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity.
The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable...
@turbid sandal
hows...it..goin
cool
@frosty star wyd
playing wii sports
oh cool
idk i don't hv a wii
what
wii u game?
ahhhhhh
but with a gamepad
i see
and you can play wii games on it
does it have pokemon
along with other stuff
yhes
idk which one tho
lol someone installed windows on it
its been a while since i last played. I only ever played it on the pc tho with the gameboy emulator
legend of zelda
alright
hv funnn
gonna play it with an xbox controller lmao
idk
ok man u do u
its similar to normal controllers (and the very cool wii u pro controller)
oh wait so do u like hook up the wii on to a bigger screen
like on the pc?
ye
oh ok makes sense i spose
y
no its nothing. enjoy ur gamee
oh sry i meant yea
dis too hard for my young brain
i came up with the best password
good 4 u
bbye
bbye
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
sup
Not much, you?
btw is it really u in your pfp ๐
It is, yeah
nah bro , u lying ๐
your voice and face doesnt match at all
๐
I am very very bad at python ๐
Any particular parts of it you're struggling to grasp?
lol no i was just kidding
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"?
So the problem is that you have two if statements
I see
Your first if is checked. Then you dive into the second one, and because your string is short, it goes to that else
aaaaaaaah i see the problem now i thin
So you'd want to use an elif inste- yep
โ @nocturne marsh can now stream until <t:1688743198:f>.
Remember Kids
Make sure you use sanitsen
Also, that mask is made of water
@somber heath Ooo oo ooo. Combination of MineCraft and Tomb Raider: MineCroft
Talking to boss
best language to ever come
@wind acorn ๐
!stream 429280535425056775
โ @cosmic bison can now stream until <t:1688747847:f>.
@quick badger Yo
Ayyyyyy
Working on his language
Right?
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 ๐ฅฒ
I'll probably work on my stuff shortly
crazy
Do tag me
I'll be back for you
My best friend of 2 years
Who didn't forget me
Is it working
Not really
Bummer
My memory is shite
this is a mix of highly cursed, and surprisingly very useable ๐ค
https://github.com/TheFeministSoftwareFoundation/C-plus-Equality how about this then?

the only gotchi ik is pwnagotchi
Not my jam, but at least the little face on it is adorable
very cute
I pitty who has to work with this sometime in the future when a company decides it really needs to promote equality
considering i can barely follow even FizzBuzz
us
:/
Always a good time to learn
teach me the way, sensei
You've known me for 2 years and I haven't moved forward in my programming journey despite my efforts.
๐ซก
Helps if you attend a lesson more than once every year
What lesson?
Whaaaat
But seriously, what was your journey like? Spidertyler seems like one of the super smart ones too. What do you do differently
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
When you say you picked up coding and had fun with it, what exactly did you do
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
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 ๐
I wonder why voice volumes sometimes get reset
maybe it just hits some upper limit for total number
(and earlier settings get dropped)
Yeah that is a bit weird
I'm not even sure that happens in the first place
@nimble epoch In case you wanted to watch
wassup hem, af, magic, opal, spider, spelis
... when there's any such actual underlying problem in the first place
windows ?
@rugged root can you please share what is this spacetraders website? Is it your own website or something you ise for getting some data
i believe windows does this, but its usally implemented by applications
yes
That's interesting. Thanks!
Data validation using Python type hints
iirc, pydantic also does json (de)serialisation
(in addition to things you get from dataclasses)
u have some blog with some esoteric python / c / rust on it?
I don't write much esoteric code myself;
Rust is somewhat hard to write esoterically (because the language is built against that);
for C, there's IOCCC -- participants often publish explanations/writeups after the competition;
I guess there are some similar places for Python (apart from #esoteric-python here);
aight
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
Java has GC, C++ doesn't
if you're used to writing code relying on GC, Java will be easier
The main reason i chose to do java is cuz
I feel like c++ and python usage is too similar
And c++ less libraries
not necessary
rather it is very hard to use them in C++
Have u taken ap cs before
I'm not in the US, so I don't think I can take that exam
alisa can you please help me in #code-help-voice-text
i feel like ur the only person active
thats why im asking
@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.
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
how would you describe python community in 3 words?
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
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.
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`).
?
link
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
Good ol' arbitrarily sized things
> but the situation does not look so serious to cause it to abandon all hope
less explosive analogue of panic
yoo
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
@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
Hello @lunar haven... I do not have chat permission in voice chat
but it's nice to follow the code explaination
I am not following how the memo table is getting formed in line 81
Okay
Oh okay, 2D array
Probably row * column
@lunar haven are A,B inputs actually strings or like points on n XY-axis for calculating shortest path?
Thanks!
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 ๐
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?
Hey @lunar haven... I don't have chat permission in voice chat but it's nice to follow the code explaination
Hi @lunar haven
spiderman homecoming
@lunar haven Do you able to solve datastructure and algorithm problem after taking mit course?
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
why not joined the RPLCS then
faster then cpp
slower than Fortran
Fortan is the single most over-optimised language for numeric computations
with best support for simd
but it's old
nahh rast better
rust
@lunar haven where are you from?
why so toxic and cooky?
there is not such thing as "better"; only "better for something specific"
@vocal basin yes and i say it as a joke
one of the best spiderman movies of all time
unless we're talking about this language which is obviously the best
https://en.wikipedia.org/wiki/Language_H
Language H is a proprietary, procedural programming language created by NCR based on COBOL. The first compiler was developed in August 1962 to run on the National-Elliott 405M and produce object code for the National-Elliott 803B. It is believed that the "H" stands for John C Harwell.
connected acyclic undirected graph
classic
!wiki
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
often used to prove that one (infinite) set is smaller than another (infinite) set
@lunar haven heyy
bro
@lunar haven they're not in VC