#voice-chat-text-0

1 messages · Page 116 of 1

half orbit
#

bruh

#

West Coast gang?

#

people in dubai are assholes

#

Sand rails are cool too, but you can do that in oregon

#

Canada is less time

vocal basin
#

just meet in-between in Iceland/Greenland

half orbit
#

BRO ICELAND!

#

so beautiful

#

i've wanted to go for a while, and svalbard

vocal basin
#

Ruby?

#

web-related too at some point

quasi condor
half orbit
#

helloo

#

ew, mayo is gross bro

fierce wigeon
#

are you extracting video from mp4?

half orbit
#

LOL

#

correct

#

WOW why do you say that?!

#

it has its place for sure

#

As long as the program is designed properly, it shouldn't be too difficult to change?

#

LOL TRUTH!

#

THATS AN IDEOLOGY!

#

it has its purpose for sure, its not always required, sometimes it makes the most sense intuitively too.

#

no you can use base classes

#

yeah

sweet rampart
#

tf did I just join

#

just tryna hear some coding shit

#

u man tryna do up match maker

#

LOOOOOOL

#

rejected both

jade knot
#

just use a bunch of if statements and call it fuzzy logic.

sweet rampart
#

can any of yall help me

#

my pycharm is fucked

thin breach
#

Bogosort

#

the best

sweet rampart
#

?

thin breach
thin breach
verbal zenith
#
print("".join([x.replace(a,b)for a,b in (":slight_smile:",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
half orbit
#

print("".join([(":slight_smile:", ":)"), (":loud_laugh:", "XD"), (":stuck_out_tongue:", ":p")][-1]).replace(":slight_smile:", ":)"))

verbal zenith
#
b=input();x=(":slight_smile:",":)",":loud_laugh","XD","stuck_out_tongue",":p");print([b.replace(x[i],x[i+1]) for i in range(0,len(x)-1,2)][-1])
half orbit
#

emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = ''

print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))

thin breach
wise cargoBOT
#

@thin breach :x: Your 3.11 eval job has completed with return code 1.

001 |   File "/home/main.py", line 1
002 |     [#voice-chat-text-0 message](/guild/267624335836053506/channel/412357430186344448/)
003 |           ^^
004 | SyntaxError: invalid syntax
thin breach
#

!e print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))

wise cargoBOT
#

@thin breach :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
004 |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 |   File "/home/main.py", line 1, in <listcomp>
006 |     print("".join([x.replace(a,b)for a,b in ("🙂",":)",":loud_laugh","XD","stuck_out_tongue",":p")][-1]))
007 |                                      ^^^
008 | ValueError: not enough values to unpack (expected 2, got 1)
thin breach
#

!e
emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = ''

print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))

half orbit
#

emoticons = [":slight_smile:", ":loud_laugh:", ":stuck_out_tongue:"]
replacements = [":)", "XD", ":p"]
text = "Hello there! :slight_smile: How are you today? :loud_laugh:"

print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))

#

!e emoticons = ["🙂", ":loud_laugh:", "😛"]
replacements = [":)", "XD", ":p"]
text = "Hello there! 🙂 How are you today? :loud_laugh:"

print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))

wise cargoBOT
#

@half orbit :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello there! :) How are you today? :loud_laugh:Hello there! 🙂 How are you today? XDHello there! 🙂 How are you today? :loud_laugh:
thin breach
#

!e emoticons = ["🙂", "😆 ", "😛"]
replacements = [":)", "XD", ":p"]
text = "Hello there! 🙂 How are you today? 😆 "

print("".join(x.replace(a, b) for x in [text] for a, b in zip(emoticons, replacements)))

wise cargoBOT
#

@thin breach :white_check_mark: Your 3.11 eval job has completed with return code 0.

Hello there! :) How are you today? 😆 Hello there! 🙂 How are you today? XDHello there! 🙂 How are you today? 😆 
thin breach
#

!e

# graphs a graph on a given domain
import math
domain = [-11,25]
def y_eq(x):
    return 5*x

# code (don't touch)
x_range = range(domain[0],domain[1]+1)
y = []
for x in x_range:
    y.append(y_eq(x))
# round up
for i in range(0, len(y)):
    y[i] = -round(-y[i]-0.5)
#test for imaginary
for i in range(len(y)):
    if isinstance(y[i], complex):
        y[i] = -1000

graph_height = range(int(max(y)), int(min(y)-1), -1)
for row in graph_height:
    line = ""
    for col in range(0, len(x_range)):
        if y[col] == row:
            line += "*"
        elif col+domain[0] == 0:
            line += "|"
        elif row == 0:
            line+= "-"
        else:
            line += " "
    print(line)
wise cargoBOT
half orbit
#

import numpy as np
from sklearn.datasets import load_files
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.model_selection import train_test_split
from sklearn.naive_bayes import MultinomialNB
from sklearn.metrics import accuracy_score, classification_report

Load sample movie review dataset

def load_movie_reviews_dataset():
return load_files('txt_sentoken', categories=['pos', 'neg'])

Preprocess the text data and convert it to a numeric format

def preprocess_data(data):
vectorizer = CountVectorizer(stop_words='english')
return vectorizer.fit_transform(data)

Train a Naive Bayes classifier

def train_classifier(X_train, y_train):
clf = MultinomialNB()
clf.fit(X_train, y_train)
return clf

Evaluate the classifier

def evaluate_classifier(clf, X_test, y_test):
y_pred = clf.predict(X_test)
accuracy = accuracy_score(y_test, y_pred)
print(f"Accuracy: {accuracy:.4f}")
print("\nClassification Report:")
print(classification_report(y_test, y_pred))

if name == 'main':
# Load the dataset
dataset = load_movie_reviews_dataset()
X, y = dataset.data, dataset.target

# Preprocess the data
X_preprocessed = preprocess_data(X)

# Split the data into train and test sets
X_train, X_test, y_train, y_test = train_test_split(X_preprocessed, y, test_size=0.25, random_state=42)

# Train the classifier
clf = train_classifier(X_train, y_train)

# Evaluate the classifier
evaluate_classifier(clf, X_test, y_test)
thin breach
half orbit
whole bear
#

@thin breach

thin breach
whole bear
#

In the theory of computation, a branch of theoretical computer science, a pushdown automaton (PDA) is
a type of automaton that employs a stack.
Pushdown automata are used in theories about what can be computed by machines. They are more capable than finite-state machines but less capable than Turing machines (see below).
Deterministic pushdow...

whole bear
sweet rampart
whole bear
thin breach
#

!e

for i in range(4):
  print("https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif")
wise cargoBOT
#

@thin breach :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
002 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
003 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
004 | https://media.discordapp.net/attachments/653214871558553620/742547465881911356/image0-4.gif
thin breach
sweet rampart
#

yeah

#

so

#

sklearn

#

refuses to download

half orbit
#

may i ask if you're using a venv?

sweet rampart
#

I am

half orbit
#

what version of sklearn?

thin breach
#

what is the error

half orbit
#

and what python version

sweet rampart
#

3.11

sweet rampart
half orbit
#

3.11.1? .2?

sweet rampart
#

.1

half orbit
#

try it with the --no-cached-dir

#

with the pip install

#

or try the.. python -m pip install scikitlearn

sweet rampart
half orbit
#

pip install scikit-learn

sweet rampart
#

already got that in there

thin breach
#

--no-cache-dir

sweet rampart
#

already got it

half orbit
#

Just a shot in the dark

#

have you tried a 3.10 venv?

somber heath
#

@quiet lance 👋

quiet lance
#

👋

teal flower
#

Good morning everyone

somber heath
#

@icy cairn 👋

icy cairn
#

hi

#

same Ravi

somber heath
#

@stable spade 👋

stable spade
#

Hey

#

How are you all doing?

#

I wanted to know something regarding django

#

can I ask here?

stable spade
#

thanks for the suggestion. I surely will do that.

ivory horizon
#

haha

#

sheman

stable spade
verbal zenith
stable spade
#

Can I speak?

somber heath
wise cargoBOT
#
Voice verification

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

desert wolf
#

hey where is mustaf?

#

I want more gfx talk

#

lol, me too..

#

was listening to him all night, no idea why

#

fun stuff

stable spade
#

yes

somber heath
#

@whole bear 👋

somber smelt
#

brb

desert wolf
#

so this is all python, yeah?

stable spade
#

Actually what I was asking is that like in SQL databases, we have Stored Procedures where one can perform crud operations using multiple tables and columns returned from the previous table can be used in the next one. So in django, does it have a functionality like this?

vocal basin
#

some ORMs support chain of queries

#

SQLAlchemy definitely does
Django ORM probably does idk

stable spade
#

Any examples for the django

#

ORM

heady crag
#

Hi

desert wolf
#

hello

somber heath
#

@slim nexus 👋

desert wolf
#

i wonder if there are any perl 6 wrappers out there

ivory horizon
#

python

desert wolf
#

does anyone happen to know if there's any x86 emulators compatible with m2? I'm having the hardest time getting hunspell to work proper on ventura (and all kinds of other ml stuff)

somber heath
#

@whole bear 👋

desert wolf
#

did the clash end already?

#

"The selected clash is no longer valid. "

vocal basin
#

thing I made was already mostly spending time in C (numpy back-end)

somber heath
#

@mental kayak @heady crag @fading kindle @safe peak 👋

vocal basin
#

it's already multiprocessed, so can't expand in that direction

somber heath
#

@rough stratus 👋

vocal basin
#

max/min macros are wrong for a different reason

#

they double-evaluate the returned result

#

better to use inline functions

somber heath
#

@whole bear 👋

vocal basin
#

@verbal zenith also, you're not using parentheses inside macro definition

whole bear
vocal basin
#

should be something like that instead

#define max(a,b) ((a)<(b)?(b):(a))
raw hazel
#

Ooh

vocal basin
whole bear
#

@raw hazel 👋

vocal basin
#

but still it's better to just use functions

#

especially if you chain operations

raw hazel
vocal basin
#

max(1,max(2,max(3,f()))) with a macro might call f() 4 times

#
max(1,max(2,max(3,f())))
1<max(2,max(3,f()))?max(2,max(3,f())):1
1<(2<max(3,f())?max(3,f()):2)?(2<max(3,f())?max(3,f()):2):1
1<(2<(3<f()?f():3)?(3<f()?f():3):2)?(2<(3<f()?f():3)?(3<f()?f():3):2):1
desert wolf
#

woohoo, solved my first test case, but mistakenly did it in perl since something seemed wrong with python 😦

#

"You passed all tests, submit now to validate your solution"

#

gotta have rights to speak I guess

#

wonder how irc is doing these days, it's been a minute lol

vocal basin
#

short-term: moderator needs to be in VC to make sure you stream appropriate things
long-term: Hemlock

buoyant aspen
#

Tsupthis 🙂

desert wolf
#

nice, thanks for that info

vocal basin
#

write in Rust

desert wolf
#

I should learn some rust, I've been putting it aside longer than c++

#

these problems are hard though

#

messing with the AI problems

vocal basin
#

if you're going for performance, you'd probably want to use array lists not linked lists

vocal basin
vernal needle
#

hello?

#

is there any code can replace for if-elif-else?

vocal basin
wise cargoBOT
#

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

2
vocal basin
#

sometimes this is more expressive

#

sometimes

vernal needle
#

ok thank

vocal basin
#

but if if-elif-else chain uses quite complex conditions and is linear in structure, it could probably be better to keep it the way it is

ivory horizon
vocal basin
#

it's important to remember the semantic difference between cases and conditions

ivory horizon
#

could you explain the difference

#

if and switch both are conditional statements right

vocal basin
#

cases are expected to overlap less often
and if they do, it's usually marked explicitly somehow and/or is easier to see

#

reordering of cases should matter less than reordering of conditions

ivory horizon
#

which is faster match or ifelse

vocal basin
#

usually, if-else

ivory horizon
#

hmm if else would be more linear right. is match also evaluated linearly fashion

#

might be asking stupid question.

vocal basin
#

they are equivalent for the most part

#

match allows extracting parts of the data more concisely -- that's where it's quite helpful

vocal basin
ivory horizon
#

do you have any good resource for python metaclasses ( can't wrap my head around it).

vernal needle
#

excuse me:(((

#

i can't run on python 3.9.7

vocal basin
#

what OS?

#

ah

#

yes, match isn't not 3.9

#

it's 3.10+

vernal needle
#

i am using python on pydroid3

#

ah oke

ivory horizon
#

tried the 2d version of it using turtle hehe

vernal needle
#

what is class in python using for ?

#

i feel a bit confused about it :"))

#

like def?

vocal basin
#

on reference counting?

#

list->val is an invalid pointer

#

you're writing to null

vocal basin
#

still an error?

frank walrus
#

hi

vocal basin
#

how is the list defined, again?

#

(struct)

#

so, ArrayList

#

where do "freeing..." messages come from?

#

how is push implemented?

#

I don't yet understand where ...50 comes from
are there any allocations that return that address?

#

@verbal zenith why are you doing *(list->val)+i and not *(list->val+i)?

#

it should just be list->val[i]

#

same as how list->val[i] was set

desert wolf
#

Good job

#

What kinds of things are usually streamed here?

#

Is there any specific context or topic? That was all C, no python, so

vocal basin
desert wolf
#

Sounds pretty chill

vocal basin
#

C++ is one of attempts to bring OOP to C

#

the most successful one, probably

#

it also introduces templating syntax

desert wolf
#

What do you think about rust?

vocal basin
desert wolf
#

C

vocal basin
#

generally, for performant/system-level software, Rust

vocal basin
#

C++ differs across dialects more than C, I think

#

though C++ is more standardised (as in things are formally written down and there is a central body (or multiple ones) responsible for it)

desert wolf
#

Is rust standardized?

vocal basin
#

C has standards too but everyone's kind of free to just go make whatever version they want because it's a simple language

vocal basin
desert wolf
#

I never worked with rust before, but I am kind of curious

vocal basin
desert wolf
#

Isn’t rust kind of new? C has corrigendums and international standardization committees just for language specifications itself. Idk about rust yet lol

vocal basin
#

Rust was started in 2006

#

Rust 1.0 released in 2015, I think

vocal basin
desert wolf
#

Who is using it and for what? I had read something about the Linux kernel and systemd being ported to rust or something like that

#

Or maybe just modules

vocal basin
#

initially it was used to improve Firefox codebase

desert wolf
#

Lol… how did that go?

vocal basin
#

there is asahi linux

#

but it's not yet fully implemented

vocal basin
desert wolf
#

I cannot get Linux to run everything right on any of my MacBooks (especially my m2-based machine)

#

Worked fine on my g4

#

There’s brew, and most stuff works fine

vocal basin
#

it's, like, C+Haskell

#

but actually more useable than either

desert wolf
#

Is it functional or allow for categorical types?

vocal basin
desert wolf
#

I have no idea what any of this means, and I like it

vocal basin
#

OOP vs Logical vs Functional?

vocal basin
desert wolf
#

Like first order logic languages? We use them in automated planners

#

Stuff for HTNs

vocal basin
#

Prolog

desert wolf
#

Yeah and lisp

vocal basin
# vocal basin OOP vs Logical vs Functional?

OOP is good for modelling objects, as the name suggests
so stuff like

  1. being able to name objects by what they are
  2. abstracting away stuff that's inside the object
  3. allowing for communication between objects
    etc.

Logic programming is good for modelling systems which are well-described by formal logic
so, in some sense, the most primitive maths stuff
usually applied to things like tables/sets of data
although sometimes used for more complex systems (for example, Erlang was originally implemented in Prolog)

Functional programming is good for describing transforming immutable data and/or applying high-level mathematical concepts
things from category theory usually fall into this paradigm
also, restrictions, that writing code functionally imposes, often allow for easier comprehension of data/control flow

#

I'm not aware yet of any Rust support for Logic programming

#

but it sure does allow OOP and Functional to some extent

#

OOP in its more pure form, without inheritance and some other features

vocal basin
vocal basin
#

Logic programming can be implemented on top of existing systems with function calls/objects/data structures

dense meadow
#

hello

vocal basin
#

e

#

to contribute to an existing project or to make a new one?

#

I'd suggest trying to modify/improve projects that you actively use
even if your changes aren't worth to make a PR of, that's still something at least

#

that's why quite a lot of changes to open-source are made anyways

#

> you need something from a project that it doesn't provide yet
> you add that functionality
> if you think others could benefit from it, then you share it (pull-request or just a fork; or a plugin)

ivory horizon
#

thanks.
i was looking to get my c,c++ a little more strong(do you think it is worth to spend time there or i could start rust haha)

vocal basin
#

I'm currently looking through code making sure all exceptions are re-raised properly (i.e. using raise ... from ...)

#

discord bot

vocal basin
vocal basin
#

oh, wow, Jupyter seems to be async by default

#

Jupyter seems to use Tornado as a back-end somewhere

#
class GenAsyncHandler(RequestHandler):
    @gen.coroutine
    def get(self):
        http_client = AsyncHTTPClient()
        response = yield http_client.fetch("http://example.com")
        do_something_with_response(response)
        self.render("template.html")
#

probably being equivalent to

class GenAsyncHandler(RequestHandler):
    async def get(self):
        http_client = AsyncHTTPClient()
        response = await http_client.fetch("http://example.com")
        do_something_with_response(response)
        self.render("template.html")
somber heath
#

@mortal sky👋

mortal sky
#

yoo

#

sup?

#

can I friend u

#

ooooo

#

its ok

#

yess

#

thanksincident_actioned

#

Idk

somber heath
#

@lapis crane

#

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

mortal sky
#

@somber heath how do I send 50 messages

vocal basin
#

each time I open that commit I remember how much trolling goes into my commit naming sometimes

mortal sky
#

ooo

vocal basin
mortal sky
#

oo

#

k

vocal basin
vocal basin
#

it's major not minor in terms of commit size

mortal sky
#

how do i fix this

vocal basin
#

messages + activity blocks

mortal sky
#

yea

vocal basin
#

not enough messages

mortal sky
#

yea

vocal basin
#

it's going to take two weeks of waiting then

mortal sky
#

I tried to rush to finish

#

😔

#

soorry

#

I know

vocal basin
#

so far this is the most cryptic commit name I found in my repositories

#

undefined behaviour
and I have no idea in what sense it's undefined

#

maybe fixes
maybe not

vocal basin
vocal basin
#

when I'm trying to do visual design

vocal basin
vocal basin
#

that time I realised C# has yield

#

though in C# it's called yield return

#

and is quite limited

#

JS/Rust have more pythonic generators, I think

#

Rust uses them for async, just like python

#

not sure about JS

#

but JS allows for mixed-typed mess in generators just like Python

#

emojis in commits

#

readable

mortal sky
#

???

somber heath
#

@unkempt silo👋

vocal basin
#

I should've known better what awaits me when opening it

unkempt silo
#

Mostly going to lurk

somber heath
#

@summer path👋

#

@finite wedge👋

summer path
#

Hi!

vocal basin
#

were sold here too

#

seem international

unkempt silo
#

Those commit messages above deserve to be framed BTW

somber heath
#

@opal pike👋

#

@whole bear👋

#

@crimson tusk👋

#

@steady sentinel👋

steady sentinel
#

Hi

#

I don't have access to voice.

somber heath
#

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

steady sentinel
#

ok. thanks

#

But I don't speak English, sorry.

#

where are you from ?

somber heath
#

@whole bear👋

#

!voice @whole bear

wise cargoBOT
#
Voice verification

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

warm jackal
somber heath
#

@north tide👋

#

@south flicker👋

vocal basin
#

it's strange how it went back and forth with no-access/just text

#

for me it came back to being just text some time ago

#

I think it's per-account

#

I have it as text on phone too

#

although I might have seen "no access" on phone recently

somber heath
#

@wide sky👋

wide sky
#

@somber heath ayo

somber heath
#

@austere salmon👋

#

@tardy ocean👋

tardy ocean
#

Hello everyone

#

Is there a channel where I can post a new lib im working on? I need some feedback and ideas 🙂

vocal basin
#

what type of a library?

somber heath
#

@rare cedar👋

tardy ocean
#

AI / LLMs related.

vocal basin
somber heath
#

@subtle hound👋

tardy ocean
#

Great, I was looking at this one already.

#

Also, can anyone stream their development here?

#

I like what im seeing

#

Makes sense. Thanks 🙂

somber heath
#

@trim stag👋

rare wagon
#

yo

#

@warm jackal what u codin dude

#

i dont undestand shit whats going on ur screen lol :)))

#

oh ok

#

got it

#

@warm jackal could u send the github link here

#

if u dont mind

#

yup

warm jackal
somber heath
#

@severe falcon@rare wagon👋

severe falcon
somber heath
#

@lilac garnet@upbeat burrow👋

lilac garnet
#

hi

rare wagon
rustic comet
#

Hello

lilac garnet
#

Hey guys! Who can help me with my project?

rare wagon
#

i have been thinking of learning rust from a long time

#

i might start learning it from tmr only

rustic comet
lilac garnet
#

Can we go in vc?

rustic comet
#

Sure

rare wagon
#

@warm jackal sorry for disturbing, but how long have u been coding for cuz all ur projects are pretty complex ones

somber heath
#

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

rare wagon
#

daam

#

mhm

vocal basin
#

I know I was introduced to Python in September 2017
not quite recently

rare wagon
#

ty

#

i am stuck on what to do cuz i am done with basics

#

yes

#

mhm

#

ty for the suggestion!

vocal basin
#

what was that phrasing by bcantrill
> "technically impossible" just means "I don't feel like it"

somber heath
#

@next nest 👋

next nest
vocal basin
#

scripting as in screenplay

next nest
#

Currently at "barely scratched the surface" knowledge about coding, so learning how pycharm works as my first project was going to be a personal voice assistant, but that was apparently too much for a beginner lol

vocal basin
#

PyCharm is good for forcing the use of venv

rare wagon
#

i will be back in a bit guys
cya till then

next nest
#

Aye. Would it be a bad idea to run a voice assistant outside venv?

vocal basin
#

it's generally better to use venv
you can make a script to set it up automatically if you ever need to move it to another machine

next nest
#

Or better question, what sort of code/projects is safest/best to run in venv?

vocal basin
#

venv just makes package management easier

#

pip stuff

next nest
#

Ah nice. So once code is done, i can then pack it all into a bat/exe?

vocal basin
#

it's better not to pack it in one single file

next nest
#

Also, what "pet projects" would you recommend for a very much novice in coding?

vocal basin
vocal basin
next nest
vocal basin
next nest
vocal basin
#

something similar, yes

next nest
#

Alrighty, which one specific were you talking about?

And i guess like all the other kids would be to "pester chatgpt for explaining what every command with python means and what does what" lol

pallid hazel
#

soapal?

somber heath
#

@rustic rampart👋

#

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

vocal basin
#

some spammer sending friend requests again

somber heath
#

Not to me.

vocal basin
#

they sent it so early discord wasn't even fully able to realise they're in the server yet

#

i.e. this wasn't showing up

warped raft
#

@somber heath hello

#

how are you doing

#

just wanted to tell you one thing
that might be not related to you but it makes me so happy
that I cannot keep it up to myself

#

I GOT MY FIRST RETURN ON THE INVESTMENT I MADE

#

thank you

#

what did you ak

#

i did not get it

#

dead on equal

#

Hello @pseudo bluff and @vocal basin

#

do you recommend any hosting service I want to change my hosting serivce as soon as the monthly subscription gets over

#

India

#

on what

#

btw hello @whole bear

#

on what you were asking return

#

why

#

what did this question meant just asking that

#

like it was 100%

#

i got the money that I put in

#

the business

#

but the money in the actual profit is still Zero

#

but not more much time

vocal basin
warped raft
#

like it is a e commerce store

whole bear
#

hello

warped raft
#

so will it support wordpress or any other website builder

#

i got one suggestion for hostinger

#

any idea about it

vocal basin
#

If it's just static, then there are quite multiple choices, yes

proper creek
vocal basin
proper creek
#

STAR SHIP LAUNCH

whole bear
#

lol

#

its good

#

also that

vocal basin
#

twitter right now supports Russian propaganda
that says enough

#

as in actively promotes over everything else

warped raft
#

it will not lauch today they are saying @proper creek

whole bear
#

oh

#

well shit

proper creek
#

its delayed

#

oh ok

whole bear
#

what happened?

#

i was afk

#

what?

#

chess?

#

i can play

#

cool

proper creek
#
Chess.com

Login to your Chess.com account, and start enjoying all the chess games, videos, and puzzles that are waiting for you! If you have any issues while logging into your account, do not worry. You can recover your password, or drop us a message and we will gladly help.

whole bear
#

thx

vocal basin
#

ohno it dropped
who coulld've guessed

whole bear
#

f

#

my shit is being annoying

#

yea?

vocal basin
whole bear
#

lol

#

netherland

#

lol

#

what song was that?

#

my dumb brian

#

f

proper creek
somber heath
#

@floral geyser👋

whole bear
#

cool

#

how do you switch in this game?

somber heath
#

@heady leaf👋

whole bear
#

f it

vocal basin
whole bear
#

why?

somber heath
#

Oh, geographically?

whole bear
#

gg

vocal basin
#

Karjakin being petty

whole bear
#

heh

#

another game?

#

damn horses

proper creek
#

hehe

whole bear
#

e

vocal basin
#

knightmare

whole bear
#

lol

proper creek
#

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/NNNNKNNN w kq - 0 1

#

?

vocal basin
#

FEN notation probably

somber heath
#

@tame slate👋

vocal basin
#

such a hard choice

#

anarchy chess says this move is forced

whole bear
#

nooo

#

misclick

#

f

tame slate
proper creek
#

😬

whole bear
#

close match

vocal basin
proper creek
#

hmm

whole bear
#

e

#

why

#

gg

#

its okay

#

was a very close match

vocal basin
#

are you playing blitz or rapid?

proper creek
#

yep

somber heath
#

Chess, but instead, it's called chest, with the pieces being thoracic organs.

proper creek
#

rapid

whole bear
#

lol

proper creek
#

wanna try blitz

whole bear
#

nah gonna go code

proper creek
#

okay

whole bear
#

was fun playing with ya

proper creek
#

you too

vocal basin
somber heath
#

@limpid ore👋

limpid ore
#

@somber heath hi

whole bear
#

hello

#

animegirl with gas mask

vocal basin
whole bear
#

lol

#

damn

vocal basin
whole bear
#

yep

warped raft
#

hello @wind raptor

somber heath
#

@tender swallow👋

wind raptor
#

Hey @warped raft

vocal basin
wind raptor
whole bear
#

mommy glasses?

vocal basin
whole bear
#

moon glasses?

vocal basin
#

seemed like they were using it only when playing white

#

but when I was playing as white, I was pretty much getting carried by the opening

#

like, it takes ~50% of time for them to get through it and ~10% for me

#

Catalan OP

rugged root
vocal basin
vocal basin
rugged root
whole bear
#

seal?

rugged root
#

Seal

whole bear
#

sad for the seals

#

all characters come from the fridge

#

hello

#

noodle crafter

somber heath
whole bear
#

oh no

#

i forgot about the furby apocalypse

rugged root
#

Description: The Turtle Tamer's mystical connection with his terrapin brethren imbues him with great power. He excels at moving very slowly and winning footraces with smug satisfaction. His Muscle is the key to his success, and to his long lifespan.

hoary plaza
#

What's happening guys, welcome to the sixth episode of CodeThat!? I think

So there's been a lotta talk about text to image generation using machine learning...well I thought I would give it a crack and try to whip up a Python App that could do it.

And along comes Stable Diffusion, an open source SOTA model for text to image generation from St...

▶ Play video
whole bear
#

excelling at being slow

vocal basin
#

ML (Meta Language) is a general-purpose functional programming language. It is known for its use of the polymorphic Hindley–Milner type system, which automatically assigns the types of most expressions without requiring explicit type annotations, and ensures type safety – there is a formal proof that a well-typed ML program does not cause runtim...

#

it seems to be an algolified lisp

#

ISWIM (acronym for If you See What I Mean) is an abstract computer programming language (or a family of languages) devised by Peter Landin and first described in his article "The Next 700 Programming Languages", published in the Communications of the ACM in 1966.Although not implemented, it has proved very influential in the development of progr...

#

> ISWIM (acronym for If you See What I Mean)

#

I can't really remember things that are clearly from Haskell family of PLs except for PureScript

#

it stands a little bit to the side of the ML stuff

#

for ML-derived PLs there's quite a lot known ones

#

OCaml, F#

#

there is F*
which, by logic of C# being C++++, would probably be F--- or something

#

what a logo

whole bear
#

wha

vocal basin
#

F Star

whole bear
#

cool

#

put poisin in food

#

i cant write

#

working rn

#

?

rugged root
#

Sounds fun. What kind?

whole bear
#

hot weather is annoying

small nova
#

It is around 38-40 is Celsius here...

whole bear
#

damn

#

why is it so hot

#

dman

small nova
#

Summer is worse here...

whole bear
#

just damn

small nova
#

I would love to travel to the west side of the Sub continent, it is raining there...

whole bear
#

if summer is higher then everything must be meltin

#

I gtg

#

bye everyone

vocal basin
#

British Empire at that point

#

ig

small nova
vocal basin
small nova
#

Mhmm.

vocal basin
#

Empire fell apart over post-war time of WW1 and WW2

wind raptor
#

G2G for a bit. Cheers all!

small nova
#

Ohh we talking guns now, noice!

#

Medics have equal risks of getting shot on ranges same as frontline fighters.

#

It is Monday Evening 8pm 🙂

rugged root
#

I am, yeah

vocal basin
#

there's also NZ accent which has very different vowel pronunciation

vocal basin
small nova
#

I can barely differentiate them.

#

@somber heath Yours is just so British man.

#

😂

whole bear
#

hello everybody

small nova
#

I ain't British man. I am Indian.

#

I don't wanna offend and shit, but I love how you all say a bottle of water.

rugged root
#

Oh boy delivery time

#

Wheeeeeeeeee

small nova
#

Aubergine. Theatre.

#

It just sounds royal.

rugged root
#

Colour

#

Coulour

small nova
#

Color without an U.

rugged root
#

The more u's you have the more british it is

small nova
#

As Indians being under the shadow of British Education, we have more of the British pronunciation and stuff.

rugged root
#

True, forgot about that

small nova
#

The strong throw of it.

rugged root
#

Right?

small nova
#

My whole life I've told it like Aitch too.

rugged root
#

Hache

#

Hache is what gets me

small nova
#

Z goes like Zet or Zee.

rugged root
#

"What letter is that?" "Hache"

small nova
rugged root
#

Just drives me bonkers

#

Agreed

small nova
#

If you convey what you wanted to and it is appropriate for everyone, that's enough.

#

Appropriately understandable*

#

🤷🏻‍♂️

rugged root
#

I'm obligated, as an American, to razz the British about their pronunciation, though

#

Push their tea into things, make jokes about how they say things

#

Appropriate James Bond

small nova
#

I'll be right back in a few minutes, duties calling.

vocal basin
#

as in /a:/ instead of /æ/ or something like that?

small nova
#

Beta goes on like Bae-ta, Bee-ta, Beh-ta.

vocal basin
vocal basin
#

still wrong

#

or just mute while not speaking, yes

vocal basin
#

"I am noise"
noise cancellation removes too much sound

small nova
#

🤣

whole bear
#

hahahhaha

small nova
#

Imma get my mic now.

lucid blade
vocal basin
#

"it's just text" isn't a valid excuse

small nova
#

I personally tried it for Stable Diffusion and it worked well.

#

Who's Dan?

#

Oh shit lol. Ok.

#

Spanking Monkeys. Like what?

lucid blade
#

its the awesome nice jail break btw there are others that are bad

#

but i wont post those

small nova
#

Tech Conversation go to be the most random ones ever. Period.

#

Micro-waaa-vae. Man that pronunciation.

silent stirrup
#

whar is going on in vc

small nova
#

Microwaves and Pressure Cookers?

#

Can we use it to make Nuclear Fission?

jade knot
#

Americium 241

small nova
#

They do split to Uranium 238 and 234? Right?

lucid blade
#

hilarious

jade knot
small nova
#

Well goes from Uranium 235 lol.

jade knot
#

The Automatic Warning System (AWS) provides a train driver with an audible indication of whether the next signal they are approaching is clear or at caution.
Depending on the upcoming signal state, the AWS will either produce a 'horn' sound (as a warning indication), or a 'bell' sound (as a clear indication). If the train driver fails to acknowl...

vocal basin
#

there's also AWS, the rifle

jade knot
lucid blade
small nova
#

Man the BBC guy in the interview with Elon Musk just got smoked.

lucid blade
#

a short remark or piece of information

small nova
lavish rover
#
#include <stdio.h>

#define coroutine_begin() static int state=0; switch(state) { case 0:
#define coroutine_return(x) { state=__LINE__; return x; case __LINE__:; }
#define coroutine_finish() }

int get_next(void) {
        static int i = 0;
        coroutine_begin();
        while (1){
                coroutine_return(++i);
                coroutine_return(100);
        }
        coroutine_finish();
}

int main(void){
        printf("i is %d\n", get_next()); /*  Prints 'i is 1' */
        printf("i is %d\n", get_next()); /*  Prints 'i is 100' */
        printf("i is %d\n", get_next()); /*  Prints 'i is 2' */
        printf("i is %d\n", get_next()); /*  Prints 'i is 100' */
        return 0;
}
small nova
#

I think I might be relearning Python on the whole from the Basics, I've been good with the advance stuff but have been very bad whilst being asked about the Basic stuff. IDK if it is common.

limpid umbra
#

bits and pieces - here and there

#

not all python books are the same , obviously - but one for learning with ?

small nova
#

Aight people Imma head out to sleep, it is 10pm now. 🙂

ivory horizon
vocal basin
#

you're expected to use docs and understand requirements without them being broken down into smallest simplest details possible

#

or rather

ivory horizon
#

all test's have been passed -
looks like have to rewrite from scratch - the random model test is failing

#

It was a good one cleared the concept of meta class working. 99% is done.

ivory horizon
ivory horizon
#

bye guys, gn

lethal sierra
#

cant speak

rugged root
#

@lethal sierra If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

rare wagon
#

@rugged root u uploaded some vid on ur channel 13yrs ago

#

daam

#

o mb

vocal basin
#

also

#

it could be solved without metaclasses

rare wagon
#

congrats

vocal basin
#

I had C and Python at roughly same XP for some time, that's no longer the case

somber heath
#

@hard knoll @astral rain 👋

astral rain
#

@somber heath Hi

hard knoll
#

hi

somber heath
sour willow
#

man the quality of scams has gone down 😂

#

Hello Opal, Hem, Farzin, Gofek, AF

vocal basin
somber heath
sour willow
#

~just realized should blur the name~

rustic bear
#

1 year for talk perms? Wtf?

#

Can I get permission to talk?

#

What are we looking at?

vocal basin
wise cargoBOT
#
Voice verification

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

rustic bear
#

!voice

vocal basin
#

you seem to already meet the requirements

vocal basin
sour willow
#

AF did a full transformation ....

vocal basin
#

I almost read that as a different word lol

rustic bear
#

What is this code package we’re looking at? Numpy implementation?

somber heath
# sour willow I dont understant lol.

A historic scam was to offer to sell someone a bridge. It worked its way into English language idiom as "If you believe [obviously untrue thing], then boy, do I have a bridge to sell you." It implies that the subject of such a remark is gullible. I was not, however, implying you are gullible, I was just referencing the idiom. A rope bridge could be seen as a low-quality bridge, like the low-quality scam.

vocal basin
sour willow
#

I love the fact that he's like:
You got a problem we have a fictional charecter as our CEO

vocal basin
placid sapphire
#

i can't talk broo how i get this voice verification

wise cargoBOT
#
Voice verification

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

placid sapphire
#

@rugged root Okay ty

vocal basin
#

ffmpeg would still be more reliable

sour willow
vocal basin
vocal basin
rustic bear
#

Are ppl working on improving open source software rn?

#

This video parsing library or whatever

vocal basin
#

@rugged root it's just not parsing some extra stuff + takes no memory due to zero buffering

#

or near zero memory compared to some other solutions

wild pendant
#

anyone know how to fix?

vocal basin
vocal basin
#

generally

wild pendant
#

thanks mush

vocal basin
#

is it replit?

#

that could pose some problems if it is

edgy skiff
#

hello

rustic bear
#

Hello

vocal basin
rustic bear
#

What is going on why is nothing happening

vocal basin
#

at some point I implemented a dumb fix which coincidentally helped with some other stuff too

#

both Firefox/Chromium-based

vocal basin
rustic bear
#

Firefox over chrome 😮😯

vocal basin
sour willow
vocal basin
#

e

#

where do you use num_samples?

vocal basin
vocal basin
#

num_samples = ... what is ... now?

#

calculate num_samples before samples_sizes

#

and use num_samples inside samples_sizes

#

entry_count==num_samples, right?

#
self.num_samples = (len(self["stsz"]) - 20) // 4
#

tbf, you shouldn't have self["stsz"] saved in memory

#

it can be read on-demand from the file

#

half a megabyte

#

it shouldn't have been inheriting from a dictionary in the first place

vocal basin
#

it's fast

#

O(1)

#

because you already have self["stsz"] computed

#

len(bytes(...)) is almost instant

vocal basin
#

or re-calculate

#

doesn't really matter

vocal basin
#

you can't really calculate it

#

you will get TypeError

#

!e

print(len(0 for _ in []))
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     print(len(0 for _ in []))
004 |           ^^^^^^^^^^^^^^^^^^
005 | TypeError: object of type 'generator' has no len()
vocal basin
#

what you're trying to do will fail

#

one way or another

vocal basin
#

if you want to save compute time on sample_sizes() call, do this

#

len(self["stsz"]) is instant

#

len on iterator, however isn't

desert wolf
#

Wow, I’m starting to suspect some of you are nerds

#

Still on here here and stuff lol (it’s been almost 48 hours, goto(sleep);)

rugged root
#

@desert wolf If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate

desert wolf
#

@rugged root I’ve been specking it out for a few days now.. shrug

#

I do kind of wonder if my messages are considered spam though, since no one cares to talk to me, and I’m not offering much value.

#

(Hard to add value when you have no voice)

stuck furnace
#

!stream 294737873083695105 30M

wise cargoBOT
#

✅ @acoustic marlin can now stream until <t:1681760879:f>.

gentle flint
desert wolf
#

Actually, I have been here for months

#

I just don’t participate

#

Wtf

gentle flint
#

but did you leave the server meanwhile?

stuck furnace
#

Don't you know you've always been here

desert wolf
#

No

gentle flint
#

you sent one message in 2021 and afterwards nothing until yesterday

desert wolf
#

Low priority I guess

gentle flint
desert wolf
#

LOL

gentle flint
#

ah, it worked

#

now to get unmuted you need to leave the voice chat and rejoin

desert wolf
#

Sounds good! If I don’t leave, will my verification expire or reset?

gentle flint
#

not that I know of

maiden skiff
#

wass sup

desert wolf
#

I can speak!! I think I’ll stay silent now pithink

#

Thanks 🙂

desert wolf
#

@gentle flint to clarify though, I see there’s plenty of non-python content here. It is permissible that what is presented/discussed here isn’t exactly python, but may be entirely code-agnostic altogether?

gentle flint
#

this is an offtopic voice chat

#

you can discuss any topic

#

except illegal stuff or stuff which breaks terms of service

#

there's also offtopic text channels

#

!offtopic

wise cargoBOT
desert wolf
#

Is there an on-topic vc?

stuck furnace
#

What's happening? 😄

ember warren
#

yo

#

i need some guidance guys : )

stuck furnace
#

Ah, classic error

desert wolf
#

Lol

ember warren
#

how to make .ip files to work on jupyter notebook

desert wolf
#

Doesn’t ipython just export your code as plaintext code? Or you mean something extra special?

#

Oh, nvm

stuck furnace
#

One person at a time please hyperlemon

ember warren
#

@desert wolf only ipynb

#

but my file is .ip

stuck furnace
#

Erm, maybe we should split this into two voice channels, as people are talking over each other.

rugged root
somber heath
#

!d divmod

wise cargoBOT
#

divmod(a, b)```
Take two (non-complex) numbers as arguments and return a pair of numbers consisting of their quotient and remainder when using integer division. With mixed operand types, the rules for binary arithmetic operators apply. For integers, the result is the same as `(a // b, a % b)`. For floating point numbers the result is `(q, a % b)`, where *q* is usually `math.floor(a / b)` but may be 1 less than that. In any case `q * b + a % b` is very close to *a*, if `a % b` is non-zero it has the same sign as *b*, and `0 <= abs(a % b) < abs(b)`.
rugged root
#

One sec, sorry

gentle flint
severe falcon
#

you guys are not funny

#

you

#

pyes

#

I mean you are good but

#

not funny

#

nah

#

but kitchen should be the most hottest place

#

why is it cold ?

rugged root
#

Gaps in vents and outlets

severe falcon
#

that's interesting

gentle flint
#

@sleek viper you asked about git

#

this is a good guide

maiden skiff
#

im back

robust lichen
#

is this good? @somber heath

quaint oyster
#

what is the Value type

quaint oyster
quaint oyster
#

I will smoke you

desert wolf
desert wolf
# desert wolf

string.c:10:23: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)'

string.c:11:5: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'

severe falcon
#

@whole bear you stay with your parents ?

#

so, brother ?

#

then who's sleeping

#

oh h

#

lol

#

ok

#

mhm

#

lmao noooo

#

what are you even trying to do ?

hallow wasp
#

Hi

#

Can i activate my mic or is this private or something?

severe falcon
#

@hallow wasp you have to get yourself voice verified role.

#

uh what ?

#

lmao

#

@lunar haven do have any idea what are you speaking ?

#

like do you know yourself ?

hallow wasp
#

what did i accuse?

#

what happened here? I went to take a leak

severe falcon
#

piss no

hallow wasp
#

piss... yeah

severe falcon
#

but leak ?

#

what is that ?

hallow wasp
#

depends

severe falcon
#

like you leak before you go to piss ?

hallow wasp
#

piss and leak are the same thing... -_-

severe falcon
#

not for me

hallow wasp
#

so what's a leak then? To you?

severe falcon
#

@verbal zenith you are not stupid lemonpeek ?

#

forget it

hallow wasp
#

👍

severe falcon
#

no

#

I don't think you have to reinstall.

hallow wasp
#

Just google "taking a leak"

#

This is absurd

severe falcon
#

no

#

chrome sucks

#

ewww chrome

#

you suck bro you are using chrome

#

why

#

what is wrong with you ?

#

better

hallow wasp
#

Edge is AWESOME!!!

severe falcon
#

it's Lynx bro

#

yeah that's much better

hallow wasp
#

I use linux... Garuda!

#

Yeah that neon rainbow distro... But it's cool

severe falcon
#

lol

#

it is

#

fun to use

hallow wasp
#

👍

severe falcon
hallow wasp
#

which flavor? Gnome, KDE, or the Window Managers?

vocal basin
#

"bacon-flavoured bacon with extra bacon"

hallow wasp
#

Yeah, I mean everything is customizable.... But if you had to customize, you could have picked endeavourOS

severe falcon
#

yeah I was saying everything

#

for real

#

he is alien

#

no

#

martian

vocal basin
severe falcon
#

made a what ?

#

lol

#

ok

hallow wasp
#

So, I don't want to rude or anything... But I can't understand what we are doing? Commenting on code.. just chating... No problem either way

#

Gofek sounds Saudi

vocal basin
#

shortest

severe falcon
#

yuuu pithink

vocal basin
#

I will wait for auto-start if anyone else chooses to join

hallow wasp
#

lolz

severe falcon
hallow wasp
#

Just google it maaaan

vocal basin
#

Box::leak in Rust

severe falcon
#

lmao

#

chill just having fun