#voice-chat-text-0

1 messages · Page 417 of 1

upper basin
#

With the difference of parameters (Note ExactStatePreparation has nothing in addition to what StatePreparation has).

somber heath
#

@severe scroll👋

upper basin
#

What I was also thinking of

#

It's simpler, but does raise the issue of readability that I mentioned. Whilst StatePreparation in the one before this is kind of redundant, it introduces a common interface between exact and approximate whilst keeping the two separate.

I actually like these types of challenges.

somber heath
#

@whole bear👋

whole bear
somber heath
#

Hey, Jikky.

#

@tacit creek👋

#

@austere horizon👋

#

Hi, Ohmn.

#

@raven hound👋

raven hound
#

Hey @somber heath

astral coral
#

Automated cigarette butt recycling into teddy bears :3

#

Laying here feeling the battle between tiredness and caffeine ... and caffeine is winning -.-

#

Fuck it, I'm coming back on

somber heath
#

Hiya.

somber heath
#

jfc

#

What's next, Plutonium jumprope?

#

Yes, sorry. You're right.

#

They could put it into roads.

upper basin
somber heath
#

Repugnant.

#

Cigarette butts in teddy bears?

upper basin
#

He means recycle.

somber heath
#

...I guess...

upper basin
#

No, I was saying this to Opal that you didn't mean cigarette butts literally.

somber heath
#

Neither of us are.

#

It's not you.

upper basin
#

Like taking cigarette butts and jamming them in. The recycle part was implicitly implied.

#

Yes. If it can be done in a non-toxic manner, why not.

somber heath
#

I would prefer to not have them be created in the first place.

upper basin
#

And I would prefer education and healthcare to be free.

#

Not the world we live in.

#

Nope.

#

Harsh reality is rather pandemic.

astral coral
#

:L

upper basin
# chilly wolf Based

There's alot of stuff we want, which sound nice, but don't make sense. Like we say free education, free healthcare, but someone has to pay for making the medicine, the utilities of hospitals, the paycheck of doctors, all year round, for millions of people. That is expensive.

They take taxes sure, but tons of stuff are paid out from that pool, so lots of stuff we like are just not feasible. So we remain in the harsh reality.

somber heath
#

@whole harness👋

whole harness
#

yo

astral coral
upper basin
#

Regardless, my point is that if you can recyle those material in a safe manner, then it's a great source for recycling. Tons of people smoke, and if you incentivise them to recycle, you'd also reduce the amount of litter on the street by a significant amount.

whole harness
#

why i cant stream in the chanel

astral coral
#

and it can be used to help fund homeless people or low income people with collection/recycling intiatives

whole harness
#

ah i need to be here for 3 days

chilly wolf
#

Well, I don't feel like getting into the specifics, but there are ways we could fund that stuff in America, at least. Feasible but not popular due to our Oligarchal leaders.

astral coral
#

to speak you need to do voice verification

#

but stream you need special privalleges

upper basin
#

Anyways, I don't want to let this turn political, so I'm gonna be a good ace and go back to working silently.

astral coral
#

:L

chilly wolf
#

Yes, I don't want to make you uncomfortable or anything. What you said is possible, but I suppose a discussion for a different time. I am too tired to go over it anyways

astral coral
#

"American* politics" - Python Discord Server

chilly wolf
#

lol

astral coral
#

wait wait wait

#

purr purr mother f***er

somber heath
#

Nobody was speaking.

#

Used to be able to.

#

On mobile.

#

I did it once and people could hear me giggling at something.

#

There was some degree of astonishment, because they, on Desktop/web clients, couldn't.

#

Yeees. You could.

#

I think it's still valid at the Discord protocol level, just not at the client software level anymore.

astral coral
#

in Woking, UK

quartz beacon
candid spire
#

Hi

astral coral
#

Merhabah

#

turkc^er konus,miyorum

candid spire
#

She had a maqsad!

#

@astral coral Use proton

astral coral
somber heath
#

As tro nom y

#

You had the right word.

astral coral
#

astro-nomy

candid spire
#

Black Broadcast Company

#

British Boring Company

somber heath
#

Internet.

candid spire
somber heath
#

I am I.

#

Who are we?

astral coral
#

me myself and i

#

; _ ; just wanted to be narcissistically included

somber heath
#

I've not.

candid spire
#

Yes

somber heath
#

Rami Malek.

#

I do like Queen.

astral coral
somber heath
#

Am I detecting a theme?

astral coral
#

@somber heath opedipus?

somber heath
#

Oedipus?

candid spire
astral coral
#

:L

somber heath
#

Keeping it classy.

astral coral
candid spire
#

I think he was on BBC

#

It's from cooking video or show

#

BBC on BBC

somber heath
#

Have you seen the video of Robin Williams and Martha Stewart?

astral coral
#

JERK CHICKEN

candid spire
#

I have good intention

astral coral
#

Catholics against the printing press

astral coral
#

Italians when ketchup is used on pasta

astral coral
vocal basin
#

a very hyperlemon sequence of images

astral coral
#

show me the laser eyes

astral coral
vocal basin
astral coral
astral coral
vocal basin
#

"yes, it is censorship, and we have no problem enforcing it"

candid spire
#

It's true

#

America has done

vocal basin
#

NK, Russia, USA very famously have done that

wise loom
#

UAE too?

candid spire
#

Depends on the person and it's agenda

#

America has more interest in doing such thing as it has both resource and power to do so but it has key ingredient intention and little to no resistance

astral coral
candid spire
wise loom
candid spire
vocal basin
#

what a confusing library, why did I decide to rewrite it again

candid spire
#

He was killed by Saudi Gov

#

UAE and Saudi, ain't same!

astral coral
vocal basin
#

it's for distributed data structures

astral coral
#

I'm sure you'll do it

wise loom
upper basin
#

I don't think I had ever seen AF code. Interesting experience.

vocal basin
#

I'm just copy-simplifying the code

#

currently

somber heath
#

@astral coralLet me DM you?

astral coral
#

I'm not stopping you?

#

is something wrong?

somber heath
#

Not now.

astral coral
#

I'll stop

candid spire
#

All good?

astral coral
#

yeee just a fair warning

#

no moar laser eyes

vocal basin
#

gradually remembering why the code is so complicated

#

what I'm currently rewriting is the logic of parsing an object

#

(from bytes)

upper basin
astral coral
#

"are you Norepinephrine, cause you're arousing ... my hypothalamus" .... @rugged root

vocal basin
#

and there are two distinct categories of them:
those which don't depend on how much data is left,
those that can be extended

vocal basin
upper basin
#

He is currently either asleep, or on the way to work. He won't see the ping.

#

Doubt it.

#

AF gave a good advice. Just save it for later.

somber heath
#

I was attempting to be discrete.

vocal basin
#

"idiosyncrasies"?
I somehow didn't know how to spell it, despite having heard it a lot of times

#

idiosyncratic being the adjective

astral coral
#

last meme -

somber heath
#

@potent nacelle👋

#

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

worthy cave
#

!text

vocal basin
#

I'm trying to have as much as possible on stack

#

but there's a lot of dynamicity, so that goes to go on the heap

#

dyn there means to put a pointer to a vtable near the pointer

#

Zig is closer to being that than Rust

#

Rust is a more sane implementation of C++

#

mostly

wise loom
#

what of Ocaml or F# ?

#

I always like to ask this

#

yes, both are FP

vocal basin
#

there isn't much extraordinary about F#

#

just a .NET ML

#

but

#

there are some language extensions

wise loom
vocal basin
#

with partial implementation of type classes

wise loom
#

to me, F# would've been a prime candidate for gamedev, but I've never quite seen it shine in that area, I had to rummage through Github to find graphics-related repos with F#

vocal basin
#

I've been programming in Python for over 7 years by now

#

only started writing Rust properly in 2023

vocal basin
#

I switched to Rust from Haskell

vocal basin
astral coral
#

I made that up 😄

#

ages ago

rugged root
#

So good

astral coral
#

thank you :3

#

you're not the first to like that one but I'm really NOT a witty person

#

once ina blue moon :L

rugged root
#

Sometimes that's all it takes

astral coral
#

:L

wise loom
#

I wonder why GNU Parallel has emerged not in the Python eco-system but in the Perl eco-system.
I think Python has what it needs to build something like that.

astral coral
#

@potent nacelle check channel "voice verification"

vocal basin
#

Python still being somewhat obscure

#

despite having existed for, like, 11 years?

rugged root
#

Existed yes but not thrived

wise loom
vocal basin
rugged root
#

3.0 didn't come out until 2008, and 2.7 not until 2010

vocal basin
#

eugh
I'm having to use PhantomData again

rugged root
#

Spooky

vocal basin
astral coral
#

Strange women lying in ponds distributing programming languages is no basis for a system of computing…

rugged root
vocal basin
#

"wdym a ghost?
we can't see anything"

vocal basin
#

_ghost

somber heath
#

I expect it would be overstimulating.

#

I'm not saying no.

#

I was just musing on the importance of taking care of the sewerage infrastructure.

#

@astral coralYes.

astral coral
vocal basin
#

I thought it was closer to something like 8 not 4

somber heath
#

@astral coral I know. We recycle it and fill teddybears with it.

astral coral
#

@somber heath ¬¬

vocal basin
#

"in America, only wealthy people are allowed to bribe the politicians"

candid spire
#

If population is problem, so how come China is much cleaner?

vocal basin
#

lobbying

candid spire
#

Yes it is

#

Better than India

vocal basin
#

why is there a NaN

#

where does it even come from

#

does it show something different?

#

A/B testing moment

astral coral
#

Oh, king eh? Very nice. And how’d you get that, eh? By exploiting the workers. By hanging on to outdated imperialist dogma which perpetuates the economic and social differences in our society. If there’s ever gonna be any progress…

vocal basin
#

(temporary files are the answer if someone wants to skip to it)

somber heath
#

@astral coral It's Maro. It's fine.

#

He knows what he's doing.

vocal basin
#

whole-file writing from two processes causes true data race, should be treated like UB

astral coral
#

can't you design a priority system of some kind?

vocal basin
#

none of the two processes end up with the state they wanted

rugged root
#

Sorry, UB?

vocal basin
#

undefined behaviour

rugged root
#

Ah right right

astral coral
#

or a guess variable?

#

I mean like a best guess placeholder?

vocal basin
#
{"key": "value"}ome other value"}
#

if you just write "who gets to write first" is somewhat irrelevant

#

you're guaranteed to eventually end up with data loss

tacit crane
vocal basin
astral coral
#

or a temporary variable which has a accuracy value that would update the value but it would be mainly read than write type deal?

vocal basin
#

IP -> DNS

#

roundcube, right?

#

(irrelevant but just seems to be familiar interface)

#

@tacit crane you also need from IP to domain

#

not only direct

#

you need a reverse

#

I'll give you a spoiler: DKIM is unlikely to be enough

vocal basin
#

copying over text

astral coral
somber heath
vocal basin
#

@rugged root Steve

rugged root
#

If only

tacit crane
astral coral
vocal basin
#

is dyn upcasting still unstable pithink

#

dyn Derived as dyn Base

rugged root
peak depot
#

@gentle flint ☝️

rugged root
#

You look slightly like H.P. Lovecraft

#

At least with that particular picture

#

Mainly the expression of disapproval

#

!stream 1157723305265078272 1h

wise cargoBOT
#

✅ @astral coral can now stream until <t:1740589112:f>.

golden sonnet
#

hi there👋

astral coral
#

hey

vocal basin
#

@astral coral I don't have that much money to lose

astral coral
#

@vocal basin I bet you'd be a billionaire by now :L

vocal basin
#

abillionaire -- someone who doesn't have a billion

astral coral
#

:L

upper basin
#

Accidentally merged my PR into main.

#

Wasn't done with the PR...

vocal basin
#

stacked diffs ✨

upper basin
#

I was about to start a rather large change, maybe fate stopped it.

#

Yeah, it was like 10 commits.

#

I was about to start working on the approximate one.

astral coral
#

@rugged root whoops

somber heath
#

@carmine raft @fleet hawk @timid crypt @ornate plover 👋

#

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

Remora-on.

#

Apply remora directly to forehead.

rugged root
#

Why does it look like this fish has a big ass mitochondria on its head?

upper basin
astral coral
upper basin
#

Shark sucker.

#

Greetings salt.

rugged root
vocal basin
#

'lifetime

#

generic argument

#

Haskell

#

ML in general

#

I didn't come up with a better name

#

something that describes how objects connect together

#

"here, look at a more useless part"

#

(func stuff I won't be carrying over to this version)

wise cargoBOT
#

Please react with ✅ to upload your file(s) to our paste bin, which is more accessible for some users.

wise loom
#

@midnight agate
you were asking about race conditions.
i just did a quick search in the debugging books I have, here they are, ranked by occurences of this term.
I guess the one by Holtmann, Keding, Wloka talks a lot about it, with the one by Spinellis coming in 2nd.

wise cargoBOT
rugged root
#

Seaside, an acronym that stands for “Squeak Enterprise Aubergines Server with Integrated Development Environment,” is computer software, a web framework to develop web applications in the programming language Smalltalk. It is distributed as free and open-source software under an MIT License.
Seaside provides a component architecture in which web...

somber heath
#

easi ide

vocal basin
#

same VM

somber heath
#

quea sea

vocal basin
#

also Gleam

#

"was"?

golden sonnet
#

it kinda builds upon erlang

vocal basin
rugged root
vocal basin
#

bash

#

also

#

algol

#

algol is where it comes from I think

#

that one's not publicly avaialable

#

(if I'm not confusing it with something else)

vocal basin
#

most of content is on YouTube or whatever

#

in stream recordings

unique wyvern
vocal basin
#

This site attempts to form a searchable language reference out of the hours and hours of video information presented by Jonathan Blow on his youtube channel

rugged root
vocal basin
#

duckduckgo has some dealings with microsoft

#

so, like, there is influence from the latter but not as obnoxious as regular bing

rugged root
#

Dude I miss playing these... https://en.wikipedia.org/wiki/Infocom

Infocom was an American software company based in Cambridge, Massachusetts, that produced numerous works of interactive fiction. They also produced a business application, a relational database called Cornerstone.
Infocom was founded on June 22, 1979, by staff and students of Massachusetts Institute of Technology, and lasted as an independent co...

gentle flint
rugged root
#

Fair

#

@gentle flint Just get very slightly drunk

#

That'll fix it

vocal basin
#

"breathing is an anti-pattern"

rugged root
#

You Are Jeff Bezos is a satirical text adventure game, developed and released in 2018 by indie developer and writer Kris Lorischild, then known as Kris Ligman. The game's premise involves the player waking up one morning as Amazon founder Jeff Bezos, and being tasked with spending his entire US$156 billion fortune.

vocal basin
#

seems like in 2024 will have to do this at times

#

(as _)

#

no longer automatically infers at times

gentle flint
rugged root
#

Have petitions ever done anything?
@unique wyvern Annoyed people

vocal basin
#

todo!() is !, i.e. never type

#

type that may never have a value

rugged root
vocal basin
#

therefore it can be coerced into any other type

rugged root
#

Just vibrate your way to victory

#

I wouldn't expect it to

#

Heroin

#

It's worth a shot

#

fix'd

vocal basin
#

heroiné

rugged root
golden sonnet
#

anything less than LSD is just a waste

rugged root
#

Nothing like tripping balls while doing an exam

#

Leaving a what?

#

Yes

#

First rule of cat club: there are no rules other than what the cat tells you

#

I love the url name

#

Sort of

#

Just the regular ol' text adventure like zork

#

Although more flexible and you can do other crazy nonsense

#

War and Peace?

#

Ooo ooo oh oh, pick me!

#

I don't!

#

Result[Some, Err]

vocal basin
#

there's iex for exceptions

rugged root
#

More pizza than your body has room for

#

@gentle flint You will be missed

vocal basin
#

monad composition is insanity

gentle flint
#

i am a black hole

rugged root
#

Truth

#

Wow there's still quite a few engines/frameworks/whatever you call them for making text adventure games

#

Huh, yeah even a full on DSL for one

#

Granted the last push to main on that one was 2022

#

Ah that's when it was open sourced, nevermind

#

I guess it really shouldn't be any surprise that most of these are dead or not overly maintained

#

Other than Twine, it seems

golden sonnet
#

need a new project idea 🥱
getting bored

rugged root
#

What kind of project

vocal basin
#

there is some place in the original code where it stores the objects

#

idk where

rugged root
#

Buttbuttin

wise loom
golden sonnet
#

anything i can do that is fun really

#

last project i made some aync tools for django
but it seems i'm running out of tools

rugged root
#

@molten pewter I will fight you. Valhalla is stellar

golden sonnet
#

well..
there are things to be made, i'm just not sure if it's worth it or not
need more info on that

rugged root
#

Anything is worth it if you learn from it

#

Or you have fun doing it

golden sonnet
#

at this point it's mostly copy paste
tho the tests are fun

rugged root
#

Valhalla is better

#

Mother fucking vikings

#

The combat is so clean

upper basin
#

Origins.

rugged root
#

Ye

golden sonnet
#

i should put time and finish god of war 4

upper basin
#

I also didn't like origins.

rugged root
#

Ye

#

Again, vikings

upper basin
#

I prefer Black Flags, 3, and all the Ezio ones.

#

I also enjoyed Syndicate.

rugged root
#

Vi

#

kings

#

ur

#

mom

upper basin
#

Syndicate was really nice. The train, the overall progression, the map. The grapple especially.

rugged root
#

It's separated far enough from that where it just doesn't get in the way

upper basin
#

But none of them will ever live up to Ezio's trilogy. Ezio was the best one, and had the best gameplay.

#

Wasn't Davinci our friend?

#

He gives you the kite, fixes the hidden blade to not cut off your finger.

rugged root
#

@unique wyvern In an MST3K way, yeah

upper basin
#

He was your R&D in brotherhood.

rugged root
#

They stream it on Youtube as well

unique wyvern
rugged root
#

@molten pewter It was relevant because of the b-movie thing you mentioned

#

Yeah

#

Fair

#

I will not hear a bad word about "Manos: Hands of Fate"

#

Riff traks is separate

#

Technically

#

Some of the older ones really don't hold up

#

And same with the newer ones

#

There's kind of a butter zone of goodness

#

Joel's sense of humor is just very esoteric

#

Oh oh oh oh, we actually did that one time

#

For the movie "Saved"

#

Halp, my foot is asleep

#

The tingles

#

You know what

#

Looking over Twine....

#

I might actually do my game idea in that

short owl
#

@peak depot

peak depot
#

poor kitties

short owl
#

ooh kittys are agile

rugged root
#

@vocal basin Can you stop then restart your stream? It's not loading for me for some reason

#

@quartz beacon Yo

quartz beacon
#

👋

rugged root
#

How goes it

quartz beacon
#

soad :)

rugged root
#

Niiice

tacit crane
#

STill Prototype

#

dont judge the images

astral coral
short owl
#

bit o Fosters fix ya up - talk with a wiggy wag @rugged root

upper basin
unique wyvern
#

@rugged root the artist formally known as prints

quartz beacon
#

XD

#

Finger Prints

#

😭

astral coral
short owl
#

He's da PIMP !

#

Its bug eye joe

upper basin
#

@unique wyvern Didn't know I was supposed to write such detailed documentation in the init files.

astral coral
#

Uncle Ruckus

#

:3

#

❤️

upper basin
#

@unique wyvern It's Movable. I also doubted for a second, thought it's Moveable.

vocal basin
#

ah, cache not cash

astral coral
#

cache rules everything around me, cream get the memory, byte byte code ya'll

#

¬¬ I NEED to stop

#

Alpha

rugged root
astral coral
#

@peak depot

rugged root
vocal basin
#

where pandas

rugged root
astral coral
#

ask google

rugged root
#

@astral coral You're not my dad, you can't tell me what to do

astral coral
#

@rugged root alright, listen here you little sh*t

#

:L

vocal basin
#

hint: locals()["variable"] = "stuff" won't help

rugged root
#

Wouldn't think so

sinful phoenix
#

@vocal basin Hi 👋

rugged root
#

I define them at the top, the name in SCREAMING_SNAKE_CASE

#

I define them right after the imports

astral coral
vocal basin
#

where JS dev

astral coral
wise cargoBOT
#

auto_guild/__main__.py lines 23 to 34

class InvalidChannelType(Exception):
    """Raised when the channel type is invalid."""

    def __init__(self, channel_type):
        self.channel_type: str = channel_type
        self.message: str = (
            "{} is not a valid channel type.  Please consult the readme."
        )
        super().__init__(self.message)

    def __str__(self) -> str:
        return self.message.format(self.channel_type)```
vocal basin
rugged root
#

I've got one in one of my projects

#

The hell is wrong with me, why do I not have the parameter typed

vocal basin
#

: Any

rugged root
#

Nuuuuuu

vocal basin
#

: Unknown

astral coral
#

: parameter

vocal basin
rugged root
#

Eh.... the project is out of date anyway... no reason to change it at this point

vocal basin
rugged root
#

Wait, why would that not?

#

Since it is being used

vocal basin
#

Never, like Any coerces to anything

#

if you cannot enter this line, all code is correct

rugged root
astral coral
#

in "a" python code ... ¬¬

rugged root
#

@unique wyvern I am an artist, and memes are my medium

#

I'm going to challenge myself to speak only in gifs one day

unique wyvern
#

buffer[i++]

astral coral
#

my brush VScode, my paint Python, my art Indentation error

rugged root
#

That is pretty nice

#

Wait was it.... ++i that would update the value but give you the value unincremented first?

vocal basin
wise cargoBOT
rugged root
#

Ah okay

#

I get those two mixed up

vocal basin
#

!e

i = 0
print(++i)
wise cargoBOT
astral coral
#

:L

rugged root
#

There's a few out there.

astral coral
vocal basin
rugged root
#

Would likely be out of scope for us, though

candid spire
#

What monitor do you use @rugged root ?

sinful phoenix
#

@midnight agate 👋

rugged root
candid spire
#

@midnight agate Privately

rugged root
#

Mixture

candid spire
#

Private is best way to learn

rugged root
#

@midnight agate Highly depends on the community, too

#

There's certainly some out there that'll absolutely roast you

rugged root
#

If I do anything on a computer at home it's on a laptop

#

I'm mostly playing games on my console

candid spire
#

So you are at office now?

rugged root
#

If I'm here, then I'm in the office

candid spire
#

How?

astral coral
candid spire
#

I mean is it permissible to do so?

rugged root
#

I'm IT. So long as I get stuff done and/or immediately go take care of something, they begrudgingly allow it

rugged root
#

I'm very very lucky with my work situation

candid spire
#

What exactly you do?

astral coral
rugged root
#

My proper title is Administrative Support. I'm our runner, so I deliver tax and payroll documents to some of our clients, I do clerical work as needed, I do some minor building maintenance like changing lightbulbs and fixing the fridge from time to time. But primarily, I act as our in-house IT

vocal basin
#

@unique wyvern in a compiled language that's even easier,
you can use > and it gets optimised to whatever is best

#

(.len() > 0)

rugged root
#

We have an external MSP (IT folks) that handle our network and backend stuff

#

And field anything I can't cover or fix here

candid spire
astral coral
rugged root
#

Been here for almost 10 years

candid spire
#

Any plan of establishing your own business?

astral coral
rugged root
#

I'm content with where I am and what I do

astral coral
#

@rugged root what was your first lang?

candid spire
astral coral
#

¬¬ HA! HA! HA! ¬¬

#

:L

candid spire
#

My first language was C

#

How about you Zak?

astral coral
#

GML :L

vocal basin
#

woohoo memory leak

candid spire
#

Use Typescript

astral coral
#

GML, Javascript, C++, Python and C# - Varying degrees ¬¬

candid spire
#

I like JavaScript because it gets work done!

vocal basin
astral coral
#

@rugged root program me like one of you french compilers

#

anyone here do CTFs?

rugged root
#

Only in video games. And it's not even one of my favorite modes

astral coral
#

:L

#

yeah true tho

#

I meant white hat tho :L

#

I wrote a python book once

#

like basic programming principles etc etc

#

never published it tho and wrote it by hand

candid spire
#

@fast gyro Chinese la?

astral coral
#

I wanna make a true game on The Thing

#

like social deception, not like the PS2

#

game*

#

I tried in game maker

#

got far

#

made a 2D world and had it basically ready to write AI and procedural animations

#

had multiplayer etc set up tho

#

I got locked outta my google drive tho, lost my phone : _ ;

rugged root
astral coral
#

daily.dev - anyone use this?

#

Arnold C

vocal basin
#

@fast gyro does not delete the history

#

the typescript will remain forever

rugged root
#

As will the shame

astral coral
vocal basin
#

@fast gyro I'm going to do a bit of what Maroloccio does and ask you to solve a doubly-linked list exercise then

astral coral
#

"al is a of ei s t e l"

#

???

#

"false is a lie"

vocal basin
astral coral
#

HAAAAAAAAAAAAAA

#

:L

#

NICE

#

did you write that yourself?

vocal basin
#

manually

astral coral
#

god damnit Alisa :L

#

I genuinely impressed and I hate it :L

#

I'm intimidated :L

rugged root
astral coral
#

2, 37, 23, 71, 2, 23, 71, 5, 61, 2, 103, 101, 71, 41, 2, 61, 73

#

@vocal basin

#

little brain quiz :L

vocal basin
#

!e

print(ord('\t'))
wise cargoBOT
vocal basin
#

!e

print(ord('\n'))
wise cargoBOT
vocal basin
#

hmm

astral coral
#

awww 😦 shes not playing :L

vocal basin
#

a what

#

what's the second-to-last one pithink

#

downloading ig

vocal basin
#

VSC terminal issues

#

it forgets letters

vocal basin
#

@rugged root joe is the erlangest programmer

#

Solid?
no, I use Preact

rugged root
#

Well played

sinful phoenix
#

For python we should look at….?

#

I didn’t get that part

rugged root
vocal basin
#

I think I've seen that sequence before

astral coral
#

2, 37, 23, 71, 2, 23, 71, 5, 61, 2, 103, 101, 71, 41, 2, 61, 73

vocal basin
#

yeah, I noticed that

#

trying to figure out the order

astral coral
#

nth

candid spire
#

ASCII?

vocal basin
#

okay, yeah, that does make sense

astral coral
#

what the numbers are, nth and its a four word message

#

2, 37, 23, 71, 2. 23, 71. 5, 61, 2, 103, 101. 71, 41, 2, 61, 73

vocal basin
edgy edge
#

@fast gyro Deepseek is 💩 - Qwen is 👑

vocal basin
#

I understand how it's formed

candid spire
#

Now I understood

edgy edge
#

@vocal basin May I have stream perms :)

vocal basin
#

we don't give streaming perms to people with voice mute

edgy edge
#

:(

#

Why no temp stream perms

#

just use

#

!stream 956167389010075678

astral coral
#

B K W G B W G C O B H X G D B O P

#

A L I S A I S C R A Z Y S M A R T

vocal basin
#

!e

from string import ascii_lowercase

candidates = [False, False, *([True] * 200)]

for i in range(len(candidates)):
    if candidates[i]:
        for j in range(i * 2, len(candidates), i):
            candidates[j] = False

mapping = {i: ascii_lowercase[j] for j, i in enumerate(i for i, is_prime in enumerate(candidates) if is_prime) if j < len(ascii_lowercase)}
data = [2, 37, 23, 71, 2, 23, 71, 5, 61, 2, 103, 101, 71, 41, 2, 61, 73]
print("".join(map(mapping.__getitem__, data)))
#

eugh

#

agony

#

missing mapping

#

and the sieve is wrong, amazing

wise cargoBOT
edgy edge
#

!e
import random

compliments = [
"You're doing great!",
"I'm impressed with your work.",
"You have a great attitude.",
"Keep up the amazing work!",
"You're a natural!",
"Your creativity shines through.",
"You're a valuable asset to the team.",
"You're making a real difference.",
"Your hard work is paying off.",
"I'm so lucky to work with you!",
"You're a star!",
"You bring so much positivity.",
"Your dedication is inspiring.",
"You're incredibly talented.",
"You're a joy to be around."
]

print(random.choice(compliments))

wise cargoBOT
edgy edge
#

!e
compliments = [
"You're doing great!",
"I'm impressed with your work.",
"You have a great attitude.",
"Keep up the amazing work!",
"You're a natural!",
"Your creativity shines through.",
"You're a valuable asset to the team.",
"You're making a real difference.",
"Your hard work is paying off.",
"I'm so lucky to work with you!",
"You're a star!",
"You bring so much positivity.",
"Your dedication is inspiring.",
"You're incredibly talented.",
"You're a joy to be around."
]

print(random.choice(compliments))

wise cargoBOT
edgy edge
#

W

rugged root
#

You have to import it

split field
#

LOL

#

when you only know have the problem kek

astral coral
edgy edge
edgy edge
#

@fast gyro and @little scarab Sound so similar

vocal basin
#

off by one?

split field
#

@unique wyvern you're making a terminal? Do you have a github??

#

I see - can people contribute? This give me Terry Davis vibes

vocal basin
#

@fast gyro macOS is ᴜɴɪx-based not Linux-based

#

it is ᴜɴɪx in a way

#

a descendant thereof

astral coral
vocal basin
#

[97, 47, 73, 61, 43, 73, 41, 3, 11, 61, 67, 2, 61, 11, 83, 61, 47, 43, 17]

astral coral
#

x o t r n t m b

vocal basin
#

2 is A there

#

!e

from string import ascii_lowercase

candidates = [False, False, *([True] * 200)]

for i in range(len(candidates)):
    if candidates[i]:
        for j in range(i * 2, len(candidates), i):
            candidates[j] = False

mapping = {i: ascii_lowercase[j] for j, i in enumerate(i for i, is_prime in enumerate(candidates) if is_prime) if j < len(ascii_lowercase)}
data = [97, 47, 73, 61, 43, 73, 41, 3, 11, 61, 67, 2, 61, 11, 83, 61, 47, 43, 17]
print("".join(map(mapping.__getitem__, data)))
wise cargoBOT
astral coral
#

Letter Prime
A 2 J 29 S 71
B 3 K 31 T 73
C 5 L 37 U 79
D 7 M 41 V 83
E 11 N 43 W 89
F 13 O 47 X 97
G 17 P 53 Y 101
H 19 Q 59 Z 103
I 23 R 61

vocal basin
#

.wa short 25th prime

viscid lagoonBOT
vocal basin
#

.wa short 25th letter of english alphabet

viscid lagoonBOT
vocal basin
#

??

#

.wa short 25th letter of latin alphabet

viscid lagoonBOT
astral coral
#

.wa short 24th letter

viscid lagoonBOT
vocal basin
#

I have an OpenCL implementation of the sieve somewhere

#

@rugged root "cope and seethe of Eratosthenes"

#

ChatGPT is going to suggest you use RC4 and you'll get into patent trouble

astral coral
#

@rugged root well good bye ¬¬ jesus :L

#

@chilly wolf you haven't been on all day : _ :

vocal basin
#

time to start metaprogramming

chilly wolf
#

SORZ!! I just been sleepy today and I had a dentist appointment a couple hours ago

vocal basin
#

I want tuple support up to at least 12 items

#

no, in the library I'm making

#

currently only supports pairs

astral coral
#

@chilly wolf don't worry man 🙂 just recover 🙂

vocal basin
#

no

vocal basin
#

some crates implement up to 32

#

Scala's limit of 22 sounds weirder

#

I'm trying to remember where I used macros for implementing this stuff for tuples before

astral coral
#

!e

wise cargoBOT
#
Missing required argument

code

astral coral
#

!e```import math
from turtle import*

def hearta(k):
return 15math.sin(k)**3
def heartb(k):
return 12
math.cos(k)-5*
math.cos(2k)-2
math.cos(3k)-
math.cos(4
k)

speed(0)
bgcolor("black")
for i in range(6000):
goto(hearta(i)*20,heartb(i)*20)
for j in range(5):
color("red")
goto(0,0)

done()```

wise cargoBOT
# astral coral !e```import math from turtle import* def hearta(k): return 15*math.sin(k)**...

: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 |     from turtle import*
004 |   File "/snekbin/python/3.12/lib/python3.12/turtle.py", line 101, in <module>
005 |     import tkinter as TK
006 |   File "/snekbin/python/3.12/lib/python3.12/tkinter/__init__.py", line 38, in <module>
007 |     import _tkinter # If this fails your Python may not be configured for Tk
008 |     ^^^^^^^^^^^^^^^
009 | ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
astral coral
#

:/

vocal basin
astral coral
#

:/

astral coral
vocal basin
#

metaprogramming did not work

#

time to do codegen then

#

!e

from string import ascii_uppercase
print("'. '".join(ascii_uppercase[:12]))
wise cargoBOT
astral coral
#

"sexual repoduction at 6pm" 😉

astral coral
frosty shell
#

how do you tell if you have an even number of admin? you get 2 mod (admin %2 == 0 where % is mod, short for moderator ) ... and that is my obscure joke of the day.

urban abyss
#

shitty galaga game i started making

frosty shell
#

are you making in pygame?

urban abyss
#

curiosity rover has a 3d textured model available from nasa website

frosty shell
#

link?

astral coral
astral coral
urban abyss
#

some bullshit i made in blender

astral coral
frosty shell
astral coral
whole bear
#

lol

#

wtf

#

well

#

how is everyones day

astral coral
main comet
somber heath
#

!e py print(*range(10, 0, -1))

wise cargoBOT
somber heath
#

!e py print(*range(10, 0))

wise cargoBOT
somber heath
#

!d range

wise cargoBOT
#

class range(stop)``````py

class range(start, stop[, step])```
The arguments to the range constructor must be integers (either built-in [`int`](https://docs.python.org/3/library/functions.html#int) or any object that implements the [`__index__()`](https://docs.python.org/3/reference/datamodel.html#object.__index__) special method). If the *step* argument is omitted, it defaults to `1`. If the *start* argument is omitted, it defaults to `0`. If *step* is zero, [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError) is raised.

For a positive *step*, the contents of a range `r` are determined by the formula `r[i] = start + step*i` where `i >= 0` and `r[i] < stop`.

For a negative *step*, the contents of the range are still determined by the formula `r[i] = start + step*i`, but the constraints are `i >= 0` and `r[i] > stop`.
somber heath
#

@alpine sleet 👋

#

!e py print(*range(10))

wise cargoBOT
gentle dagger
#
    password = input("please enter your password: ")
    if password == "Joe Bob":
        print("That\'s the correct password")
        break

    if password != "Joe Bob":
        print("That's not correct")```
somber heath
#

!e ```py
for i in range(5):
print(i)
if i == 3:
break
else:
print('Hello, world.')

print('Bye.')```

wise cargoBOT
somber heath
#

!e ```py
for i in range(5):
print(i)
else:
print('Hello, world.')

print('Bye.')```

wise cargoBOT
gentle dagger
#

while True:
password = input("please enter your password: ")
if password == "Joe Bob":
print("That's the correct password")
break

if password != "Joe Bob":
    print("That's not correct")
#

for i in range(5):
print(i)
if i == 3:
break
else:
print('Hello, world.')

print('Bye.')

#

for i in range(4):
i - 1
password = input("please enter your password: ")
if password == "Joe Bob":
print("That's the correct password")
break

if password != "Joe Bob":
    print("That's not correct")
somber heath
#

!e py for _ in range(3): print('Hello, world.')

wise cargoBOT
somber heath
#

@lethal siren 👋

gentle dagger
#

else:

#

for _ in range(3):
password = input("please enter your password: ")
if password == "Joe Bob":
print("That's the correct password")
break

if password != "Joe Bob":
    print("That's not correct")

else:
    print("Sorry you can't log in")
#

please enter your password: jo
That's not correct
please enter your password: jo
That's not correct
please enter your password: jo
That's not correct
Sorry you can't log in

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.

gentle dagger
#
    password = input("please enter your password: ")
    if password == "Joe Bob":
        print("That\'s the correct password")
        break

    if password != "Joe Bob":
        print("That's not correct")

else:
    print("Sorry you can't log in")```
somber heath
#
def func():
    pass```
gentle dagger
#
    for _ in range(3):
        password = input("please enter your password: ")
        if password == "Joe Bob":
            print("That\'s the correct password")
            break

        if password != "Joe Bob":
            print("That's not correct")

    else:
        print("Sorry you can't log in")```
somber heath
gentle dagger
#

I was just messing with that

whole bear
#

irrelevant

gentle dagger
#

I am learning and am figuring out how python works

whole bear
#

alright

gentle dagger
#

until last night I didn't know the diffrence between == and = and is

#

I just learned about != today

whole bear
#

progress is good

somber heath
#

!pep8

wise cargoBOT
#
PEP 8

PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.

More information:

somber heath
#

!zen

wise cargoBOT
#
The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

astral coral
#

zen deez nutz HA! gott'em

somber heath
#
From form, let function flow.
From function, let form flow.
If your code is beautiful, it's likely to work well.
If your code works well, it's likely to be beautiful.```
whole bear
#

define beautiful

somber heath
#

Readable. Elegant. Simple.

#

As much code as is required and no more.

#

Robust.

whole bear
somber heath
whole bear
#

yes, too bad

#

damn he was such a good poet

astral coral
jovial iris
#

is it possible to get my voice recording device detects and start recording my audio when i execute something on chrome and it uses microphone ? @wicked bison

#

@astral coral you there zak ?

astral coral
#

?

jovial iris
#

is it possible with python script ?

astral coral
#

javascript yeah I assume so, python maybe, I don't really do web dev

wicked bison
#

it's not web dev

astral coral
#

oh sorry

#

errr yeah then?

wicked bison
#

I just need something to check the state of the mic in Chrome and if chrome using the mic then start a recording process using ffmpeg i already tested and if it's not using the mic then stop the recording and loop again if chrome is using the mic again and continues...

#

Can i do this in python. I would really appreciate your help @astral coral

astral coral
wicked bison
#

just wasted 4 hours trying to figure this out

astral coral
#

Windows
Download FFmpeg and extract it.
Download SoundVolumeView.
Place both ffmpeg.exe and SoundVolumeView.exe in the same folder as the script.
Run:
python mic_monitor.py

novel idol
#

give context

edgy edge
#

@whole bear your display name is a W 💀

#

@worldly crane It means something

edgy edge
#

@sleek salmon you sound tired

edgy edge
#

Who tf said "good boy"

#

@sleek salmon You are being rewarded, they will be punished.

#

Look at my description.

#

"If the world is against you, just remember the airplane flies against the wind, not with it."

#

@whole bear Old jokes

#

@whole bear No, It just sound nice

wicked bison
#

That's weird but this guy @astral coral actually help so i won't believe it 🙂

astral coral
#

did it work?

wicked bison
astral coral
#

whats the error?

wicked bison
astral coral
#

¬¬

wicked bison
#

I think it's because I'm using Windows

astral coral
#

remove the three ` at the beginning and end

#

no

wicked bison
#

okay, i will try

astral coral
#

it's because you copied the discord syntax

wicked bison
#

yeah, yeah

#

i just realized

astral coral
#

:L

wicked bison
#

🙂

#

it's just said recording now

astral coral
#

🙂 congratz

wicked bison
#

just hol on

astral coral
#

kk

edgy edge
#

hi @astral coral

astral coral
#

hey @edgy edge

wicked bison
#

The mic is not being used right now and it didn't end the recording (i think it's even didn't started)

edgy edge
#

!e

import random

questions = {
    "What is the capital of France?": "Paris",
    "What is the highest mountain in the world?": "Mount Everest",
    "What is the largest ocean in the world?": "Pacific Ocean",
    "What is the chemical symbol for water?": "H2O",
    "What is the name of Earth's only natural satellite?": "Moon"
}

score = 0
num_questions = len(questions)

for question, answer in questions.items():
    try:
        user_answer = input(f"{question} ")
    except EOFError:
        break
    if user_answer.lower() == answer.lower():
        print("Correct!")
        score += 1
    else:
        print(f"Incorrect. The answer is {answer}.")

print(f"\nYou got {score} out of {num_questions} questions correct.")
print(f"Your score is {(score / num_questions) * 100:.2f}%")
wise cargoBOT
wicked bison
#

@astral coral i used this ffmpeg command before and it worked great :
ffmpeg -f dshow -i audio="Voicemeeter Out B1 (VB-Audio Voicemeeter VAIO)" -f dshow -i audio="Voicemeeter Out B2 (VB-Audio Voicemeeter VAIO)" -filter_complex "[0:a][1:a]amix=inputs=2:duration=longest[a]" -map "[a]" -c:a libmp3lame -b:a 192k output.mp3

#

so the recording it self i can use it manually but i need to automate it

astral coral
#
import subprocess

# Define the FFmpeg command
ffmpeg_command = [
    "ffmpeg",
    "-f", "dshow", "-i", 'audio=Voicemeeter Out B1 (VB-Audio Voicemeeter VAIO)',
    "-f", "dshow", "-i", 'audio=Voicemeeter Out B2 (VB-Audio Voicemeeter VAIO)',
    "-filter_complex", "[0:a][1:a]amix=inputs=2:duration=longest[a]",
    "-map", "[a]",
    "-c:a", "libmp3lame",
    "-b:a", "192k",
    "output.mp3"
]

# Run the command
subprocess.run(ffmpeg_command, shell=True)
wicked bison
#

my problem is with the if chrome using the mic the run the ffmpeg command and if not anymore stop and loop

astral coral
#

but that won't work with chrome?

wicked bison
astral coral
#
import subprocess
import psutil
import time

def is_chrome_running():
    """Check if Google Chrome is running."""
    for process in psutil.process_iter(['name']):
        if process.info['name'] and "chrome" in process.info['name'].lower():
            return True
    return False

def run_ffmpeg():
    """Run FFmpeg command to capture Voicemeeter audio."""
    ffmpeg_command = [
        "ffmpeg",
        "-f", "dshow", "-i", 'audio=Voicemeeter Out B1 (VB-Audio Voicemeeter VAIO)',
        "-f", "dshow", "-i", 'audio=Voicemeeter Out B2 (VB-Audio Voicemeeter VAIO)',
        "-filter_complex", "[0:a][1:a]amix=inputs=2:duration=longest[a]",
        "-map", "[a]",
        "-c:a", "libmp3lame",
        "-b:a", "192k",
        "output.mp3"
    ]
    
    print("Chrome detected! Running FFmpeg...")
    subprocess.run(ffmpeg_command, shell=True)

# Monitor Chrome and trigger FFmpeg when it opens
while True:
    if is_chrome_running():
        run_ffmpeg()
    else:
        break  # Stop monitoring after FFmpeg starts
    time.sleep(2)  # Check every 2 seconds
somber heath
#

@fast kelp 👋

astral coral
#

this will work with Chrome

wicked bison
#

Thx, i will try this

astral coral
#

but it won't work when the mic is active

#

it runs the command you gave me when you open chrome

#

I modified the code

wicked bison
#

i need this to happen when the mic is active then start the command and when it's not then stop the command and that's the thing that i need. I don't need a whole recording of all the calls when i will open chrome. is there is anyway i can do what I'm i looking for?

astral coral
#

apparently GPT added a clause when you run Chrome to stop recording ¬¬ I changed the end three lines to make it stop when Chrome closes

#

okay hold on

fast kelp
astral coral
#
import subprocess
import psutil
import time
import sounddevice as sd
import numpy as np

def is_chrome_running():
    """Check if Google Chrome is running."""
    for process in psutil.process_iter(['name']):
        if process.info['name'] and "chrome" in process.info['name'].lower():
            return True
    return False

def is_audio_active(threshold=0.01, duration=1):
    """Check if there is active audio input."""
    def callback(indata, frames, time, status):
        global audio_level
        audio_level = np.linalg.norm(indata)  # Measure audio level

    audio_level = 0
    with sd.InputStream(callback=callback, channels=1, samplerate=44100):
        time.sleep(duration)  # Listen for 'duration' seconds
    return audio_level > threshold

def run_ffmpeg():
    """Run FFmpeg command to capture Voicemeeter audio."""
    ffmpeg_command = [
        "ffmpeg",
        "-f", "dshow", "-i", 'audio=Voicemeeter Out B1 (VB-Audio Voicemeeter VAIO)',
        "-f", "dshow", "-i", 'audio=Voicemeeter Out B2 (VB-Audio Voicemeeter VAIO)',
        "-filter_complex", "[0:a][1:a]amix=inputs=2:duration=longest[a]",
        "-map", "[a]",
        "-c:a", "libmp3lame",
        "-b:a", "192k",
        "output.mp3"
    ]
    
    print("Chrome and active audio detected! Running FFmpeg...")
    subprocess.run(ffmpeg_command, shell=True)

# Monitor Chrome and audio input
while True:
    if is_chrome_running() and is_audio_active():
        run_ffmpeg()
    time.sleep(2)  # Check every 2 seconds
wicked bison
astral coral
#

This should work when audio input and chrome are active at the same time

#

no problem

#

FYI I have no idea, I get most but not all, this is GPT so yeeeeeeeeeeeeaaaaaaaahhhhhhhh ....

wicked bison
astral coral
#

cool cool

wicked bison
#

i think this method is using threshold than using mic state, I'm i corrct?

astral coral
#

I've been advised not to use GPT to help anymore, so I'm at a dead-end because I have no idea how the audio input works, I've never done sound engineering etc etc

wicked bison
astral coral
#

I recommend learning basic programming principles on your own and get some practice if this is the route you wish to take

#

otherwise, find third party software and create like a macro

wicked bison
#

yeah, but the problem is i didn't find any third-party that can do this to me so i knew that i should use a script

astral coral
#

Voicemeeter + windows sound recorder

wicked bison
#

unfortunately it didn't work, but thanks though, I'm gonna get some rest and then I will try again tomorrow. Thx man

wicked bison
astral coral
#

these two

#

honestly, why automate this

#

its just gonna waste resources

wicked bison
#

for my work

astral coral
#

just manually do it every time you have a call ¬¬

wicked bison
#

I'm a customer service agent. Getting a lot of calls so I won't be able to manually record them

astral coral
#

ahhh okays

wicked bison
#

and sometimes i forget a lot

astral coral
#

well I recommend learning python programming principles and troubleshoot the previous code

wicked bison
#

so i wanna like an recording to the client so if i missed something in submission i go back and listen

astral coral
#

no, I understand

wicked bison
astral coral
#

1 sec

#

nah sorry I can''t help :/

#

I don't understand these functions

#

1 sec

wicked bison
#

It's okay man

astral coral
#

press windows key + R

wicked bison
#

okay

astral coral
#

type taskschd.msc

#

create a basic task

#

name it whatever

#

continue till you find "when program starts"

#

make sure you select "Chrome"

wicked bison
#

okay

astral coral
#

then when it asks you what you want to use

#

find the directory for your python.exe

#

and then add that replied script to argument

#

restart PC

#

now it should run the bash script you gave me everytime you open chrome

#

thats the best I can do for you

wicked bison
#

Thx man. I will try that

astral coral
#

I suggest using "google" from here on out

wicked bison
astral coral
#

nice man

#

keep up that attitude

wicked bison
#

Yes Man

#

Have a good one bro 🖐️

astral coral
#

you too man

tacit crane
#

@worldly crane

astral coral
tacit crane
#
orders = Table(
    name="orders",
    connection=connection,
    columns=[
        Column(name="id",type=DataType.SERIAL().primary_key().unique().not_null()),
        Column(name="user_id",type=DataType.BIGINT().not_null()),
        Column(name="status",type=DataType.TEXT().default("pending")),
        Column(name="product_name",type=DataType.TEXT().not_null()),
        Column(name="product_description",type=DataType.TEXT()),
        Column(name="product_image",type=DataType.TEXT()),
        Column(name="product_type",type=DataType.TEXT().not_null().default("service")),
        Column(name="product_price",type=DataType.DOUBLE_PRECISION().not_null()),
        Column(name="discount",type=DataType.DOUBLE_PRECISION().default(0)),
        Column(name="payment_method",type=DataType.TEXT()),
        Column(name="payment_from",type=DataType.TEXT()),
        Column(name="transaction_id",type=DataType.VARCHAR(255)),
        Column(name="paid_amount",type=DataType.DOUBLE_PRECISION()),

        Column(name="ticket_id",type=DataType.BIGINT()),

        Column(name="updated_at",type=DataType.TIMESTAMPTZ()),
        Column(name="created_at",type=DataType.TIMESTAMPTZ().default("CURRENT_TIMESTAMP").not_null())
    ],
    cache=True,
    cache_key="id",
    cache_ttl=300,
    cache_maxsize=1000
)```
#
async def initialize_routes():
    # Add all routers here from ./routes folder
    for file in os.listdir("./routes"):
        if file.endswith(".py"):
            module = file[:-3]
            if module != "__init__":
                module_router = __import__(f"routes.{module}", fromlist=["router"])
                app.include_router(module_router.router)```
#
from fastapi import APIRouter, Request
router = APIRouter()

@router.get("/", response_class=HTMLResponse, dependencies=[Depends(rate_limiter)])
async def home(request: Request):
    return RedirectResponse(url=urls.SUPPORT_SERVER)```
astral coral
tacit crane