#voice-chat-text-0

1 messages · Page 221 of 1

balmy patrol
#

i dont know why kotlin seme ugly to me

rugged root
balmy patrol
#

there is the role?

vocal basin
#

just void * everywhere

vocal basin
weary ice
#

​!voiceverify

rugged root
vocal basin
#

not as specialised as R and others

rugged root
#

(Working on cleaning up the system, I know it's a bit hokey right now)

wise loom
vocal basin
#

(under "General Purpose" tab)

woeful salmon
#
mutable struct Camera
    pos::Vec3
    u::Vec3
    v::Vec3
    w::Vec3
    fov::Int64
    width::Int64
    height::Int64
    corner::Vec3
    horizontal::Vec3
    vertical::Vec3

    function Camera(pos::Vec3, dir::Vec3, up::Vec3, fov::Int64)
        w = normalize(dir * -1)
        u = normalize(cross(up, w))
        v = cross(w, u)
        return new(pos, u, v, w, fov, 0, 0, Vec3(0, 0, 0), Vec3(0, 0, 0), Vec3(0, 0, 0))
    end
end

🤣

wise loom
#

@peak depot what do you work

woeful salmon
balmy patrol
#

hh

balmy patrol
#

it ugly

woeful salmon
#

its pretty similar to bash / lua in a sense so for me its alright

#

atleast for syntax

balmy patrol
woeful salmon
#

i mean i can see why it'd look ugly at first look, i felt similar about python when i came from java / c

balmy patrol
#

class game {
none(a) {
var char = a;
switch (char) {
case "a":
console.log("adil")
break;
case "b":
console.log("sozi")
break;
case "c":
console.log("lily")
break;
default:
console.log("sokafok")
break;
}
}
}
const Game = new game;
Game.none("a");
let map = new Map([
["comedey", "watching"],
["psycology", "interview"],
["tech", "cours"]
])

console.log(map)
let m = {
s: "z"
}
console.log(m)
setTimeout(() => {
console.clear()
}, 2000);

trying to understanding js syntac

woeful salmon
#

python looks weird, where's my curly braces

vocal basin
#

no

#

it's just bad practice

woeful salmon
#
class game {
    none(a) {
        var char = a;
        switch (char) {
            case "a":
                console.log("adil")
                break;
            case "b":
                console.log("sozi")
                break;
            case "c":
                console.log("lily")
                break;
            default:
                console.log("sokafok")
                break;
        }
    }
}
const Game = new game;
Game.none("a");
let map = new Map([
    ["comedey", "watching"],
    ["psycology", "interview"],
    ["tech", "cours"]
])

console.log(map)
let m = {
    s: "z"
}
console.log(m)
setTimeout(() => {
    console.clear()
}, 2000);
vocal basin
#

like, Pascal

balmy patrol
#

c++ it good for robot tobic

vocal basin
#

@rugged root there is an especially wrong subtype of that practice which is to have scope variables defined outside of the scope

#

e.g. when only one branch of if initialises the variable

rugged root
#

Yeah that's dirty

vocal basin
#

it's not a convention, it's an anti-pattern

balmy patrol
#

this was my first prject in pythonXd

vocal basin
#

imports, constants, etc. -- that is either convention or forced by the language

#

well, you can't import at the end of the file in Python if you hope to use that import in the module

#

Rust doesn't force, I think

#

Pascal probably forces

vocal basin
woeful salmon
#

!e

print(__import__("random").random())
wise cargoBOT
#

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

0.9092508457428566
rugged root
#

Gotcha

vocal basin
#

dynamic imports?

woeful salmon
vocal basin
#

but at that point, importlib instead

woeful salmon
#

i kinda got distracted from that xD

vocal basin
#

and importlib.import_module not importlib.__import__

weary ice
#

is that russian?

vocal basin
#

speaking of odd modules

#

!d tabnanny

wise cargoBOT
#

Source code: Lib/tabnanny.py

For the time being this module is intended to be called as a script. However it is possible to import it into an IDE and use the function check() described below.

Note

The API provided by this module is likely to change in future releases; such changes may not be backward compatible.

vocal basin
#

it's been since around 2.6

balmy patrol
#

prevet!!

#

?

rugged root
#

I 100% read this as pervert

vocal basin
#

one `i', one `e', not two `e's

balmy patrol
balmy patrol
vocal basin
#

speaking of xml

#

!d xmlrpc.server

wise cargoBOT
#

Source code: Lib/xmlrpc/server.py

The xmlrpc.server module provides a basic server framework for XML-RPC servers written in Python. Servers can either be free standing, using SimpleXMLRPCServer, or embedded in a CGI environment, using CGIXMLRPCRequestHandler.

Warning

The xmlrpc.server module is not secure against maliciously constructed data. If you need to parse untrusted or unauthenticated data see XML vulnerabilities.

Availability: not Emscripten, not WASI.

This module does not work or is not available on WebAssembly platforms wasm32-emscripten and wasm32-wasi. See WebAssembly platforms for more information.

vocal basin
#

24 hours ago

#

and 10 minutes

balmy patrol
#

oh?

#

are you russian

weary ice
#

@whole bear hi, Could you give me your opinion on this, please: 0. OOP is bad.

balmy patrol
#

i wasnt asking you

vocal basin
#

!e

import runpy
runpy.run_module('__hello__')
wise cargoBOT
#

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

[No output]
weary ice
#

written please

vocal basin
#

eh

balmy patrol
#

spasipa

vocal basin
balmy patrol
woeful salmon
#

!e

import runpy
runpy.run_module('__hello__', run_name="__main__")
wise cargoBOT
#

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

Hello world!
vocal basin
#

what do you mean by OOP?

balmy patrol
balmy patrol
vocal basin
#

that's not The Defintion

balmy patrol
#

at less my definition

vocal basin
#

Java isn't the standard for OOP

balmy patrol
woeful salmon
vocal basin
#

Simula is the origin

#

and SmallTalk is the origin for message-passing

wind raptor
#

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

balmy patrol
#

and who still use java anyway

rugged root
#
exampleWithNumber: x
    | y |
    true & false not & (nil isNil) ifFalse: [self halt].
    y := self size + super size.
    #($a #a 'a' 1 1.0)
        do: [ :each |
            Transcript show: (each class name);
                       show: ' '].
    ^x < y
vocal basin
balmy patrol
#

are you sur not russian

oak yacht
wind raptor
#

For others

rugged root
#

!voice just brings up that bot embed

oak yacht
#

lies

#

shmm'

balmy patrol
#

ding dong

oak yacht
rugged root
#

@oak yacht Check the #voice-verification channel. That'll tell you what you need to know about the voice gate

oak yacht
#

i know how to get

#

i just joined tho lol

vocal basin
rugged root
#

Right right, it was just the leave join leave join

oak yacht
#

LOL

wind raptor
#

@oak yacht Please don't do that on purpose

balmy patrol
#

i study programming in home

oak yacht
#

my bad 😦

rugged root
#

All good all good

wind raptor
#

It's all good 😄

oak yacht
#

lol

#

i couldnt think of a use name

rugged root
#

I love that Mindful and I are in sync with a lot of stuff

balmy patrol
oak yacht
#

username*

balmy patrol
#

i was tink js is the first one no?

oak yacht
oak yacht
balmy patrol
#

java script

oak yacht
#

imto dum i dont know how code

#

lol

vocal basin
oak yacht
#

i heard js good for bots

balmy patrol
#

what?

oak yacht
#

idk

balmy patrol
#

it a bee

oak yacht
#

node.js good for discordd bots?

balmy patrol
vocal basin
#

yes, there is a well-maintained JS library for discord bots

oak yacht
#

what about python (╯°□°)╯︵ ┻━┻

balmy patrol
#

yep she russian

vocal basin
oak yacht
#

@peak depot you a girl?

balmy patrol
#

yeah

oak yacht
#

(╯°□°)╯︵ ┻━┻

#

i use the / table flip thang for that

#

lol

weary ice
#

Guys, do you have portfolios? can I see them 😄

oak yacht
#

ye sure

#

1 sec

rugged root
#

I can show you like the one or two projects I'm actually happy with

#

But I don't have a proper portfolio. I'm just a hobbyist

balmy patrol
#

dont lisetin to theeem

weary ice
#

JEJEJE

balmy patrol
#

i west time 10x than python to understand

rugged root
woeful salmon
balmy patrol
#

yeah

oak yacht
balmy patrol
#

true

vocal basin
# woeful salmon
([]+![])[+!![]]+([]+![])[!![]+!![]]+([]+[][[]])[!![]+!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]+!![]]+([]+![])[+!![]]+([]+{})[!![]+!![]+!![]+!![]+!![]+!![]+!![]]+([]+![])[+![]]+([]+![])[!![]+!![]+!![]+!![]]+([]+[][[]])[!![]+!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]+!![]]+([]+!![])[+![]]+([]+![])[!![]+!![]+!![]+!![]]+([]+![])[!![]+!![]]
woeful salmon
# woeful salmon

@rugged root xD i think this is more intimidating than arrow functions

woeful salmon
vocal basin
oak yacht
#

huh

weary ice
#

haha that voice

balmy patrol
#

hh

oak yacht
#

@peak depot your a girl and your the first girl programmer i ever seen/heard

#

this my first coding server im in

balmy patrol
#

hhh

oak yacht
#

same at first lol

balmy patrol
weary ice
#

Just kidding hahaha @peak depot

oak yacht
#

fire @peak depot 🤣

balmy patrol
vocal basin
#

many of first programmers on "modern" (1940s) computers were

weary ice
balmy patrol
balmy patrol
#

but the importan is praic

willow light
#

language doesn't change the fact that the contrast is incredibly inaccessible

balmy patrol
#

pratict

vocal basin
balmy patrol
#

i ting iam out

#

have good day guys

weary ice
#

ok bye adil

#

aaagh no entiendo demasiado de lo que dicen. 😦

rugged root
#

English?

weary ice
#

I don't understand too much of what they say...

#

and more when they speak quickly... i need rpactice more and learn...

rugged root
#

Yeah, I'm only used to people's accents because of how much I'm around them here

weary ice
#

Guys it was a pleasure, have a happy day.

rugged root
#

Catch you later

weary ice
#

I leave. I hope to hear or speak another time.

rugged root
#

For sure

vocal basin
#

iirc, PTSD also changes a lot how dreams work

weary ice
#

R.

rugged root
wise loom
#

what happened?

vocal basin
#

I think it's caused by brain failing to differentiate dreams from non-dreams (something that's supposed to suppress certain effects during sleep gets broken, apparently)

foggy osprey
#

do lasik lasts forever?

woeful salmon
#

i gotta go for now cya guys later 🙂

rugged root
#

See ya!

vivid palm
vocal basin
#

is xmlrpc still not deprecated in 3.13?

#

something in http.server gets deprecated

rugged root
#

!d audioop

wise cargoBOT
#

Deprecated since version 3.11, will be removed in version 3.13: The audioop module is deprecated (see PEP 594 for details).

The audioop module contains some useful operations on sound fragments. It operates on sound fragments consisting of signed integer samples 8, 16, 24 or 32 bits wide, stored in bytes-like objects. All scalar items are integers, unless specified otherwise.

Changed in version 3.4: Support for 24-bit samples was added. All functions now accept any bytes-like object. String input now results in an immediate error.

This module provides support for a-LAW, u-LAW and Intel/DVI ADPCM encodings.

vocal basin
#

finally

#

as in finally planned to be planned to be removed

#

http.server.CGIHTTPRequestHandler

#

process-based CGI

#

aka 30~3000ms overhead on each request

rugged root
#

!stream 444818787737272321

wise cargoBOT
#

✅ @idle vector can now stream until <t:1700669841:f>.

vocal basin
#

because imports cost a lot

digital ruin
#

Hello. Can someone please help me with this task? “Create a program that receives the time on input, and returns as an answer what part of the day it is (24h must be divided into at least 4 parts)”

vocal basin
#

what got you stuck? what is confusing about the task?

#

or a right class with a right method

#

for almost no reason

vocal basin
#

given that it's before 404 ...

#

"people thought earlier about payment than resource not existing"

#

minesweeper again

#

(udemy)

#

the life is telling me I need to come back to competitive

vocal basin
#

it doesn't even preview

#

speeds matters a lot too in minesweeper

vocal basin
#

it's, like, only 2 times slower than what best players achieve

#

left-click

#

in XP it was middle click

molten pewter
wind raptor
rugged root
#

I hope your dogs don't end up doing what my brother's dog did. He barked at the ice machine.

#

Every

#

Single

#

Time

rugged root
wind raptor
#

lol

vivid palm
#

for all intents and purposes

rugged root
#

For all in tents

vocal basin
#

that thing that discord.py beginners forget to include

rugged root
#

@dense ibex Pay-per-view

vocal basin
#

here there's an option to, like, compete in stuff to potentially be able to study at universities/institutions "for free"

rugged root
#

I choose to believe that the competition you're talking about is a no-holds-barred cage match

vocal basin
#

3 hours 55 minutes of programming

rugged root
#

In one sitting?

vocal basin
#

yes, that's why 3h55m

#

4h is where they are legally required to give break and provide food

vocal basin
#

for 4+ years, of which only last two actually matter

#

but I failed that route

#

and this time it's not German GPA

#

(I already forgot who that was with 1.9)

#

I have Git Bash transparent when it's off focus

#

idk why

#

"we're doing async"

asyncio.to_thread(main)
#

@dense ibex deserialisation

#

(with Pydantic)

#

and serialisation

#

there's also attrs

#

!d typing.TypedDict

wise cargoBOT
#

class typing.TypedDict(dict)```
Special construct to add type hints to a dictionary. At runtime it is a plain [`dict`](https://docs.python.org/3/library/stdtypes.html#dict).

`TypedDict` declares a dictionary type that expects all of its instances to have a certain set of keys, where each key is associated with a value of a consistent type. This expectation is not checked at runtime but is only enforced by type checkers. Usage...
vocal basin
#

for anything networking, probably pydantic, yes

rugged root
#
class Meta(ApiModel):
    total: int = Field(ge=0)
    page: int = Field(ge=1, default=1)  # type: ignore
    limit: int = Field(ge=1, le=20, default=10) # type: ignore
#
class ContractDeliverGood(ApiModel):
    trade_symbol: TradeGoodsSymbols
    destination_symbol: str = Field(min_length=1)
    units_required: int
    units_fulfilled: int
vocal basin
#
if __name__ == "__main__":
#

though

#

why that in __main__.py

#

I guess for multiprocessing

#

__main__ isn't imported normally

rugged root
vocal basin
#

@dense ibex you might need to configure extra paths for Pylance to see

#

so it know src is "root"

#

does pyright understand pdm config?

#

just make your own cloud

#

be the one to blame when it fails

#

{} in bottom right

#

that's for the whole workspace

#

"just be the True Data Scientist, do everything in Jupyter"

dense ibex
#

I really shouldn't be using strict typing while doing ml stuff

#

not good

vocal basin
#

just list

rugged root
#

!globals @crystal delta

wise cargoBOT
#
Globals

When adding functions or classes to a program, it can be tempting to reference inaccessible variables by declaring them as global. Doing this can result in code that is harder to read, debug and test. Instead of using globals, pass variables or objects as parameters and receive return values.

Instead of writing

def update_score():
    global score, roll
    score = score + roll
update_score()

do this instead

def update_score(score, roll):
    return score + roll
score = update_score(score, roll)

For in-depth explanations on why global variables are bad news in a variety of situations, see this Stack Overflow answer.

vocal basin
#

nonlocal for mutable closures

rugged root
#

!stream 465123434322722817

wise cargoBOT
#

✅ @austere linden can now stream until <t:1700676085:f>.

vocal basin
#

docker: you don't need to cleanup after uninstall if you just burn down the whole system

golden sonnet
#

👋

#

i started looking into c#

#

jetbrains rider is super

#

i used to think all jetbrains ides are alike
but rider is much better than others i've used

tepid mantle
vocal basin
#

and now I don't have the license either

golden sonnet
#

it's werdly fastert than pycharm

rugged root
vocal basin
#

"that's just my current state"

#

somewhat tryharding doc formatting

#

just so it looks okay

#

wider space, wide dash, wider space;
non-breaking hyphen

tepid mantle
molten pewter
#

(Verse 1)
Six thousand leagues under the sea,
A world of fintech fish, tasked to answer your plea,
Bubbles rise, and the coral reefs gleam,
Welcome to the ocean, where fintech fish dream.

(Chorus)
Fin in tech, fintech! fintech!
Where the battle fish thrive in giant mechs.
With circuits and scales, and a digital dance,
In the fintech world, take a chance!

(Verse 2)
Neon lights shimmer in an electric display,
Fintech fish swim in a high-tech ballet.
Data streams flow through the ocean floor,
In the world of Fintech, there's always more.

(Pre-Chorus)
Dive into the current, ride the binary tide,
Fintech fish unite, side by side.
In the fintech sea, where the future's at play,
It's a digital adventure every single day.

(Chorus)

(Bridge)
Byte-sized bubbles rise to the surface,
Fintech fish schools, a technological circus.
In the coral caves, secrets unfold,
Fintech warriors, brave and bold.

(Verse 3)
Code and current, a dynamic duet,
Fintech fish never willing to forget.
In the fintech sea, where legends are born,
They navigate the currents, from dusk till morn.

(Pre-Chorus)
Dive into the current, ride the binary tide,
Fintech fish unite, side by side.
In the fintech sea, where the future's at play,
It's a digital adventure every single day.

(Chorus)

(Outro)
As the fintech sun sets on the ocean floor,
The battle fish battle, forevermore.
In this underwater realm of technology,
Fintech fish fight for equality!

obsidian dragon
vocal basin
#

voice server died, apparently, so everyone reconnected

gentle flint
mild quartz
#

hola nerds

willow light
mild quartz
#

That isnt true

#

which top researchers left

#

only anthropic took meaningful employees

#

pigeonholed how

rugged root
#

I misspoke earlier. I double checked the budget for the school district here in Springfield and it's sitting around ~$530 mil

mild quartz
#

(1) scale requires major innovation (2) openai does much more than just scale

#

You're saying this as fact but it just isnt true, major breakthroughs in posttraining etc

#

and yes (1) is true it is very very hard to scale

#

no

#

haha yes

#

wtf

willow light
#

OpenAI is arguably the current WR holder for the enshittification speedrun, beating TikTok's record by a whole year.

mild quartz
#

it is insanely hard engineering problem

#

and it is not a shallow problem at all

#

getting architecture to scale w properties you want is fucking hard

#

look at all of the linear attention, rnn-style arch

#

ok

rugged root
#

For most

mild quartz
#

you can be confidently wrong if you want

#

it hasnt

#

if anything its increased

#

but it isnt public anymore

rugged root
#

The companies that have managed these huge operations at scale took significantly longer and required many more people to make these systems scale

#

Not to mention being able to handle the huge influx of users in said short time frame

willow light
#

Both of you are wrong, because this is all just a distraction from what really matters: spending time with family without looking at your smartphone tomorrow.

rugged root
mild quartz
willow light
mild quartz
#

My source is also OpenAI insiders and i dont believe you

willow light
mild quartz
#

research scientists

willow light
mild quartz
#

lol

#

bro

#

you cant pull this one with me

#

actual openai rs

#

research scientist

#

lol very telling

#

there isnt a core learning algorithm team at openai

#

there is scaling, there is posttraining, there is data

#

lmao

#

ok my guy

#

ther e is superalignment

#

im glad you have a friend

#

maybe read a paper

rugged root
#

Are the personal attacks really helpful or necessary?

willow light
#

Okay children, this is getting into immature sniping.

rugged root
#

Calm it down

mild quartz
willow light
#

Don't make me turn this car around.

rugged root
mild quartz
#

this person tries to bully me out of convo pretending to be openai insider

#

without realizing he cant do that w me

rugged root
#

I'm telling both of you to take a sec and breathe

willow light
#

Hemlock, at this point it may be better to ask them to take this to DMs.

#

Get it out of their systems.

mild quartz
#

why

rugged root
#

I mean it's an interesting conversation

mild quartz
#

this is entirely relevant convo

rugged root
#

I'm not against it being said

mild quartz
#

yeah im done too

rugged root
#

Just think it needs to - alright, nevermind then

willow light
#

!topic

wise cargoBOT
willow light
#

i mean

#

.topic

viscid lagoonBOT
#
**Who is your favorite music composer/producer/singer?**

Suggest more topics here!

mild quartz
#

this is voice chat relevant

rugged root
#

^^^

mild quartz
#

just because you want to talk about irrelevant topic like playing w your dog

#

im not mad at you

#

just tongue in cheek

#

😂

rugged root
#

I always thought it was tongue and cheek

#

I've been wrong for YEARS on that

willow light
#

I repeat, I highly recommend therapy if you think that tongue and cheek translates well over text.

mild quartz
#

ok

sweet lodge
willow light
#

"Oh I wasn't being mean, I was just trolling. LOLOL"

rugged root
#

Dude I don't know

#

Clari, in fairness, the conversation that was being had, while heated and going into personal attacks which I think was unnecessary, was still relevant to what was going on

#

In this context, the random comments made were the interruption and disruption

mild quartz
#

i mean i think you know me well enough from voice conversation to know that i say things like that tongue in cheek

willow light
#

In that case I apologize for trying to defuse this before it lead to doxxing.

mild quartz
#

but fine

rugged root
#

It wouldn't have gone to doxxing

mild quartz
#

doxxing?

rugged root
#

It was always going to end in both people thinking they're right and leaving in a huff

#

I know this because

#

Duuuuuuuude

#

Fucking

#

Hold times for this Thomson Reuters issue? 2ish hours

#

Not to mention that they're closing their tech-support early

sweet lodge
rugged root
#

Longer realisitcally

#

Not to mention since it's the day before Thanksgiving, their customer service and tech support folks are leaving early

#

Back later

whole bear
rugged root
#

Honestly probably chinese or pizza

toxic arch
#

perhaps

rugged root
#

Who knows

earnest crag
sweet lodge
earnest crag
rugged root
#

What's that? Who am I banning?

sweet lodge
earnest crag
stuck furnace
earnest crag
#

y the entire mod squad here now

stuck furnace
stuck furnace
#

👀

#

What do you need help with?

stuck furnace
whole bear
#

bbl don't really know what the issue might be

earnest crag
stuck furnace
#

Oh right I see. What you need is a nonlocal declaration.

#

!e ```py
def foo():
spam = 1
def bar():
nonlocal spam
spam += 1
bar()
bar()
bar()
print(spam)

foo()

wise cargoBOT
#

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

4
stuck furnace
#

nonlocal is like global, but for when a nested function needs to modify a variable of the enclosing function.

earnest crag
stuck furnace
#

Erm, I'm not sure sorry.

whole bear
earnest crag
#

image = frame thingy

#

cv2

stuck furnace
stuck furnace
# earnest crag

Yeah sorry, I don't really understand the code. So other than to say you can use nonlocal here, I don't have much to offer.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700685919:f> (10 minutes) (reason: emoji spam - sent 27 emojis).

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

ivory stump
#

!unmute 1021052960509280368

wise cargoBOT
#

:incoming_envelope: :ok_hand: pardoned infraction timeout for @nimble thorn.

nimble thorn
#

hey hey

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700685975:f> (10 minutes) (reason: emoji spam - sent 23 emojis).

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

ivory stump
#

...

whole bear
balmy patrol
#

guys

#

wanna helppp

#

i fugeer out the answer of case one but i tink i lost in case to >> how i can modify on code to return 0?

rugged root
#

!stream 465123434322722817

wise cargoBOT
#

✅ @austere linden can now stream until <t:1700690227:f>.

austere linden
#

Thank You! @rugged root

dense ibex
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700691254:f> (10 minutes) (reason: emoji spam - sent 34 emojis).

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

somber heath
#

@lethal tiger 👋

lethal tiger
#

hey

#

I'm not allow to stpeake

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.

lethal tiger
#

yes I need to send 50 message

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700691924:f> (10 minutes) (reason: emoji spam - sent 23 emojis).

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

gentle flint
#

made a calorie bomb

rugged root
#

That looks SO damn good

somber heath
languid copper
#

yipeee levan

woeful salmon
#

i made it work ;-;, i now have a implementation i full understand

somber heath
#

Leekspin. Also known as Loituma Girl. Orihime Inoue from Bleach set to Loituma's rendition of Ivean Polkka.

woeful salmon
#

i'm going to ignore the fact i found 6 other implementations and pretend they don't exist

languid copper
#

o vean dats crazy always mispelled it

gentle flint
woeful salmon
gentle flint
#

oh lol

somber heath
#

@oak yacht 👋

oak yacht
#

@rugged root hey so if I code a programming language would I be able to add it to Replit?

oak yacht
rugged root
gentle flint
#

ram was a big issue for ewe? @woeful salmon

oak yacht
#

Just for the funs of it

somber heath
#

I expect so.

woeful salmon
nimble thorn
#

🏁

#

w

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @nimble thorn until <t:1700693717:f> (10 minutes) (reason: emoji spam - sent 51 emojis).

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

gentle flint
terse garden
#

hes a genius

#

i wonder if when ill ever get voice :\

woeful salmon
minor sage
#

; Jump and branching
JMP 0x0012 ; Jump to address 0x0012 (this would need to be a valid address within the program)
JC 0x0014 ; Jump to address 0x0014 if carry flag is set
JZ 0x0016 ; Jump to address 0x0016 if zero flag is set
JNZ 0x0018 ; Jump to address 0x0018 if zero flag is not set
JNC 0x001A ; Jump to address 0x001A if carry flag is not set

gentle flint
vocal basin
minor sage
gentle flint
cerulean ridge
somber heath
#

@whole bear 👋

#

@golden grove 👋

#

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

whole bear
#

i cant speak(

obsidian dragon
#

!voice

whole bear
#

!voice

obsidian dragon
whole bear
#

omg😱

obsidian dragon
torpid crater
#

Hello guys

#

i have problem with code does anyone can help?

somber heath
#

@torpid crater 👋

#

What's up?

torpid crater
#

hello

#

i still dont get it Ace_Cry

obsidian dragon
somber heath
#

type exit()

torpid crater
#

ok i will try

obsidian dragon
#

\c

torpid crater
#

wait how ?

#

just exit?

#

ohhh

#

Thank you 1_oCMz_Heart

obsidian dragon
#

ctrl+z

torpid crater
#

Thank you all

somber heath
#

@lofty pine 👋

lofty pine
#

Hi @somber heath

obsidian dragon
hushed nymph
#

CAN'T MIC MIC

#

Mic mic

#

Mic

#

How. To

#

Tho

#

How

#

Own fd

somber heath
#

@hushed nymph 👋

hushed nymph
#

Eu4u3847jemzcbn&)! '!'! ? 483(!*=&

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

hushed nymph
#

❤️❤️❤️

hushed nymph
obsidian dragon
#
    function getBackgroundColorBasedOnSize(sizeInGB) {
        switch (true) {
            case (30 <= sizeInGB && sizeInGB <= 100):
                return 'background-color: red';
            case (3 <= sizeInGB && sizeInGB <= 30):
                return 'background-color: yellow';
            case (0 <= sizeInGB && sizeInGB <= 3):
                return 'background-color: green';
            default:
                return 'background-color: gray';
        }
    }

.

<span style="${getBackgroundColorBasedOnSize(sizeDataFormatted.size)}">
                                        ${sizeDataFormatted.size}
                                    </span>
obsidian dragon
#

how is this cursed

#

it's colors

#

you like colors right

vocal basin
#

inverted switch

obsidian dragon
#

👀

vocal basin
wind raptor
#

Effect of low temperature on electric vehicle range
https://www.mdpi.com/2032-6653/12/3/115

Effects of ambient temperature and trip characteristics on the energy consumption of an electric vehicle
https://www.sciencedirect.com/science/article/abs/pii/S0360544221022763

sage grove
#
But: malloc also needs to store some additional information somewhere, or it would be impossible for free to do its job at a later time. At the very least free needs to know the size of an allocated block in addition to the start address. Usually, malloc therefore secretly allocates a few extra bytes which are immediately preceding the address that you get -- you don't know about that, it doesn't tell you.

Now the crux of the matter is that while in theory malloc does not touch the memory that it manages and does not allocate physical RAM, in practice it does. And this does indeed cause page faults and memory pages to be created (i.e. RAM being used).
You can verify this under Linux by keeping to call malloc and watch the OOP killer blast your process out of existence because the system runs out of physical RAM when in fact there should be plenty left.```
#

||A syntactic debate||🎣

#

Sometimes I jump into VCs to vaguely parrot YouTube videos I've watched weeks, months, or even years prior

#

how u gonna talk about enthalpy without talking about coentropy

somber heath
#

@plain robin 👋

#

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

wind raptor
#

g2g, goodnight all

somber heath
#

@naive raft 👋

naive raft
#

hello

lethal tiger
#

hello

wise loom
#

@obsidian dragon lemme summarize the situation:
talking to your boss more than you talk to your girlfriend, that is, daily.
yeah, your thoughts on that.

obsidian dragon
#

sry caps

warped raft
#

hello @obsidian dragon , @idle vector and agilepotato

#

how are you all doing

idle vector
#

@warped raft youre deafened

warped raft
#

thank you

#

doing great

#

I am not speaking

#

are you wrking on something

#

osyr

#

a

#

@obsidian dragon recommend me a monitor

obsidian dragon
warped raft
#

thnak you for the suggestion
but this will be too big for my setup i would actuall buy a 24 inch

#

@somber heath hello

crystal fox
somber heath
#

@whole bear 👋

crystal fox
somber heath
#

@pearl mason 👋

somber heath
#

@arctic field 👋

#

@quiet socket 👋

#

@balmy patrol 👋

balmy patrol
#

hy

#

what topic this voice chat ?

crystal fox
wise loom
# crystal fox

best phone ever.
and then smartphones entered the market and ruined everything.

#

oh nokia communicator

crystal fox
wise loom
#

even tho back in the day i wish i had one

somber heath
#

@silk depot 👋

crystal fox
idle vector
wise loom
#

@crystal fox do you ever get tired of security stuff?

gritty garden
#

@wise loomyou like doing math ?

wise loom
gritty garden
wise loom
gritty garden
#

ok

wise loom
gritty garden
wise loom
gritty garden
#

Algebra

random sorrel
sage grove
#

" I describe my socio/geographic/racial/ethnic/culinary standings and then I leave"

dense ibex
#

@wind raptor you know if it's possible to configure pyright in a pyproject.toml?

#

or do I need to right a pyrightconfig.json?

wind raptor
dense ibex
#

ah fair

#

no worries ty 🙂

wind raptor
#

np

peak junco
#

why not C instead of Java ? pithink

sage grove
#

because the government loves Java

peak junco
#

fair point, that's why C is good for beginners (even being weird and a little complex)

#

lol

obsidian dragon
#

JS for life

#

❤️

wind raptor
#

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

gentle flint
#

A plum is a fruit of some species in Prunus subg. Prunus. Dried plums are most often called prunes, though in the United States they may be just labeled as 'dried plums', especially during the 21st century.
Plums may have been one of the first fruits domesticated by humans, with origins in East European and Caucasian mountains and China. They we...

left leaf
left leaf
wind raptor
#
left leaf
sage grove
#

panda3d and pygame are eh
babylon.js is pretty dope

golden sonnet
#

👋

#

these wafers usd to be good

#

no it tasts like nothing :/

half silo
sage grove
#

Ah, Rust, the programming language that thinks it's the holy grail of system-level languages. I mean, sure, it claims to give you memory safety without a garbage collector, but who needs that, right? It's like walking a tightrope without a net and calling it an exhilarating experience. I guess Rust developers enjoy living life on the edge.

And let's not forget the borrow checker. It's like having an overprotective nanny constantly looking over your shoulder, making sure you don't mess up the memory management. "Oh, you want to modify that variable? Well, let me check if anyone else is using it. Nope, sorry, you can't touch it." It's like coding with a nagging roommate who never lets you have any fun.

But hey, I get it, Rust is all about performance. It's the muscle car of programming languages, roaring down the highway while flipping off the garbage-collected sedans. Too bad it comes with a manual transmission that requires a PhD in Borrowonomics to operate properly.

In the end, Rust is like that friend who insists on doing everything the hard way because it's "better for you." Sure, it might be a robust language, but sometimes you just want to write code without feeling like you're deciphering an ancient script.

#

lowkey good points

#

LittleGPT strikes again

whole bear
#

I just can't figure out why I can't run 2 modules at the same time AAAAAA!

#

hahahahahah

sage grove
#

Any sufficiently advanced Rust program has an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.

sage grove
whole bear
whole bear
#

gpt chat is ||$hiT||

sage grove
#

Just gpt 3.5 with some prompt engineering

whole bear
#

i use free version

golden sonnet
sage grove
#

Step 1. Write a rust program
step 2. realizing the syntax is a pain to work with and similar efforts could be accomplished in as many as 4 times less keystrokes!
step 3. you implement a python dialect in rust
step 4. catastrophe sets in, namespaces collide, functions repeated everywhere, messy unspecified, undocumented code and hacks just to transfer simple data, state, and parameters between functions
step 5. discover polish notation lisp without the parens
step 6. greenspuns tenth

whole bear
golden sonnet
#

what error message?

whole bear
whole bear
golden sonnet
#

your not getting an error

whole bear
golden sonnet
#

i understand that

#

what is in it

whole bear
golden sonnet
#

that doesn't mean an error

#

you have some code in your first module that is blocking your app from moving*

#

i guess an input()
or something

sage grove
fading fractal
#

Traceback (most recent call last):
File "/home/dark/scripts/DiscordBot/main.py", line 21, in <module>
tree = app_commands.CommandTree(bot)
File "/home/dark/.local/lib/python3.10/site-packages/discord/app_commands/tree.py", line 132, in init
raise ClientException('This client already has an associated command tree.')
discord.errors.ClientException: This client already has an associated command tree.

half silo
scarlet halo
#

just installed hyprland

#

its amazing

wind raptor
#

@lethal tiger Hey 👋

#

@half drum Hi 👋

#

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

wind raptor
#

Hey @sleek vault 👋

sleek vault
#

hi

#

what were you discussing there?

#

I don't have permission to call

#

I should send over 50 sentences to get a permission

#

Are you all developers?

#

great

#

streamlit

#

just working on the AI project

#

using python streamlit

#

convert image to video using D-ID api

#

yup

#

But wanna know what were you discussing there..

#

Oh~

#

grea

#

t

#

are you guys a team?

#

sorry

#

I am not familiar with python yet

#

I am a blockchain developer

#

But since the AI spread rapidly, I tried to learn it and touched the some python code.

#

because all code is same.

#

solidity

#

evm chain

#

bsc?

#

binance smart chain.

#

are you a freelancer?

#

good.

#

I am also.

high thicket
#

hello i am new with working with the terminal and I am tryin got run this on my mac
conda create -n tensor python=3.7
-- but it does not work. can anyone help?

wind raptor
#

hmm, not sure about mac stuff, sorry

high thicket
#

alright thats okay thank you!

hallow warren
whole bear
jaunty warren
#

hi

lethal tiger
#

hi there

rare sequoia
#

I need to send like 50 thinks

#

so ill try to do it

sage grove
#

@trim night well man, well

#

can't use mic too much rn

#

I'm usually always coding

#

but im writing a short story right now

#

idk

#

brain block man, gotta get this thing outta my brain

#

I mean that I'm not really super interested in thinking of much else than this story

#

I could think about these other things but they seem kinda boring in comparison

#

gotta do the fun stuff before i grind ig

trim night
#

anyone used batman protocol

sage grove
#

ill bbl

somber heath
somber heath
#

@fast shard @rare jacinth @crisp cipher 👋

crisp cipher
#

I am not allowed to speak in the VC

#

Weeee

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.

somber heath
#

@vital wave 👋

sage grove
#

@regal raptor ye im fixing it

toxic arch
#

python

#

@sage grove how make this line of code better

#
underworld_types = [UNDERWORLD_TYPES_TYP] + list({entry.underworld_type for entry in self.objects})
#

c++ for game dev

#

like how should i add a single element to the start of the list here

regal raptor
#

maybe use insert?

sage grove
#
underworld_types = [UNDERWORLD_TYPES_TYP] + list(map(lambda entry: entry.underworld_type, self.objects))```
toxic arch
#

i use a set here to remove duplicates

vocal basin
#
[UNDERWORLD_TYPES_TYP, *{entry.underworld_type for entry in self.objects}]
sage grove
#
underworld_types = [UNDERWORLD_TYPES_TYP] + list(set(map(lambda entry: entry.underworld_type, self.objects)))```
toxic arch
#

thx

vocal basin
#

yeah, for dedup, probably nothing better than set

#

also

#

why not just store as a set?

#

then add one element

toxic arch
vocal basin
#

ah

#

do you need fixed order each time the program runs?

toxic arch
#

so i can index

vocal basin
toxic arch
#

right?

vocal basin
#

for the duration of your program running, yes

#

since you casted it to a list

toxic arch
#

thats fine then

#

yeah i was just thinking if theres a better way to add a single element to it

vocal basin
#

do you need UNDERWORLD_TYPES_TYP to be first?

toxic arch
#

what a nice story

vocal basin
#

can also use it to group arguments, though that's somewhat cursed

args = [
    "ffmpeg",
    *("-i", "input.mp4"),
    *("-c:v", "copy"),
    *("-c:a", "copy"),
    "output.mp4",
]

(this makes #black-formatter not insert extra line breaks)

#

yes, missed

#

without comma, should fail with TypeError

#

!e

args = [
    "ffmpeg"
    *("-i", "input.mp4"),
    *("-c:v", "copy"),
    *("-c:a", "copy"),
    "output.mp4",
]
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     "ffmpeg"
004 | TypeError: can't multiply sequence by non-int of type 'tuple'
vocal basin
#

eh, actually this exception message is not clear enough, I think

#

since both operands are sequences

#

still better than just "unsupported"

#

!e

count = "2"
# *forgets to int()*
count * []
wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 3, in <module>
003 |     count * []
004 |     ~~~~~~^~~~
005 | TypeError: can't multiply sequence by non-int of type 'list'
vocal basin
#

I guess that indirectly answers the question of what should be first -- count or sequence (sequence being first is what the error assumes)

toxic arch
#

!e
args = [
"ffmpeg",
*("-i", "input.mp4"),
*("-c:v", "copy"),
*("-c:a", "copy"),
"output.mp4",
]

wise cargoBOT
#

@toxic arch :warning: Your 3.12 eval job has completed with return code 0.

[No output]
toxic arch
#

you just forgot a comma

#

oh

somber heath
#

@brazen cloak 👋

#

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

brazen cloak
#

I'm new to Python. I'm searching for a good way to save a simple set of data locally. Have you some tips?

toxic arch
#

helloooo sirrr

#

@somber heath you have anything to stream

#

i cant sleep

#

aww

#

fair

#

read about

#

roman empire

#

im listening btw

#

@somber heath yo ima actually go sleep now, thanks for the information

#

gn

minor sage
#

Zbuffer makes me cry but try getting the same ln 1 col 2 error for a week straight and then come back and complain to me 🙂

naive raft
#

what up

#

i am doing my revision

#

my networking

#

is like ipv4 or ipv6

#

yes

#

sad

#

so what are you doing noe

#

now

#

today wheather is very cold

#

i think my english not good , some accent i can't get very clear . i usually just guess

#

ok

#

thank you

naive raft
#

bro ,you come back

#

bro my classmate find me

#

talk later

#

sure

somber heath
#

@hollow geyser 👋

#

Might be on in a bit.

quick mica
#

@somber heath I fixed the bug that we talked about last night, google was my friend after all 😄 code was missing one line in settings.py file because I use different python and django vesion than Corey. Took me few hours to find it but it is worth every second.

gentle flint
#

@somber heath I'll just write a short summary

#
import numpy as np
a = np.array([1.5, 2, 3.87, 49, 23])
b = np.array([49, 3, 1.5])

# I need the following array containing the indices of b in a:
c = np.array([3, np.nan, 0])
somber heath
#

@white umbra 👋

gentle flint
#

what I currently have is:

c = np.array([], dtype= np.float64)
for i in b:
    if i in a:
        index = np.where(a == i)[0][0]
    else:
        index = np.nan
    np.append(c, index)
stuck furnace
#

Hey there 👋

white umbra
gentle flint
#

only in the order that they appear in a

white umbra
#

hi @gentle flint

stuck furnace
#

You're cutting in and out sorry.

#

Ah right pithink

#

Hiss is like a self-describing word

stuck furnace
#

Any approach is going to be not terribly efficient, as it necessarily involves a linear scan of the first array for each element of the second array.

gentle flint
#

work

#

I can explain but then I'd need to call

stuck furnace
#

Ah ok, I actually have to go in a bit.

gentle flint
#

in that case maybe I'll explain on sunday if you're there

stuck furnace
#

Yeah sure, I'm often around 😄

#

Opal, do you change colour when you touch acid? pithink

#

Anyway, I'm heading off cya 👋

somber heath
#

I suppose it would depend.

warped raft
#

hello @somber heath

#

how are you doing

#

btw @hallow warren hello

warped raft
#

@obsidian dragon hello

obsidian dragon
#

HI @warped raft

somber heath
#
MasterClass

So, you think you’re funny? If you’re considering a career as a stand-up comic, get a pen and paper—a lot of paper. As any successful comedian will tell you, writing jokes day in and day out requires a serious commitment. Coming up with ideas for a comedy stand-up set might seem easy, but shaping this material into funny jokes that will make peo...

hallow warren
#

(that's a terrible article. By teenage they mean formed 2-3 billion years after the Big Bang: https://www.eurekalert.org/news-releases/1008251 )

EurekAlert!

Using the James Webb Space Telescope, CECILIA Survey receives first data from galaxies forming two-to-three billion years after the Big Bang. By examining light from these 33 galaxies, researchers discovered their elemental composition and temperature. The ultra-deep spectrum revealed eight distinct elements: Hydrogen, helium, nitrogen, oxygen, ...

somber heath
#

@cosmic rivet 👋

cosmic rivet
#

👋

somber heath
#

@peak frost 👋

#

@reef fog 👋

#

bbiab or not

somber heath
#

@whole bear 👋

#

I'm not here

#

I am illusion.

#

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

toxic meadow
#

i have mic access but my mic is bad so i wont be talking TwT

#

hey btw how can u get index of item in 2d list

#

yup

#

actually i know some ways but they are slow and im solving cp questions so i need fast solutions

#

yea i did

#

ahh its fine

#

may be manolo could?

somber heath
#

A nesting of for loops will do you.

#

enumerate may or may not be handy

#

unpacking may be handy

#

I remain not here.

#

Numpy provides for a more robust approach.

toxic meadow
#

i dont want a n^2 complexity

#

#No Access @whole bear

obsidian dragon
#

@somber heath is there a forEach in python?

somber heath
#

There's for, and each can be a variable.

#
for each in things:
    ...```
vocal basin
#

if you're trying to find an item

toxic meadow
#

i have no idea about those data structures

vocal basin
#

!d dict

wise cargoBOT
#

class dict(**kwargs)``````py

class dict(mapping, **kwargs)``````py

class dict(iterable, **kwargs)```
Return a new dictionary initialized from an optional positional argument and a possibly empty set of keyword arguments.

Dictionaries can be created by several means:

• Use a comma-separated list of `key: value` pairs within braces: `{'jack': 4098, 'sjoerd': 4127}` or `{4098: 'jack', 4127: 'sjoerd'}`

• Use a dict comprehension: `{}`, `{x: x ** 2 for x in range(10)}`

• Use the type constructor: `dict()`, `dict([('foo', 100), ('bar', 200)])`, `dict(foo=100, bar=200)`
vocal basin
#

^hashmap

#

!e

items = [1, 0, 5, 3, 2]
# O(N):
indices = {x: i for i, x in enumerate(items)}
# O(1):
print(indices[5])
wise cargoBOT
#

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

2
vocal basin
#

I'm bad at numeric examples

#

if you don't have such structures set up and don't have any restrictions on the input data, the best you can achieve is O(number of elements)

vocal basin
# toxic meadow i have no idea about those data structures

hashmaps allow O(1) time per access, with O(N) memory and time for initial setup;

trees allow O(logN) time per access, with O(N) memory and time for initial setup if done correctly; the benefit is that they allow restructuring/rearranging data in O(logN) for many operations that would take O(N) for hashmap-based approach (for example, removing an element from a list would on average require recalculating half the indices, but with trees you would only have to re-compute O(height) element counts of subtrees)

desert vector
#

howdy @idle vector

#

you asked how I am?

#

doing alright logicBlep

#

you?

#

@idle vector we can hear that, by the way

#

@fading fractal @idle vector get a room logicBlep

idle vector
desert vector
#

they're pronounced the same, jean and gene

whole bear
idle vector
toxic arch
idle vector
whole bear
toxic arch
idle vector
fading fractal
idle vector
toxic arch
#

the discord ai

#

it always says no u

idle vector
#

i am ai

#

i am the ai

toxic arch
#

you wish

idle vector
#

i have achieved singularity

toxic arch
#

nah you are as

#

artifical stupidity

toxic arch
#

death

distant blade
#

what does this error mean?

toxic arch
distant blade
#

yea its a hashmap

toxic arch
#

it means that key is missing

#

or deosnt exist

#

1

#

The authentication flow has completed. You may close this window.

distant blade
#

what?

idle vector
distant blade
#

How is it possible that the key is missing is my code not by definition finding the highest POSSIBLE key?

toxic arch
#

skill issue

#

print the prevNums variable

#

and see whats in it

distant blade
#

I'm using the length of the dictionary to find the highest key

#

yea

#

I hear

#

hashtable

toxic arch
distant blade
#

missing number