#voice-chat-text-0

1 messages · Page 352 of 1

fair vale
#

only 400 chapters left

#

DAM

#

alright im gonna close boot for the day and practice on my own

#

but like whats a good way to practice functions?

#

i will do my BEST

#

i honestly cant thank you enough tho i think i kinda get it now

wind raptor
fair vale
#

goodnight guys!

#

nice meeting u all

wind raptor
#

Cheers

#

!stream 732291998274420828

wise cargoBOT
#

✅ @sour imp can now stream until <t:1725592763:f>.

rose lance
#

oh no

#

i dont have vc perms

#

nvm yay

#

@upbeat bobcat ?

upbeat bobcat
rose lance
#

can you hear me?

upbeat bobcat
#

I was not wearing the headphones

upbeat bobcat
#

@hollow hawk Only moderators can give permission to stream

errant widget
#

people who program in Python should be called "pythoneers"

supple latch
#

uhh how do i enable vc perms?

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.

supple latch
#

damn thanks

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

somber heath
#

@rose lance

stoic chasm
#

@rose lance
```py
# your code here
```

whole bear
#

i need help to get voice verifycation

rose lance
#

""py

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.

supple latch
#
print("Hello world")
#

interesting

whole bear
supple latch
#

uhh im making a woman safety analysis project

#

and thought of some crazy ideas

#

in general

#

public safety

#

nah nah mb

#

thats creepy

#

paste the link

rose lance
supple latch
#

could use else blocks

#

its pretty messy

#

no its like i get what she is tryna say

#

the code function

#

it can be much shorter

#

is what im saying

stoic chasm
#

Lexical tokenization is conversion of a text into (semantically or syntactically) meaningful lexical tokens belonging to categories defined by a "lexer" program. In case of a natural language, those categories include nouns, verbs, adjectives, punctuations etc. In case of a programming language, the categories include identifiers, operators, gro...

#

return

#

outputurn

#
print("hello world")
rose lance
#

Fibonacci seems exhausted. Intrigued, I mean concerned, you ask Fibo what's on his mind. "I've been marking assignments all weekend", he confesses, while yawning. "What drives me mad is the inconsistency of the variable formatting." You wouldn't happen to be able to help my students with that, would you?". Turns out, you are actually working on the perfect tool to help your mate Fibo!
Task Description
Write a program that allows a user to list the variables of a Python program. We suppose that each variable follows one of three cases:

snake_case,

camelCase, or

PascalCase (a.k.a. Upper camel case).

For the purpose of this and the following task, all variable names

  1. start with a lowercase or uppercase character,i.e. a-z and A-Z,
  2. may only contain lowercase or uppercase character,i.e. a-z and A-Z, and underscores, i.e. _,
  3. cannot be a Python keyword,
  4. are surrounded by at least one space on either side.

The programs provided may contain Python keywords. These are not variables. You can programmatically obtain a list of the possible keywords using keyword.kwlist.

rose lance
#

aB = aBc + cD

#

aB to a_b

#

a_b = a_bc + cd

still herald
#

114.35 United States Dollar

#

Nico pfp is cool

#

@whole bear

still herald
#

Guys do you think I should buy data analysis courses from udemy or other websites?

upbeat bobcat
#

@upper basin Can I also get it?

upper basin
#

Udemy just repackages it and sells it to you.

obsidian dragon
#

@dull sluice

somber heath
#

Hyello.

#

Nah.

#

All my previous ones have been fine.

#

A little quiet for one or two days after and that's about it.

#

But who knows? Maybe this one's the one.

#

So far so fine.

#

For some previous ones I had in high school, I did get vasovagal syncope.

#

Like, it's not that I was bothered by them or afraid, that's just how my system reacted.

#

Yep yep.

#

We are similar, we are different.

#

It was fine, I just lay down for 20 minutes while my vision went all grey clouds.

#

Macho, macho ma-flop.

#

Kerplonk.

#

I've had things going in and out since and been fine.

#

Indeed it would be a bit of a pain if it happened for things going in, these days.

austere hornet
#

...

#

ok

#

cod mobile-ing right now

surreal wyvern
#

Namaste @somber heath 🙏

somber heath
#

Hm.

austere hornet
#

I shall... see myself to bed FrierenEepy

somber heath
#

Some change is fine.

upbeat bobcat
#

@wind raptor Hi

somber heath
#

🍵

obsidian dragon
upbeat bobcat
#

@wind raptor I think the calculator is done.

somber heath
#

@clear tangle 👋

#

@upper basin Welcome to programming.

upper basin
#
Initial = {"00": 512, "01": 512}

if we choose first index:
{"0": 512, "1": 512}

if we choose second index:
{"0": 1024, "1": 0}
somber heath
#

@solid sky 👋

solid sky
#

Hello

#

Fine how about you

#

And what are you working on

vocal basin
#

what an amazing link lol

solid sky
#

Dangan daddy ???

#

It’s a AI thing

#

Cool

vocal basin
solid sky
#

I am working on a old game of chess

vocal basin
#

it's literally just code base64'd

solid sky
#

I am going to leave now

#

Have a great day

#

And god bless

vocal basin
#

oh
huh
reactplayground to codesandbox export makes the thing immutable

#

okay I guess

somber heath
#

Osyra's fault.

#

He caught one.

#

We can blame him.

vocal basin
somber heath
#

Halloween music lol.

vocal basin
#

I only listen to a different artist named Ghost

wind raptor
#

JSON?

vocal basin
#

album title

#

most music I find through either Yandex Music or YouTube

#

just whatever is recommended

peak depot
somber heath
#

@icy agate 👋

#

That's better.

#

@neon elk 👋

neon elk
somber heath
#

Site is a touch tender.

#

But that's par for course.

neon elk
#

Working on AI baby maker

#

wbu

somber heath
#

I have things in one place. I am placing them in another place.

neon elk
#

Basically Using AI model to generate baby image based on parents facial features

#

lol

#

what did you thought?

#

xD

somber heath
#

How does it do with things that aren't faces?

neon elk
#

no

somber heath
#

@azure elbow @storm smelt @cobalt wind 👋

neon elk
#

I found some child predictor model on github

#

I spend like 1,2 days to understand how to run that in my local
now I'm trying to make web app of it

stark river
#

why does my baby look like my neighbour

neon elk
#

No its not mine!

#

I don't know man I saw people paying for this

#

so I thought why not give it a try like make a saas or something

somber heath
#

@fleet silo 👋

#

Feed me, Ace.

#

I will feed you back.

#

So is this a data structure question?

#

How many maximum?

#

How many is all?

#

Is the number known at the start?

#

You've been numpying things, right?

#

I don't have an answer.

upper basin
#

!kindle

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

upper basin
somber heath
#

Numpy array's booleans take up one byte per in a bool array.

#

You can squeeze that down further with a bit array.

upper basin
#

But question, if I can access a certain boolean using an index, wouldn't it mean that it's already storing the int indices as well?

somber heath
#

A list or set of indices sounds okay, maybe.

fleet silo
somber heath
#

add

#

!e py print(dir(set))

wise cargoBOT
# somber heath !e ```py print(dir(set))```

:white_check_mark: Your 3.12 eval job has completed with return code 0.

['__and__', '__class__', '__class_getitem__', '__contains__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__iand__', '__init__', '__init_subclass__', '__ior__', '__isub__', '__iter__', '__ixor__', '__le__', '__len__', '__lt__', '__ne__', '__new__', '__or__', '__rand__', '__reduce__', '__reduce_ex__', '__repr__', '__ror__', '__rsub__', '__rxor__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__xor__', 'add', 'clear', 'copy', 'difference', 'difference_update', 'discard', 'intersection', 'intersection_update', 'isdisjoint', 'issubset', 'issuperset', 'pop', 'remove', 'symmetric_difference', 'symmetric_difference_update', 'union', 'update']
somber heath
#

and update

#

or whichever else

#

Try different things.

#

See what feels the nicest.

upper basin
#

Thank you very much dear Opal!

#

brb

willow light
#

!e

a = 300
b = 300
assert a is b
wise cargoBOT
willow light
#

Huh, that gets an error on my machine.

whole bear
#

hello

#

who can help me to get voice veufycation 😂

#

.

#

what is your problem

#

no no what is your problem in code

#

.

#

.

#

beacuse i like it

#

not for now

#

this is about past

#

offcourse

#

im from iran 🤣

#

my english is really bad

#

where are you from

#

realy ???????

#

sh*t

#

🤣🤣🤣

#

ok stop it

#

please speak english

#

Do you work with advanced Python?

still herald
#

TELL MEE

whole bear
#

The most beautiful part of the song is the one you don't sing 🤣

#

nothing

#

forgot it

#

do you know linux ?

still herald
#

No man

whole bear
#

i can hear you

#

dont type

#

lol

still herald
#

Say it man

whole bear
#

if you have any hard question translate it to persian bec your voice is really bad

#

yes

#

not so bad i dont understand

#

im male

#

alisa help meeeeeeee

#

she is mad

#

yes yes

#

do you know about hangover ?

vocal basin
whole bear
#

i dont know how can i told you

vocal basin
#

nmap works on Windows too ¯_(ツ)_/¯

#

what are you nmapping

whole bear
#

can you help ?

#

hemlock

#

can you help me to get voice verifycation ?

still herald
#

114.35 United States Dollar

ocean scroll
#

do you guys always enforce type hints?

#

like when you are working on a new project specially

vocal basin
#

for new projects, pyright in strict mode

frozen owl
#

i have refactored my nn class :p

class RegressionModel(SequentialModel):
    def __init__(self, loss_criterion, seed=None):
        super().__init__(loss_criterion, seed)
        self.add_layer(8, 24, relu)
        self.add_layer(24, 12, relu)
        self.add_layer(12, 6, relu)
        self.add_layer(6, 1, relu)

so simple now

#

i also have asserts :p

vocal basin
frozen owl
vocal basin
#

Pylance

#

=pyright

#

but Microsoft™️™️

frozen owl
#

hm? i have pylance but no shit in there

peak depot
#

The Gulf Stream is a warm and swift Atlantic ocean current that originates in the Gulf of Mexico and flows through the Straits of Florida and up the eastern coastline of the United States, then veers east near 36°N latitude (North Carolina) and moves toward Northwest Europe as the North Atlantic Current. The process of western intensification c...

frozen owl
vocal basin
#

Pyright is

frozen owl
#

(idk i use vscode so)

vocal basin
#

Pylance isn't

peak depot
#

current*

vocal basin
#

I will use that if I ever get back to making software in Python

#

imagine having a webcam at all

frozen owl
#

like this

#

i have this now with me

#

like crap pc

rugged root
#

Do you have a link? I'm curious about the specs

vocal basin
#

we use a few of Intel NUC at work

frozen owl
#

yeah im not that old

vocal basin
frozen owl
#

true

#

like good for internet browsing and editing office files

frozen owl
#

me no lugging displays around

#

intel i5 10210u

vocal basin
vocal basin
#

x86-64

#

not ARM

frozen owl
#

wtf is this Intel® Bay Trail-T Quad Core Z3740 1.33 GHz Processor

#

never heard of trail t

vocal basin
frozen owl
#

have you heard of orange pi

vocal basin
#

without SATA

frozen owl
#

that shit sounds op

vocal basin
#

that is better than J4105

#

also 8 cores

#

hmm

#

but ARM

frozen owl
#

yeah

#

i might want to go to shenzhen soon

#

get a swoop of those

#

orange pi k8 cluster

vocal basin
#

oh

#

they have RISC-V

#

raspberry pi is the most recognisable

rugged root
#

I'm thinking price per power

vocal basin
#

everything else is normally referenced by CPU

frozen owl
vocal basin
frozen owl
#

dw alisa i can get them and send it over?

#

one more reason to go to shenzhen

#

or do they check stuff at the customs

vocal basin
#

seems like it's out of stock in general

frozen owl
#

ive been to shenzhen once and it's to huaqiangbei

#

aka where you can get sweatshop stuff for cheap /j

frozen owl
somber heath
frozen owl
#

i use this calculator and it feels boring

frozen owl
somber heath
#

Michael Vuble.

frozen owl
#

rip sensory overload

somber heath
#

Yeah, that looks...not great.

frozen owl
#

but i can get stuff for cheap

#

like quite a lot of electronics

#

been there once

#

yeah just on bro it's legit /j

frozen owl
#

but i bet the rent is still expensive as fuck

somber heath
#

"Computer viruses got you down? Here, burn some sage. It will purify your computer of all those pesky bugs."

frozen owl
#

im waiting for my computer acupuncture session

#

get rid of the bad qi

vocal basin
#

funny how firefox has "not supported at all" and "user must explicitly enable this feature"

rugged root
#

Sheesh

vocal basin
#

wasn't Higgs boson or whatever announced in comic sans too

#

I'm getting startled by my own voice
bwaaa

rugged root
#

Wat? How?

vocal basin
#

loud and high and scary

rugged root
#

HA

#

Nice

vocal basin
#

how

stark river
#

masonry is still "experimental"

vocal basin
#

with experimental support in one browser

stark river
#

things move slow in the standards world

#

masonry has been experimental since 2005 iirc

#

there was a blog on how to mimic the layout

vocal basin
waxen knoll
vocal basin
#

yeah, Big Crunch

rugged root
#

@rich garnet

rich garnet
vocal basin
#

you said JSON

#

you can claim you meant on* methods in JS

rich garnet
#

127.0.0.1:6379> keys *

  1. "connection_count_127.0.0.1"
  2. "chatbot_status_127.0.0.1"
  3. "device_ids_127.0.0.1"
    127.0.0.1:6379> keys *
  4. "device_ids_192.168.1.196"
  5. "connection_count_192.168.1.196"
  6. "device_ids_127.0.0.1"
  7. "chatbot_status_192.168.1.196"
  8. "chatbot_status_127.0.0.1"
  9. "connection_count_127.0.0.1"
    127.0.0.1:6379> keys *
  10. "connection_count_192.168.1.196"
  11. "device_ids_127.0.0.1"
  12. "chatbot_status_127.0.0.1"
  13. "connection_count_127.0.0.1"
    127.0.0.1:6379> get connection_count_192.168.1.196
    "0"
    127.0.0.1:6379>
vocal basin
#

funny frequencies bouncing

#

I wonder why it's actually looking like that

vocal basin
#

not really attempting it to be low; just loud

rugged root
#

!stream 711980188543615107

wise cargoBOT
#

✅ @rich garnet can now stream until <t:1725642580:f>.

sour imp
signal surge
#

Anhone have 1 ton coin pls help me for some gas fee

vocal basin
#

telegram

#

it's all going to 0 now anyway

rugged root
ocean scroll
#

hey

#

how to check how many messages left before I can reach 50

rugged root
#

#bot-commands !user

#

!source

wise cargoBOT
ocean scroll
#

thanks

#

do you follow type hints strictly on every functions when starting a new project?

rugged root
ocean scroll
#

I'm looking for a open source project where I can contribute to during my free time. can anyone recommend one? Looking for something that is useful or being used hehe

#

understood

upper basin
#

Way to do this cleaner? Looks icky.

for key in counts.keys():
                new_key = ''.join(key[::-1][i] for i in range(len(key)) if i in circuit.measured_qubits)
                partial_counts[new_key[::-1]] = counts[key]
vocal basin
#

why are you repeatedly reversing it

upper basin
#

"001"

#

[0, 2]

#

"01"

#

"10"

#
{
  "000": 512,
  "001": 512
  }
#

"00" and "01"

ocean scroll
#

🍻

whole bear
#

What happened? @upper basin

rugged root
#

We're talking about the sickness he's been fighting for years

vocal basin
wise cargoBOT
vocal basin
#

although

rugged root
vocal basin
#

is key always np.ndarray?

upper basin
vocal basin
#

then definitely don't [::-1] in a loop with the same value

#

*in a comprehension

stark river
#

i was hungry
so i ordered a kfc meal
now i am hungry, sad and have the taste of disgusting kfc in my mouth 😦

ocean scroll
#

medical tourism

whole bear
#

be confident with your choice!

rugged root
#

Yep. If there's a doubt, that's a sign

still herald
#

Goodnight guys

rugged root
#

Have a good one

verbal zenith
#
def sum(*num):
  n = 0
  [globals().__setitem__("n", n+x) for x in num]
  return n

sum(num=[1,2,3,4])
whole bear
#

!e

print(sum.__dir__)
rugged root
#

!e

def sum(a, b):
  return a + b

print(sum.__dir__())
wise cargoBOT
# rugged root !e ```py def sum(a, b): return a + b print(sum.__dir__()) ```

:white_check_mark: Your 3.12 eval job has completed with return code 0.

['__new__', '__repr__', '__call__', '__get__', '__closure__', '__doc__', '__globals__', '__module__', '__builtins__', '__code__', '__defaults__', '__kwdefaults__', '__annotations__', '__dict__', '__name__', '__qualname__', '__type_params__', '__hash__', '__str__', '__getattribute__', '__setattr__', '__delattr__', '__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', '__init__', '__reduce_ex__', '__reduce__', '__getstate__', '__subclasshook__', '__init_subclass__', '__format__', '__sizeof__', '__dir__', '__class__']
rugged root
#

!e

def sum(a, b=3):
  return a + b

print(sum.__dict__)
print(sum.__dir__())
print(sum.__defaults__)
wise cargoBOT
# rugged root !e ```py def sum(a, b=3): return a + b print(sum.__dict__) print(sum.__dir__(...

:white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | {}
002 | ['__new__', '__repr__', '__call__', '__get__', '__closure__', '__doc__', '__globals__', '__module__', '__builtins__', '__code__', '__defaults__', '__kwdefaults__', '__annotations__', '__dict__', '__name__', '__qualname__', '__type_params__', '__hash__', '__str__', '__getattribute__', '__setattr__', '__delattr__', '__lt__', '__le__', '__eq__', '__ne__', '__gt__', '__ge__', '__init__', '__reduce_ex__', '__reduce__', '__getstate__', '__subclasshook__', '__init_subclass__', '__format__', '__sizeof__', '__dir__', '__class__']
003 | (3,)
rugged root
#

!d inspect

wise cargoBOT
#

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.

ocean scroll
#

same

#

i'll hop off too

#

talk again soon

#

have a great weekend

#

👋

verbal zenith
#
>>> x.__closure__
(<cell at 0x000002328DC18490: int object at 0x00007FF8E64139D8>,)
#
>>> def add_n(n):
...     def add_some(b): return b+n
...     return add_some
...
>>> x = add_n(1)
whole bear
#

this is cool!

verbal zenith
rugged root
frozen owl
#

i have a question,
in python i want to convert a list[int] into a list[Node], where to instantiate an instance of a Node it's just Node(1) or any primitive real number in python.

i have huge lists and i have done

node_list = [Node(x) for x in int_list]

still felt slow

#

does putting the exp in [] nullify the effects of laziness?

#

like generator

rugged root
#

Other alternative option is:

node_list = list(map(Node(x), int_list))
#

Maybe

frozen owl
#

768 * 60000

stark river
#

the mnist dataset

#

brings back memories

rugged root
stark river
#

🥃

rugged root
#
def add(x: int | float, y: int | None):
frozen owl
#

Option[int]

#

imports 🫠

#

vscode is slow at recognising

rugged root
#

from __future__ import annotations

stark river
#

lsp that use grpc for messaging are faster

rugged root
#

Which ones do that?

stark river
#

json-rpc*

stuck furnace
#

Hey

primal shadow
pastel ridge
#

Hi

#

Gyes

primal shadow
#

at the top of the googs was their rendition of enter sandman

#

Gonna see what it's about

rugged root
pastel ridge
#

I just want to know on what thing or technology you guys are working on

On that stream

primal shadow
#

come on up to the chat

#

and listen in

pastel ridge
#

I can’t even speak in that stream

#

I was doing that

primal shadow
#

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

pastel ridge
#

Ohh so i have to being verified for that

rugged root
#

Yarp

pastel ridge
#

Ok now i get it

sour imp
#

50msgs and I believe 3 days in server

primal shadow
#

So hang out and chat in here with us

rugged root
#

But if you're in chat we're typically watching it so no one gets left out

primal shadow
#

And then in 3 days you can speak

pastel ridge
#

Quick question guyes

primal shadow
#

Ask away

rugged root
#

Shoot

pastel ridge
#

Is django still relevant in 2024

primal shadow
#

That's what LinkedIn tells me

rugged root
#

It is, yeah

pastel ridge
#

From past 2 weeks im learning that and i have bit concerns like as compared to other web frameworks like next.js

rugged root
#

It's good to be well rounded, though

pastel ridge
#

But in india it bit sucks

rugged root
#

Don't put all your eggs in one basket as they say

primal shadow
#

These are PHP

#

IDK why Laravel is so low

#

paired they looked ugly

rugged root
#

@pastel ridge #career-advice might have better insight as to what's common in India. We've got folks from all over so specifiy in there where you're at. They can usually guide you

pastel ridge
#

So i think i can go with Django

primal shadow
#

Either way, knowledge transfers

#

so going with Django will not do you harm

pastel ridge
rugged root
#

Django is still in demand, but again, always try to get multiple tools in your belt

pastel ridge
pastel ridge
primal shadow
#

FastAPI is great

rugged root
#

node.js in general is important to have a good handle on, ASP.NET is good as well

#

But these are beyond just Python

#

For Python, FastAPI as Krzysztof mentioned is a great one to know

#

Flask has fallen out of fashion a bit but not terrible to know about

stark river
#

php 👑

primal shadow
#

PHP is alright

rugged root
#

And yeah, genuinely PHP is still relevant

primal shadow
#

it's pretty terrible too, but it is definitely relevant

rugged root
#

Many things are

#

your mom for example

pastel ridge
#

I do have some experience with flask

#

And i came to know that fastapi is bit fast

#

Numpi🤣🤣🤣

frozen owl
#

numpee

sour imp
frozen owl
#

sharting?

rugged root
#

Sharding

primal shadow
#

shard

rugged root
#

But also yes

primal shadow
#

like a broken thing

#

instead of just one thing, you have a bunch of shards

#

but not broken

rugged root
#

What is a shart but the cause of a broken heart

primal shadow
#

When you shart you break your heart?

#

Death by shart

#

1000 ways to die: #984

#

Sharts are also very embarassing

verbal zenith
#
fn add(a, b, *c, c=2, **k) {
    return 2
}

add
#
Block(2 statements) {
  Function(add) {
    Arguments (
      a,
      b,
      *c,
      c={
        IntegerLiteral(2)[./local/test.rse:1:20-1:21]
      },
      **k,
    )
    Block(1 statements) {
      Return {
        IntegerLiteral(2)[./local/test.rse:2:12-2:13]
      }[./local/test.rse:2:5-2:13]
    }[./local/test.rse:1:28-3:2]
  }[./local/test.rse:1:1-3:2]
  VariableAccess("add")[./local/test.rse:5:1-5:4]
}[./local/test.rse:1:1-5:4]
Value(<Function: "add" at ./local/test.rse:1:1>)
frozen owl
#

@quick cloak ik youre watching haven's stream but i set seeds and plot functions for both my impl and pytorch's

#

like in this test im just fitting a single point using y=mx+c, ax^2+bx+c and ax^3 + bx^2 + cx + d

#
Training results: {'LinearModel-TensorOps': 5.512648307000641e-05, 'QuadraticModel-TensorOps': 0.08210634453891559, 'CubicModel-TensorOps': 0.323858247256095}
Training results: {'LinearModel-PyTorch': 5.512723510037176e-05, 'QuadraticModel-PyTorch': 0.08210641890764236, 'CubicModel-PyTorch': 0.32385990023612976}
#

i get pretty much the same results

frozen owl
#

am i able to do stuff eg

x: int = 1
#

or does it apply to functions only

vocal basin
#

!d contextvars

wise cargoBOT
#

This module provides APIs to manage, store, and access context-local state. The ContextVar class is used to declare and work with Context Variables. The copy_context() function and the Context class should be used to manage the current context in asynchronous frameworks.

Context managers that have state should use Context Variables instead of threading.local() to prevent their state from bleeding to other code unexpectedly, when used in concurrent code.

See also PEP 567 for additional details.

Added in version 3.7.

vocal basin
# wise cargo

@long minnow at times, a better approach for handling singletons

wise cargoBOT
#

Lib/asyncio/threads.py lines 12 to 25

async def to_thread(func, /, *args, **kwargs):
    """Asynchronously run function *func* in a separate thread.

    Any *args and **kwargs supplied for this function are directly passed
    to *func*. Also, the current :class:`​contextvars.Context`​ is propagated,
    allowing context variables from the main thread to be accessed in the
    separate thread.

    Return a coroutine that can be awaited to get the eventual result of *func*.
    """
    loop = events.get_running_loop()
    ctx = contextvars.copy_context()
    func_call = functools.partial(ctx.run, func, *args, **kwargs)
    return await loop.run_in_executor(None, func_call)```
vocal basin
#

starting learning patterns with the worst pattern 🎉

urban abyss
#

how relevant are patterns in your day to day?

vocal basin
#

I'm having to deal with someone having been erroneously relying on there being only a single instance of something within a program at work

#

unfun

vocal basin
vocal basin
#

cursed Rust

#

wrapped map

#

it mostly behaves like map for Option/Result/Future

#

but is generic over what type of wrapping is used

vocal basin
#

ask a type theorist, they'll tell you 100% of errors are caused by lack of proper typing

#

@hallow warren strong static typing helps with dealing with corner cases a lot

#

especially thanks to languages providing sum types

somber heath
#

@whole bear 👋

whole bear
#

wsp

#

whats'up

#

are you brittish?

#

lol

#

sound like it

#

yyeahh u sound cool

#

stingrays are a pain in the heart

#

🤣

#

fr

atomic nebula
#

hey @somber heath

#

sup

#

i didn't catch you

#

ou

#

let me join from another account

#

i cant talk from this

forest zodiac
#

The Banshees of Inisherin

forest zodiac
somber heath
#

@fleet relic👋

vocal flare
#

I'm learning python. I want to practice it can someone join me we will talk about python

somber heath
noble solstice
somber heath
#

@pastel ridge👋

noble solstice
#

Hello @pastel ridge

noble solstice
#

Long time no see

#

ppl are introvert here!

#

Okay Byy! Enjoy ur day stay healthy

pastel ridge
#

I am also new to this

#

I am ready for this

pastel ridge
pastel ridge
somber heath
#

@stone nova 👋

stone nova
obsidian dragon
#

@somber heath 👋🏽

somber heath
#

@vocal flare 👋

vocal flare
#

Hi

#

Give me permission to talk

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.

somber heath
#

@spice pagoda 👋

spice pagoda
#

no

#

sorry got to go

#

👋

spice pagoda
sour imp
tawdry mica
#

@upbeat bobcat hello

#

@upbeat bobcat Can you open the mic for me?

upbeat bobcat
upbeat bobcat
wise cargoBOT
#
Voice verification

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

tawdry mica
upbeat bobcat
tawdry mica
upbeat bobcat
somber heath
#

You may need to exit voice chat then rejoin.

upper basin
#
def __init__(self,
             num_qubits: int) -> None:

and

def __init__(
        self,
        num_qubits: int
    ) -> None:
somber heath
#

@whole bear@brisk rapids👋

willow gate
#

@somber heath hello how are you

#

can explain what is the use line feed vs carriage return

#

like line feed is use for new line and carriage return is use for starting

#

mac and linux use lf

#

i did understand the main use

#

okay like if send a file from mac os to windows the format text file will get change?

#

okay thanks

#

@somber heath bye

quartz beacon
#

i lost my mic

#

gimem a memomernjhnroia

upbeat bobcat
#

@obsidian dragon hi

austere hornet
#

what's this nerdy game

#

looks cool

#

get tts lol

#

me?

#

I am my own tts MikuProud

#

is that too weird for you

#

You have Twitch???

#

oh yeahhh

#

oh craftopia facepalm I'm actually stupid

#

I've seen it under your profile before

#

Hi Milien

#

Christmas already?

#

Oh no furidespair

#

wait but halloween hasn't even passed yet

#

not that I bother celebrating it

#

Christmas is comparable to the Dream face reveal. So much hype for a short disappointment

#

werewolf

#

lycanthrope?

#

looks like genshin with much graphics

#

I've been wasting my life with zenless zone zero

#

noo

#

it's genuinely good

#

and like I'm the type of person to lose interest in genshin really quickly because it's just boring and too floaty imo

#

idk zzz has some weird pacing because you need to level up and sometimes it feels like you can't make progress but when you do get to like lvl 30 + (which doesn't take too long) it gets interesting

#

all the chapters and the different factions start to interact with each other and it really makes for some great lore and storyline

#

and it's also just a cute game if you want to walk around in sixth street taking photos of cats and talking to people

#

the fighting is my favourite part tho

#

elden ring easy?

#

is elden ring easy?

#

should I buy dlc?

#

maybe you should try black myth

#

RAID SHADOW LEGENDS

-# obviously don't play this

#

yeah he streamed it with the lowest quality with the worst mic quality

#

i remember

#

there we go

#

lol

#

all the promo/bad ad games are coming back to me

#

"AFK ARENAS"

#

"Magic: The Gathering Arena"

#

Paimon_DeadInside I've procrastinated for too long

#

I die

#

nerdy game no glitches 🤓

#

"Craftopia is a perfect game that doesn't glitch"

#

well I'm off to bed

#

procrastinate some more by sleeping

placid kernel
#

Hey guys! Has anyone of you configured dev mode airflow environment in mac or linux?

#

I know its kind of very specific

queen vigil
surreal wyvern
#

@somber heath Namaste 🙏

somber heath
#

Hm.

somber heath
#

Biryani () is a mixed rice dish, mainly popular in South Asia. It is made with rice, some type of meat (chicken, goat, lamb, beef, prawn, or fish) and spices. To cater to vegetarians, in some cases, it is prepared by substituting vegetables or paneer for the meat. Sometimes eggs and/or potatoes are also added.
Biryani is one of the most popular ...

slender sierra
#

@somber heath hi😊

somber heath
#

@rich coyote 👋

somber heath
#

@whole bear 👋

quartz beacon
whole bear
somber heath
#

@indigo solstice 👋

whole bear
#

This took 400 lines of code it is supposed to be "Hello world!"

#

@wind raptor

wind raptor
#

Heyo

safe solstice
#

how does it take the inspiration, ig as humans taking inspiration might be different from how AI does it, how does AI take inspiration, I am curious of the methodology? @stiff girder

waxen knoll
#

👀

lavish rover
wind raptor
#

Yeah 😄

#

Thanks

frozen owl
#

the vc is unusually active on a saturday

quartz beacon
primal shadow
wind raptor
#

@sour imp heated AI debate going on 😉

stoic chasm
#

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.
The service has both free and premium tiers. The software that hosts the containers is called Docker Engine. It was first released in 2013 and is developed by Docker, Inc.
Docker is a tool that is used to ...

primal shadow
wind raptor
stoic chasm
wind raptor
#

It's just a debate.

verbal zenith
#

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

stoic chasm
#

cursed server

upbeat bobcat
#

@wind raptor Can I get stream perms?

wind raptor
#

!stream 1047793849008914512 1h

wise cargoBOT
#

✅ @upbeat bobcat can now stream until <t:1725730589:f>.

upbeat bobcat
rugged root
#

If you hate it here you're free to leave

#

45 actually. My wife is 11 years older than me. However now you've crossed a line

wind raptor
#

!pban 287455927857315841 Being extremely disrespectful to staff

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @dark swan permanently.

wind raptor
#

See ya

rugged root
#

Thanks. Tough to do that from mobile

wind raptor
#

No worries!

rugged root
#

Figured me existing would be enough for him to dig his own grave

upbeat bobcat
#

brb

rugged root
#

Back to playing video games and hanging out with wife

wind raptor
#

Enjoy!

wind raptor
rugged root
#

Will do!

upbeat bobcat
#

back

quartz beacon
quartz beacon
wind raptor
#

!stream 198467430241140736 1h

wise cargoBOT
#

✅ @long minnow can now stream until <t:1725731445:f>.

willow light
#

what did i miss?!?

stuck furnace
#

Is this like a bot programming contest or something? I missed the context.

upbeat bobcat
#

Why this css file is complaining?

stuck furnace
#

@long minnow What're you working on? Looks interesting 👀

upbeat bobcat
#

What Is going on with my css file?

#

@stuck furnace Do you see anything wrong?

stuck furnace
#

Errrm, not sure. Does the syntax for QT css files differ in any way from regular css files? What happens when you build/run your program?

#

I've not used QT, and haven't used CSS for a while, so I'm probably not the best person to ask.

upbeat bobcat
#

But still complaining

long minnow
# stuck furnace <@198467430241140736> What're you working on? Looks interesting 👀

I'm working on a Sonar simulation. My goal is to try to create a sonar "engine" where I can make a pseudo-sonar game. One player can control a transmitter / receiver, while another drives around a submarine. Eventually, I hope to hook up the controls to an AI model, and provide various goals (i.e. find the target in the minimum amount of time, cover the area and indicate how many targets are contained with some amount of confidence, etc.)

upbeat bobcat
#

@wind raptor Why my css file is not working?

#

Give me stream perms so I can change screen

#

to show you

queen pewter
#

What channel to get some assistance on BEGINNER python? using Debian

upbeat bobcat
#

Oh

#

Ok I have another question

queen pewter
#

thanks

wind raptor
#

No problem!

upbeat bobcat
#

can I get stream perms so I can change my screen?

#

@boreal copper hi

#

Oh I accidently left the call

upper basin
#

Is there a command to basically check for trailing whitespaces on an entire directory?

#

I've been ctrl k ctrl x ing every file.

#

Fine when I'm working on sth, but would like to have a command that does it through an entire directory when I'm changing lots of stuff real fast across multiple files.

verbal zenith
stark river
upbeat bobcat
stark river
#

some live servers e.g. http.server module from python, don't support hot reload... do a F5 to force a reload.. check dev tools / cli to see if css loaded or did you get a 404

upbeat bobcat
stark river
#

css is supposed to be read by the browser no?

upbeat bobcat
sour imp
frozen owl
#

whats the stack

#

cool

#

i heard rust earlier

#

whats your estimated cost for hosting

sour imp
sour imp
#

whats goodie

sour imp
whole bear
#
C:.
│   .gitignore
│   LICENSE
│   README.md
│   buildInfo.txt
│   compile.bat
│   cutable.exe
│   glfw3.dll
│
├───.vscode
│       settings.json
│
├───assets
│   ├───images
│   │       logo.ico
│   │       logo.png
│   │       page.png
│   │
│   └───texts
│           after_lex.txt
│           logs.log
│
├───build
│       Bassil-Main-Build-ORS-A01.exe
│       Legacy-Build-A01.exe
│       Window-Test.exe
│
├───include
│   ├───glad
│   │       glad.h
│   │
│   ├───GLFW
│   │       glfw3.h
│   │       glfw3native.h
│   │
│   └───KHR
│           khrplatform.h
│
├───input
│       main.basl
│
├───lib
│       glfw3.dll
│       libglfw3dll.a
│
├───output
│   ├───logs
│   │       logs.log
│   │       logs.logs
│   └───json
│           after_lex.json
│
├───src
│   ├───core
│   │       glad.c
│   │       main.cpp
│   │
│   ├───modules
│   │       command_processor.cpp
│   │       error_report.cpp
│   │       lexer.cpp
│   │       parser.cpp
│   │       test_window.cpp
│   │       utils.cpp
│   │
│   ├───headers
│   │       error_report.h
│   │       lexer.h
│   │       parser.h
│   │       utils.h
│   │
│   └───tests
│           test_window.cpp
│
└───third_party
        glfw3.dll
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @sour imp until <t:1725739808:f> (10 minutes) (reason: newlines spam - sent 136 newlines).

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

stuck furnace
#

!unmute 732291998274420828

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @sour imp.

verbal zenith
#

thank you @stuck furnace <3

#

@sour imp

whole bear
#

🩷

stuck furnace
sour imp
vocal basin
#

you can also make a serde::Deserializer out of your Values for cases when the function accepts only primitives

#

@lavish rover you can also do that with just , *,

#

everything after it is kw-only

#

even without variadics

#

also /

#

I prefer just using a builder pattern

#

in the language is ergonomic enough for it

#

in its foundation, builder doesn't require polymorphism

#

but

#

if you read The Book it might say something else

#

@verbal zenith you can dynamically load some parts and bootstrap gradually

#

with C interface

lavish rover
#

!user

wise cargoBOT
#
not segfault (segfault404)

hypesquad_brilliance

User information

Created: <t:1510259196:R>
Profile: @lavish rover
ID: 378279228002664454

Member information

Joined: <t:1604700419:R>
Roles: <@&267630620367257601>, <@&430492892331769857>, <@&764802720779337729>, <@&1074780483776417964>

Activity

Messages: 28,435
Activity blocks: 4,900

Infractions

Total: 0
Active: 0

frozen owl
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

frozen owl
#

oof

sour imp
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

frozen owl
#

10 infractions???

#

backus naur

vocal basin
#

as in the only one that's not used in production

#

yet

#

--allow-empty my beloved

#

I like how it announces that

#

sure I will view all the changes

#

wait I only now noticed the spelling

#

TIL both are fine

wind raptor
#
BEGIN_LICENSE_AGREEMENT

WHEREAS the undersigned LICENSEE wishes to output a greeting;
AND WHEREAS the LICENSOR grants permission for such output;

NOW, THEREFORE, the parties agree as follows:

1. GRANT OF LICENSE:
   1.1 LICENSOR hereby grants LICENSEE the right to execute:
       PRINT "Hello, World!"

2. TERM AND TERMINATION:
   2.1 This agreement shall terminate immediately upon successful execution.

END_LICENSE_AGREEMENT

EXECUTE_AGREEMENT
sour imp
lavish rover
#
for i in `seq -w 0000 2027`; do echo "Copyright Ruse $i" > LICENSE; git add .; git commit -m "Update license to $i"; done
sour imp
quartz beacon
#

XD

vocal basin
#

from what I remember when it hits 1GB, GitHub will knock and ask

frozen owl
#

it's like
3
3.1
3.14
3.141
etc

quartz beacon
#

banana linux

frozen owl
#

make versioning

#

like version 3.1

whole bear
#

Missing license for 23634724 BCE

vocal basin
wind raptor
#

Nice!

whole bear
#

@lavish rover

vocal basin
sour imp
#
LOOPHOLES <number_of_iterations>
    <command>
END_LOOPHOLES
vocal basin
#

READ, PRINT, PUNCH, NUMBER, MAX, BEING, FROM, CHANNEL, DIGIT, STERLING, CHARACTERS, UP, TO, RADICES, QUANTITY, DECIMAL, POINT, INADMISSIBLE, INPUT, CONTROL, ERROR, SEEN-CHARACTER, OPERAND, CALCULATE, HOLD, OFF, ON, SEE, AT, POSITION, PLACES, FILE, GET, AGAIN, WITH, FINISH, REEL-END, UNOBTAINABLE, END-OF-FILE, MARKER, BRANCH, OR, GET-AGAIN, ACCORDING, SEQUENTIAL, FILING, DUMP, DATA, PROCESSING, PROGRAM, FOR, CHAPTER, NOTE, IN, OBEY, AND, ARE, AT, BY, IN, IS

#

imagine having that as keywords

#

@full meadow I don't think it's displaying everything

whole bear
#

License 1772 // Runs programs start

License 1334 // Starts Print Input Stream
License 1455 // Moves 'H' to stream
License 0923 // Moves 'e' to stream
License 0832 // Moves 'l' to stream
License 0832 // Moves 'l' to stream
License 0199 // Moves 'o' to stream
License 0811 // Moves ' ' (space) to stream
License 1702 // Moves 'W' to stream
License 0923 // Moves 'e' to stream
License 0832 // Moves 'l' to stream
License 0832 // Moves 'l' to stream
License 0199 // Moves 'o' to stream
License 0921 // Moves 'r' to stream
License 0145 // Moves 'd' to stream

License 0999 // Ends Print Input Stream

License 2771 // Terminates program
frozen owl
vocal basin
#

also these are same colour lmao

frozen owl
#

1k commits mustafa today

wind raptor
#

!paste

vocal basin
#

the most I ever did in a day

sour imp
whole bear
frozen owl
#

copypasta time

wind raptor
sour imp
vocal basin
#

allegedly GitHub does GC commits

whole bear
vocal basin
#

@verbal zenith still there

frozen owl
frozen owl
whole bear
vocal basin
#

@verbal zenith where are you adding CI

vocal basin
#

instantly go from 10 commits per day to 100 commits per day because it never works

frozen owl
#

wait does GH recommend repos to ppl like google

#

like more commits (real or fake) = more promotes

#

damn mustafa first thing on my home screen

vocal basin
#

quite sure it promotes based on stars/contributors/forks/rdeps not commit count

frozen owl
#

fork bot

vocal basin
#

!paste

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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

frozen owl
#

so my best alphazero impl run 500 elo worse than my target bot and i started a new run

the run was -750 elo from my best run and now it's -500 elo, it's getting good real fast

#

getting hundreds of elo a day is fun, the elo graph is quite steep initially but plateaus fast

#

according to this

#

!paste

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 Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

frozen owl
#

done it for you

#

click the link

vocal basin
#

opera
just another chrome

vocal basin
#

@wind raptor
French version:
operá

frozen owl
#

@near jacinth

#

OH SHIT

#

WRONG PING

#

@wind raptor

wind raptor
#

? Why am I pinged for this?

vocal basin
#

looks like there's only three colours I have on Gitea lol

frozen owl
#

i have this snake thing on my pfp

vocal basin
#

and slightly more on Forgejo

frozen owl
#

i code best when in exam season

vocal basin
#

wdym so many

#

only, like

frozen owl
#

pressure makes diamonds

vocal basin
#

6

#

historically, 8

#

(two older instances of Gitea I removed)

frozen owl
#

and i listen exclusively to kpop it seems according to spotify

vocal basin
# vocal basin historically, 8

GitHub
GitLab
Codeberg (Forgejo)
self-hosted Forgejo
self-hosted Gitea
self-hosted Gitea at work
self-hosted Gitea (unmaintained)
self-hosted Gitea (lost)

sour imp
vocal basin
#

installing Arc now that it supports W10 and not only W11

#

just for fun

frozen owl
#

i thought you use tor?

vocal basin
vocal basin
frozen owl
#

does it make it harder to track your digital footprint though

#

you use the same isp right?

#

how many vpns do you have

#

like do you switch them out after every data breach (every day)

vocal basin
#

I don't use VPNs "for privacy"

frozen owl
#

i never really understand "self hosting"

#

ik a subreddit for it

#

that's where i came across it

#

r/selfhosted

vocal basin
#

I was not meaning it in the context of programming languages

#

if that's what the question was

vocal basin
#

@wind raptor looks like it just merges the concept of pinned tabs and bookmarks

#

uh

#

I can't use this

#

uhhh

quartz beacon
#

@quartz beacon

vocal basin
#

idk why but it's actually somewhat nauseating for me

#

like the UI is laggy

#

yeah, more than chrome

#

and I thought chrome was bad

#

the left panel is cursed

#

not because of its static look

#

but, like, in action

#

random cursor issues appearing and whatever

#

well, I guess, Windows 10 support is still incomplete

#

Sun™️ VirtualBox is fine

wind raptor
#

!stream 732291998274420828 1h

wise cargoBOT
#

✅ @sour imp can now stream until <t:1725748802:f>.

vocal basin
#

best browser

wind raptor
vocal basin
sour imp
wind raptor
#

Tbh the Mac version runs way better than my Windows one.

vocal basin
#

I'm clicking these and they don't do anything

#

how

#

and now it crashed

#

it's not starting

#

AND_THEN obviously must be a separate keyword

#

this way you'll natively have monads in your language

#

not surprising it's the same message

vocal basin
#

the roundy one

#

if chrome and firefox go this bs way, I'll just stop using internet ig

#

rn trying Zen browser

#

and it's not zen at all

#

rrrrrr

#

where is this so called "customisation" of letting me remove the frame

#

I'm too lazy to search

#

I'm not a big fan of garbage UI

#

you can't claim your browser is customisable while not providing the option to turn off the design error you made

#

at least Tor has an actual reason why it adds borders

#

allegedly Arc doesn't show borders in full screen

#

Zen does

#

this one is okay

sour imp
#

@wind raptor

wind raptor
#
0 0 4 4 4 0 0
0 4 1 1 1 4 0
4 1 2 1 2 1 4
4 1 1 1 1 1 4
4 1 2 2 2 1 4
0 4 1 1 1 4 0
0 0 4 4 4 0 0
vocal basin
#

round, sqrt, @property

vocal basin
#

just the page, narrow line above and narrow line below

#

also vim controls

wind raptor
#
0 0 4 0 0 4 0
0 4 4 4 4 4 4
0 4 1 3 3 1 4
0 4 4 4 4 4 4
4 0 0 4 4 0 0
0 4 4 4 4 4 0
0 0 0 4 4 4 0
0 4 4 0 4 4 0
4 1 1 4 1 1 4
4 1 1 1 1 1 4
4 1 1 1 1 1 4
0 4 1 1 1 4 0
0 0 4 1 4 0 0
0 0 0 4 0 0 0
frozen owl
#

genius, i managed to restore my discord bots that i was hosting - they were single file bots (ik bad) but i managed to re-find the contents and rebooted my machine remotely and now theyre back

sour imp
#

lololololololololol

frozen owl
#

this is goofy as fuck

#

try and do like embezzlement shit

sour imp
frozen owl
#

wait is there a way to make a QR code from commits

lavish rover
frozen owl
#

rickroll as fuck

vocal basin
frozen owl
#

no, do it like 120 fps and bring down the internet

#

fuck rate limits and ip bans

vocal basin
#

quite sure Gitea/Forgejo only count pushes

#

so there you can't do that

frozen owl
#

make the animaton segfault

vocal basin
#

@wind raptor add CODE_OF_CONDUCT.md support

#

instead of --dry-run, it has --not-a-legal-advice

vocal basin
sour imp
vocal basin
#

'END LEGAL_LOOPHOLE'
truly a keyword

#

the mix of , _ and arbitrary punctuation in keywords is funny

#

what percent of AI-written code are we aiming towards

vocal basin
#

and commits no changes to disk

#

embed some small AI model for reasoning

#

similar to the one Chrome is getting

lavish rover
#
$ p3 tmp.py     
 Initial values: defendant = 3, accomplice = 4
 The calculated sentence length is 10 years.
 The final damages amount to 12000 dollars.