#voice-chat-text-0

1 messages ยท Page 278 of 1

whole bear
#

!d strings

stark river
#

yeah i'm just reading the docs

rugged root
#

But yeah, it's rare that you'll use them

short owl
#

anyone take a look at , mojo python lately ?

rugged root
#

Not really. Not huge into the ML scene

vocal basin
#

in Java/Rust/C world, iirc, arrays are non-resizable

short owl
#

its for everything you want fast , not just ML

vocal basin
#

in C they'd also be pinned

#

idk about Java

short owl
#

is everybody in love with RUST now ?

vocal basin
#

wait, is T[] in C array or something else?

stark river
rugged root
#

I've loved Rust for a while. Only just now trying to get a stronger handle on it

vocal basin
short owl
#

Rust faster than C , whats the benefit ?

rugged root
#

@whole bear He sounds fine to me

olive fjord
rugged root
#

Type and memory safety. Stricter compiler to better enforce best practices. Cleaner error output

whole bear
rugged root
#

In theory, prevents runtime errors

short owl
#

Rust is actually better in many ways then

vocal basin
rugged root
#

But at the same time, it's a much different approach

stuck furnace
#

Go on...

vocal basin
#

in terms of compilation, it's way slower

rugged root
#

Time to compile you mean?

vocal basin
#

yes

rugged root
#

Fair, it does a lot more checks

short owl
#

so i can use python as a front but have it connect to rust to run faster

rugged root
#

Lots of little optimizations, too. Although C/C++ compilers do as well

stuck furnace
#

It's probably safe as long as it's cooked well enough ๐Ÿคทโ€โ™‚๏ธ

vocal basin
#

wait until you end up in a situation where release builds with optimisations take less time to produce than debug builds

rugged root
#

In the same way that numpy can make your stuff faster so long as you're using it properly

vocal basin
#

half a gigabyte sized debug binaries are fun too

olive fjord
#

how do Rust code look like

rugged root
#

True

vocal basin
stuck furnace
#

I really doubt you'd get botulism from fresh vegetables

#

That's with like, improperly canned foods

vocal basin
#

I'm too lazy to type a meaningful phrase

olive fjord
rugged root
#

Which part is throwing you off?

#

That's pretty straight forward

#

Rust programs always start from the main() function

#

No no

olive fjord
stuck furnace
#

They weren't like, slimy or mouldy before you cooked them right?

rugged root
#

It's just print() more or less

vocal basin
#

mix of python print and c printf

rugged root
#

There's a few more fiddly bits about it, but you can trea- yeah exactly

whole bear
#

@ivory stump I hit 700

ivory stump
#

Damn

olive fjord
#

ok

#

java is realy bad

vocal basin
#

depends

ivory stump
olive fjord
#

I need to learn Java in school

vocal basin
#

then yeah it's bad

rugged root
#

@molten pewter Flower was

vocal basin
#

Java for earning at school is a bit ew

ivory stump
vocal basin
#

but Java can still get a lot of things done

#
  • OOP theory
rugged root
#

Looking back at it, I didn't mind Java

#

It was my first language in college

stuck furnace
#

๐Ÿคจ

rugged root
#

Or maybe it was VB...

stark river
#

how is java not painful?

rugged root
#

Either way

vocal basin
#

if you're lucky, you might even actually get taught OOP and not just get terms read at you

rugged root
#

Oh I didn't say it wasn't painful

olive fjord
#

this one bro who says "i like Brainf4ck"

rugged root
#

I just didn't mind the pain

olive fjord
rugged root
#

@gentle flint Not always the case

#

Again not always the case

#

Oop, brb

#

Dating apps like Tinder are not that much different than speed dating

olive fjord
#

This old Eclipse

rugged root
#

Only difference is that you don't have to go anywhere

olive fjord
vocal basin
rugged root
#

@rugged tundra It could help slightly with the anxiety you have trying to talk and approach people, though

vocal basin
rugged root
#

Just one drink can help that, even

#

But exposure is the best way

#

Just have to keep doing it

#

Again, note I said slightly

olive fjord
rugged root
#

The exposure is the better option

vocal basin
gentle flint
rugged root
#

Well because too much beer will lead to the wrong kind of exposure

olive fjord
#

i dont like .xml

rugged root
#

No one does

rugged root
#

You're not alone

olive fjord
#

pom.xml you are my enemie

gentle flint
rugged root
#

Parsing that is easy

vocal basin
olive fjord
#

should i make voice reveal?

rugged root
#

Sorry wait

#

Ubuntu used XML?

olive fjord
#
  • i m austrian
vocal basin
#

it wasn't about ubuntu

rugged root
#

.NET?

#

Your mom?

vocal basin
#

somewhat dark joke

rugged root
#

Probably that one

#

Oh is that when the creator passed?

#

Well played

vocal basin
#

not the creator of xml

#

creator of erlang

olive fjord
rugged root
#

@whole bear Push. To. Talk

vocal basin
#

Joe Armstrong said he prefers XML over others

#

... and now Erlang docs are in XML

gentle flint
rugged root
rugged root
#

A few years ago, back when they introduced .NET Core, they expanded it so that it works on most other systems

vocal basin
#

(I'm surprised you didn't go on a rant about C# history and just skipped it almost completely)

rugged root
#

@whole bear Pause break, scroll lock, CapsLock

#

Lots of options

vocal basin
#

calculator button

rugged root
#

Until you're running something in a terminal

#

Then Pause Break might

#

Page forward on my mouse

vocal basin
#

write a script that detects repeatedly opened calculator

rugged root
#

HA

vocal basin
#

or both

rugged root
#

@gentle flint Considering I've been talking pretty much to text chat....

#

And I have been pinging you when I say stuff

#

I know the system

#

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

#

@gentle flint Your bike still fucked?

#

More than the sheared pedal?

gentle flint
rugged root
#

You knew what I meant

#

Is that the busted one?

#

Oh no that's the new one, doy

#

Neat

#

Very shiny

stuck furnace
#

This is the what

olive fjord
rugged root
#

Crank

stuck furnace
#

oh

#

lol

rugged root
#

Did you hear crack?

#

Spank

#

Dank

#

@olive fjord If you're just going to unmute to make noise, you're losing your permissions

olive fjord
#

):

rugged root
#

Back in a jiffy

stuck furnace
#

Who said wait ๐Ÿ‘€

molten pewter
#

wasn't me

rugged root
#

Text to speech

#

I'd really prefer if you spoke using your own voice. The text to speech stuff can trample over other speakers

#

Shit, back later

molten pewter
#

or type in the voice channel

stuck furnace
#

hullo

#

Do you want to make a Windows app?

rugged root
#

@short owl I'll look at Mojo when they actually complete the Python parity and making it a Python superset like they plan to

#

As it stands, there are other languages that have more support and already have solid performance

short owl
#

im not a good programmer to know what to ask of them - i just know they are open to suggestions , you can subnit a wish list of anything you want

#

solid support like Rust ? what else @rugged root

rugged root
#

Rust, C#, Go. Lots of other ones out there

#

Mojo has promised a lot but I haven't heard anyone say that it has kept or met those promises yet

#

They built up the hype for the language way too early, I think

stuck furnace
#

Python 2 is end-of-lifed

stuck furnace
#

Yeah PyCharm is pretty good.

#

A fully-fledged IDE can be a bit overwhelming though when you're just starting out.

#

It has a lot of buttons lemon_sweat

#

Yo

#

Fine, yourself?

#

Nah sorry ๐Ÿ˜„

#

Not today

#

I don't think my microphone works anyway

short owl
#

you can be a BETA tester , just go ask @vocal basin

vocal basin
#

what where who

#

ah

vocal basin
#

I haven't seen its source

#

it's already freely downloadable

#

the waitlist thingy is over

whole bear
#

@daring stream yo

daring stream
#

????

golden delta
#

why cant i get voice verified

#

i have all reqs

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.

whole bear
golden delta
#

!voice

turbid tree
#

Hey

daring stream
whole bear
#

@crystal spire๐Ÿ‘‹

crystal spire
#

hi

golden delta
#

"you have been on the server for less than 3 days" but look in #bot-commands

whole bear
golden delta
#

lol

short owl
#

hmm anyone doing SDR with python ?

#

analog signal processing via python

daring stream
stuck furnace
#

If I've done my math right

golden delta
#

im gunna cry

whole bear
earnest crow
#

Real

whole bear
#

I'm all good just can't talk rn

earnest crow
#

As always with dergil

whole bear
earnest crow
#

Dergil

whole bear
earnest crow
#

Spamin emojis

#

Nah i note trolls

#

Thats a secret ๐Ÿ‘‰ ๐Ÿ‘ˆ

whole bear
#

Did u note

#

@earnest crow did u note?

#

*^to remember

#

Answer me buddy

#

I know ur there

earnest crow
#

How do you know

turbid tree
#

@upper basin
Happy new year bro

Wish you all the best and happiness

Nowruz mobarak โ™ฅ๏ธ

whole bear
#

Wanna join Vc and spectate my chess game?

earnest crow
#

Im using discord

#

quite literally

#

discords inbuildt feature

whole bear
earnest crow
whole bear
#

Aight thx

earnest crow
#

You can turn it off

whole bear
#

I thought I disabled it

#

It's good now

turbid tree
earnest crow
#

yep

#

Dont spam please

whole bear
#

completed Request accepted

earnest crow
#

:c

round stratus
#

i can't speak yo

#

what the heck

#

oh yeah

#

let me do that

#

what's up gi?

#

how are you?

#

I'm pretty good yeah

#

why are we here again?

#

hmmm

#

idk

#

i don't really feel like it

#

i need to clean the kitchen

#

but like

#

what's funny?

#

?

whole bear
round stratus
#

thanks man

wind raptor
#

!stream 605393032929607683

wise cargoBOT
#

โœ… @haughty sonnet can now stream until <t:1710885690:f>.

stark river
#

โ“

fast sparrow
#

Hey guys

#

@wind raptor what're you working on?

#

@whole bear how're you doing bud?

#

what? sorry?

#

me not her. cat_cry

#

I believe you can do this kinda stuff with XML as well, right?

#

@whole bear you're a freshman?

#

yeah?

#

nah, I'm in library, can't talk

#

what's up?

#

alright, gotta go

#

bye

green fable
upper basin
somber heath
#

@still herald

#

@undone copper ๐Ÿ‘‹

undone copper
#

Hi @somber heath

#

I would talk if I could but I can't

somber heath
undone copper
#

hasn't been 3 days

#

would you mind if I asked you for some urgent help?

#

I keep getting an error at line 565 and it says thisException has occurred: KeyError
'Scene does not contain a layer named: Bullets'
File "C:\Users\techn\Downloads\Real Python Arcade\91906-Kartik\main.py", line 565, in on_update
for bullet in self.scene[LAYER_NAME_BULLETS]:
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "C:\Users\techn\Downloads\Real Python Arcade\91906-Kartik\main.py", line 629, in main
arcade.run()
File "C:\Users\techn\Downloads\Real Python Arcade\91906-Kartik\main.py", line 633, in <module>
main()
KeyError: 'Scene does not contain a layer named: Bullets'

#

but i have defined the bullet layer

#

@still herald southeast asia?

#

i could help

#

whats the code

still herald
somber heath
#

Perhaps your flow hadn't reached any of those calls for that layer.

undone copper
#

the layer is created in the setup function

#

through layer_options

#

wait a second

#

fuck im an idiot

stable axle
#

Medicine โ–บ https://www.youtube.com/playlist?list=PL26HeTCO57qcMQB6CrU6QRzEi9tt9l1FI
References:

4-year-old daughter admitted to ICU after parents wiped alcohol to reduce fever Report: https://b23.tv/pmqQjOr

Fever And Your Child, National Center on Early Childhood Health And Wellness. https://downloads.aap.org/DOCHW/FeverAndYourChild.pdf

Alcoh...

โ–ถ Play video
somber heath
#

@cobalt patrol ๐Ÿ‘‹

cobalt patrol
#

cant open my mike

somber heath
cobalt patrol
#

umm i see @somber heath new server feels complicated

#

yeah

#

so do everyone help each other to slove code porblems and learn python?

#

ummm sounds nice

#

ummm also the asian's can improve there english

#

so all in one

#

umm i see well you sound like a british

somber egret
#

he's a damn limey

cobalt patrol
#

i see

#

mannnnnnnn

somber egret
#

is he talkin trash about me?

#

๐Ÿ˜ˆ

cobalt patrol
#

what was that flash speed english?

somber heath
#

Ocker.

somber egret
#

pommy mate

cobalt patrol
somber egret
#

i do hope i bring a little joy to opals day

cobalt patrol
somber egret
#

in my own little neurotic fasion

somber heath
#

If you'll excuse me for a moment, I need to fiddle with my audio equipment.

cobalt patrol
#

@somber heath It's been a pleasure talking with you

#

See you later

somber heath
#

@hot saddle ๐Ÿ‘‹

hot saddle
#

who can help me with writing the code?

#

I can drop the task

#

starting from the 29th task

#

everywhere you need to calculate. and if you believe the teacher, then you need to calculate indefinitely

hot saddle
#

๐Ÿ˜…๐Ÿ˜‚

somber heath
#

Even if I understood the text, I'd be lost on the math as well.

hot saddle
#

We can go on a personal call so that I can explain what needs to be done.

somber heath
#

I don't think I'm going to be very useful to you.

hot saddle
#

Thank you for at least paying attention!

somber heath
#

@ripe hound ๐Ÿ‘‹

ripe hound
#

Cant talk, need to be like 1 hour to unlock

somber heath
#

@split crescent ๐Ÿ‘‹

split crescent
#

๐Ÿ‘‹

somber heath
split crescent
#

i don't seek advice just checking in

whole bear
#

ill just listen to the current yap session

#

@rugged root hellodiptisssss

whole bear
#

any programming lang has stubs

whole bear
#

we aint nerds

scarlet halo
#

๐Ÿ’€

willow garnet
#

nothing

#

nah

#

I am just scared of devin

#

Idk man

#

really?

#

ya but what about future

wind raptor
stark river
# willow garnet I am just scared of devin

i'm scared of nvidia
while they have made overheated gpus in the past
they kind of know what they are doing
so when they say coding will become obsolete.. they are on to something

#

the usual IT response:

peak depot
#

World Happiness Report 2024: Finland for the seventh time straight became the world's happiest country, according to the annual UN World Happiness Report that was released on Wednesday.

upper basin
#

How can I extract the name and parameters of a function as a dict?

Like let's say given this :

def RX(self,
           angle: float,
           qubit_index: int) -> None:
        """ Apply a RX gate to the circuit.

        Parameters
        ----------
        `angle` (float):
            The rotation angle in radians.
        `qubit_index` (int):
            The index of the qubit to apply the gate to.
        """
        # If the angle is zero or a multiple of 2 pi, do not apply the RX gate
        if angle == 0 or math.isclose(angle % (2 * np.pi), 0):
            return

         # Create an RX gate with the specified angle
        rx = Rx(rads=angle)
        # Apply the RX gate to the circuit at the specified qubit
        self.circuit.append(rx(self.qr[qubit_index]))

        # Add the gate to the log
        self.circuit_log.append({'gate': 'RX', 'angle': angle, 'qubit_index': qubit_index})

I want to extract the last line using a decorator, so I don't have to explicitly write it for every method.

#

So you would have gate be the method name, and the rest are the keyword args.

#

Would this be correct-ish?

def gatemethod(method: callable) -> callable:
        """ Decorator for gate methods.

        Parameters
        ----------
        `method` (callable):
            The method to decorate.

        Returns
        -------
        `wrapper` (callable): The decorated method.
        """
        @wraps(method)
        def wrapped(instance, **kwargs):
            # Add the operation to the circuit log
            instance.circuit_log.append({'gate': method.__name__, **kwargs})

            # Run the method
            return method(instance, **kwargs)

        # Return the decorated method
        return wrapped
peak depot
cerulean ridge
wind raptor
#

Yeah, it looks like it.

rugged root
ionic jacinth
#

@wind raptor I don't want to interrupt discussion in the chat, did you work with full text search by any chance? ๐Ÿค”

wind raptor
#

full text search in what?

ionic jacinth
#

Just in general, trying to figure out what would be a good solution for that, I'm currently using https://github.com/pgroonga/pgroonga but was considering elasticsearch, but it's API is very hard to use

wind raptor
#

How large is the text?

ionic jacinth
#

Titles (Up to ~250 chars, typically smaller), tags, maybe a description, up to 2k chars

cerulean ridge
#

Crazy Like Us: The Globalization of the American Psyche @rugged root

ionic jacinth
#

And alt titles in different languages

wind raptor
#

So you have a search bar and want to parse through those things you listed for any matches?

ionic jacinth
#

I could share some of my current code if that helps

wind raptor
#

Are you looking for fuzzy searching?

ionic jacinth
#

Something like this, I guess

#

But I'm only looking up titles by the text

wind raptor
#

And the data is stored in a db?

ionic jacinth
#
input MangaTagFilter {
  include: [ID!] = null
  exclude: [ID!] = null
}

input MangaFilter {
  statuses: [MangaStatus!] = null
  searchTerm: String = null
  tags: MangaTagFilter = null
}

Search input looks like this

ionic jacinth
wind raptor
#

SQL?

ionic jacinth
#

Postgres, hense pgroonga

wind raptor
#

Oh, just use a query then to get all matches

#

you can use the LIKE keyword

ionic jacinth
#

Yeah, but I was looking for something a bit better than simple like query ๐Ÿ˜…

upper basin
#

Guys, may I interrupt to ask a few questions regarding decorator definition?

wind raptor
#

Better in what way?

ionic jacinth
wind raptor
#

I guess I don't know your specifications

#

What does it need to do exactly

ionic jacinth
#

Fuzzy/Partial matching, e.g.

rugged root
#

Postgres seems to have something built in

ionic jacinth
rugged root
#

Oooooooooooooooooooo

#

Okay, I getcha

ionic jacinth
#

Wifh postgres FTS you have to provide it dictionaries to create a specific language spec, or whatever it's called, which is kind of a pain, though, it's doable

wind raptor
#

Oh, yeah, the multi-language support makes it tougher

rugged root
#

pgroonga does seem like a decent option then

ionic jacinth
#

Query itself kind of looks like this

@classmethod
def _filter_stmt(
    cls,
    stmt: Select[tuple[Manga]],
    filter: MangaFilter,
) -> Select[tuple[Manga]]:
    stmt = stmt.group_by(Manga.id)
    if filter.statuses:
        stmt = stmt.where(Manga.status.in_(filter.statuses))

    if filter.search_term:
        stmt = stmt.join(Manga.alt_titles, isouter=True).where(
            or_(
                AltTitle.title.op("&@~")(filter.search_term),
                Manga.title.op("&@~")(filter.search_term),
            ),
        )
    if filter.tags.include:
        include_alias = aliased(MangaTag, name="tags_include")
        stmt = (
            stmt.join(include_alias, Manga.tags)
            .where(include_alias.id.in_(filter.tags.include))
            .having(
                func.count(include_alias.id) >= len(filter.tags.include),
            )
        )
    if filter.tags.exclude:
        exclude_alias = aliased(MangaTag, name="tags_exclude")
        stmt = stmt.join(
            exclude_alias,
            Manga.tags.and_(
                exclude_alias.id.in_(filter.tags.exclude),
            ),
            isouter=True,
        ).having(func.count(exclude_alias.id) == 0)

    return stmt
#
SELECT manga.title,
    manga.title_slug,
    manga.description,
    manga.status,
    manga.rating_count,
    manga.rating,
    manga.bookmark_count,
    manga.latest_chapter_id,
    manga.cover_art_id,
    manga.id,
    manga.is_public,
    manga.created_at,
    manga.updated_at
FROM manga
    LEFT OUTER JOIN manga_alt_title ON manga.id = manga_alt_title.manga_id
    JOIN manga__manga_tag__secondary AS manga__manga_tag__secondary_1
        ON manga.id = manga__manga_tag__secondary_1.manga_id
    JOIN manga_tag AS tags_include ON tags_include.id = manga__manga_tag__secondary_1.tag_id
WHERE
    manga.is_public IS true
    AND manga.status IN ($6::INTEGER)
    AND ((manga_alt_title.title &@~ $1::VARCHAR) OR (manga.title &@~ $2::VARCHAR))
    AND tags_include.id IN ($7::UUID)
GROUP BY manga.id
HAVING
    count(tags_include.id) >= $3::INTEGER
ORDER BY manga.title NULLS LAST, manga.id
LIMIT $4::INTEGER OFFSET $5::INTEGER
wind raptor
#

If pgroonga fits your needs, try it out

ionic jacinth
#

Yeah, &@~ is a pgroonga operator ๐Ÿ˜…

upper basin
# rugged root What's the question?

So, I have a template class called Circuit, and the classes which subclass Circuit. Circuit is an ABC class, hence it has a list of abstract methods which I will refer to as gate methods.

In Circuit, I have written a decorator which basically extracts the name of the gate method, and the args and respective values passed as a dict, and adds it to a list inside the object. I want to ask if I should stack the decorator on the Circuit abstract methods, or do I have to add them to the subclasses' methods.

old heart
cerulean ridge
whole bear
#

@rugged tundra๐Ÿ‘‹

ionic jacinth
#

I have to go ๐Ÿ˜…

cerulean ridge
#

well

wind raptor
whole bear
#

@keen shuttle๐Ÿ‘‹

solemn drift
#

O/

cerulean ridge
rugged root
upper basin
whole bear
#

@main forge๐Ÿ‘‹

#

@pearl fjord๐Ÿ‘‹

#

@tawny jetty๐Ÿ‘‹

#

@grim summit๐Ÿ‘‹

grim summit
#

hi

upper basin
#

Does the order which you would stack decorators matter?

whole bear
upper basin
#

I feel it does in certain scenariooosss? I gueesss?

grim summit
whole bear
mellow sierra
#

hi @rugged root

whole bear
mellow sierra
grim summit
#

see you Later guys

upper basin
#

World trade center was 1400 ft, so you would scratch it if it was twice as high.

rugged root
whole bear
#

Being mindful? ๐Ÿ‘€

rugged root
#

Abstract method just says that they need to implement it. It wouldn't make sense to put an additional decorator on those

upper basin
#

I see, thank you very much!

old heart
#
I am a world before I am a man
I was a creature before I could stand
I will remember before I forget
Before I forget that
junior aurora
#

#voice-chat-text-0 : hi experts...I have following questions and I want guidance on my Python learning:

  1. I see that lot of my colleague talk abt chatgpt, generative AI and beleive it can effectively replace engineering jobs.. what's your view?

  2. What lies ahead in the future for a developer or an aspiring SRE like me trying to get basic right in Python

  3. Do you think learning computer programming is still relevant? If yes then what more can we do to stay ahead of the race

  4. How do we stay updated with the latest happenings on how AI shaping up the future

old heart
# junior aurora <#412357430186344448> : hi experts...I have following questions and I want guida...
  1. AI is generative based on sample data, meaning that it cannot be creative like humans in its current state.

  2. Learning to code is beneficial, a basic understanding of CS can help you understand this fast changing world.

  3. See #2

  4. Learn about prompt engineering, check out MIT and Harvard websites for information. There is a great intro to CS at Harvard called CS50.

The biggest problem with AI is the data you feed it, without clean and relevant sample data, your model is useless at best.

junior aurora
rugged root
#

@lone flame Long time no see.

#

Also, I'll be back on in voice once I get to the van

#

Y'all have been warned

willow gate
lone flame
rugged root
#

HA! You know I'm always happey to help if I can

rugged root
#

Yo

whole bear
#

What's the vc up to?

rugged root
#

Back in a jiffy

lone flame
#

This VC gets crazy everytime I come here haha

whole bear
#

Guys, if possible, outsource some of the jobs

#

Befriend computer students and let them do the work by pretending that it's a practice for them. You get finished work and skilled students by the end of each project

junior aurora
upper basin
#

What's a god to a non-believer @rugged root

upper basin
#
  • Also suffering from an untreatable disease
#

HEHEHE

whole bear
upper basin
upper basin
whole bear
#

@stuck furnace๐Ÿ‘‹

gentle flint
stuck furnace
gentle flint
stuck furnace
solar jewel
stuck furnace
#

Pretty good

rugged root
#

I return

#

Unfortunately, the Oxford definition is so broad that it would cover ANY game where you're controlling a character

gentle flint
#

he sinks down 0.5 metres into the pad which means he is subjected to 200G

whole bear
#

@rugged root๐Ÿ‘‹

gentle flint
#

this dude is a pancake

rugged root
#

Especially after fighting all of the assassins for generations

#

Final Fantasy 7, RPG. Final Fantasy 7 Remake, Action-RPG

#

100%

#

Yeah that's

upper basin
#

Yeah, so the combat mechanics of remake and most AAA games are Action

rugged root
#

I agree

upper basin
#

DnD is more RPG

gentle flint
whole bear
gentle flint
#

by putting out inviting hay bales which wouldn't save them

rugged root
#

Or it's just a simulation - HA, well played Char - and we're all thinking too hard about it

#

They're video games

#

Have fun

#

That's my mentality

gentle flint
rugged root
#

Might be on sale, actually

#

How dare you

#

You can take my PS5 from my cold dead hands

#

I was a PC gamer for so long

rugged root
#

But I just want to sit down, press button, play game

#

Console fits that need

whole bear
rugged root
#

I don't have to fuck around with drivers, I don't have to worry about other programs running or what not lagging the game

rugged root
#

Games released on consoles are going to run on the console

upper basin
#

You update them, and suddenly you have worse FPS.

#

Console games are definitely better to play given they are optimized.

amber raptor
#

Not to mention price performance is still in favor of consoles

rugged root
#

@wind raptor It's Bethesda. Their mentality is, "Eh, the community will fix the game for me."

upper basin
#

PC is usually lacking in optimization.

rugged root
#

Dude I cannot type

amber raptor
upper basin
#

Yeah, but they are optimized much more compared to PC.

amber raptor
#

Itโ€™s all x86 AMD GPUs

upper basin
#

They are mate.

rugged root
#

To a point

upper basin
#

Look at COD.

amber raptor
upper basin
#

Well, that's an instance. Most games when they are released on console are more optimized, whereas the PC versions are lacking in the optimization department.

rugged root
#

PFF

#

@wind raptor That's what she said

#

"Only goes up"

amber raptor
#

โ€œMore optimizedโ€ aka pre established graphic settings

upper basin
rugged root
#

Although, first party games are certainly super optimized

#

Third party that are on multiple consoles are going to be less so

amber raptor
#

The optimization argument is crazy, itโ€™s all x86 at this point

#

Itโ€™s not cell.

rugged root
#

Thank god

#

PS3 was a mistake

upper basin
#

Console is easier to optimize because you have a constant hardware, so you can really push the optimization, whereas with PC you have a lot of controllers, RAM, GPU, CPU, all being possibly different user to user.

#

It's harder to optimize a game to that vast of an hardware pool.

amber raptor
#

they don't optimize, they just set some settings and everyone is like "oooooo"

whole bear
#

@wet heron๐Ÿ‘‹

rugged root
#

@whole bear Math? Meth?

#

Which are you saying

upper basin
amber raptor
rugged root
#

Good time to use Python

#

Another mystery solved

#

Good to know

upper basin
#

Ok, with an RTX 3060 you will likely outperform the PS5 in terms of pure hardware. However, once you play two games, where one is optimized for the console, you will likely see a huge difference in favor of the console.

amber raptor
#

name the game

upper basin
#

COD, Fortnite, Helldivers II

#

Literally any game I have played on both PC and console

rugged root
#

All set to settings that suit the console

whole bear
#

@gentle iron๐Ÿ‘‹

upper basin
rugged root
#

@wind raptor You got this home boy

rugged root
upper basin
#

Actually no.

#

PS5 gives a constant 120.

#

On PC, I at most get 80.

gentle iron
#

hey guys

rugged root
#

At 1080p?

upper basin
#

Yep.

rugged root
#

Then yeah, would take some tweaking on the PC

#

Something seems wonky

amber raptor
rugged root
#

Most PS5 games are capped at 60

upper basin
rugged root
#

No

#

4k is 30

upper basin
#

That's the whole selling point of PS5, 120 FPS on 1080p, 60 FPS on 4k. PS4 Pro was 60FPS on 1080p, and 30FPS on 4k if I recall correctly.

rugged root
#

Yes, the PS5 can run 4K at 120fps, but only if the console is connected to an HDMI 2.1 port and has a data bandwidth of 48Gbps. The HDMI port on the PS5 can support 4K at 120fps, but the console itself can only do 4K at 30fps or 60fps

#

@golden delta Then your parents will be pretty cross with you

#

The utility cost will spike

#

@dusk raven Sup

amber raptor
#

Yea, I refuse to believe 10.2 TFLOPS will run 60FPS at 4k on anything outside Minecraft

rugged root
#

@dusk raven How goes it

dusk raven
#

@gentle flint i found a longer word Grundstรผcksverkehrsgenehmigungszustรคndigkeitsรผbertragungsverordnung ๐Ÿ˜‚

dusk raven
rugged root
#

What does that long ass word mean

dusk raven
#

last weeks where an up an down the whole time

amber raptor
#

Helldivers on PS5 is doing 30FPS at 4k

rugged root
#

Which is standard

#

Performance mode is typically.... I think 1080p at 60 fps. Maybe 1440p?

#

Can't remember

amber raptor
#

and I get 50 FPS at 1440 with GTX 1080 on HellDivers 2

upper basin
amber raptor
#

my brother with 4080 is doing 98 FPS at 1440 with his setting cranked way up, he said it looks a ton nicer then PS5 his friend has

rugged root
#

Some games do support 120 fps on PS5, I'm seeing

#

But it doesn't seem very common

#

And you're certainly running it on 1080p

amber raptor
rugged root
#

Black Ops apparently

#

I think even Stardew is 60 capped

amber raptor
#

probably less then 1080

upper basin
amber raptor
upper basin
#

Like the whole NVIDIA pannel is a huge contributor.

rugged root
upper basin
amber raptor
upper basin
rugged root
#

@golden delta If you're on Windows, hit Win+R and enter dxdiag

#

It'll show it there

amber raptor
#

Optimization is just graphic setting being set right, that's it. and from what I understand, Helldivers 2 has FPS dips on PS5

amber raptor
rugged root
#

Likely

upper basin
#

I don't agree with that.

upper basin
rugged root
#

@golden delta https://en.wikipedia.org/wiki/DirectX_Diagnostic_Tool It's a built in tool that's already on Windows

DirectX Diagnostic Tool (DxDiag) is a diagnostics tool used to test DirectX functionality and troubleshoot video- or sound-related hardware problems. DirectX Diagnostic can save text files with the scan results. These files are often posted in tech forums or attached to support emails in order to give support personnel a better idea of the PC th...

amber raptor
rugged root
#

You can search for it in the start menu, it'll be there as well

#

It'll be a blue circle with a yellow x

amber raptor
#

the only optimization is graphic settings being tuned

upper basin
#

If you say so.

rugged root
#

Maybe driver/firmware tweaks on the OEM's side

#

But those will be not a huge boost

#

....

#

Rab come on dude

whole bear
#

@graceful kelp๐Ÿ‘‹

rugged root
#

@amber raptor I'm not giving you the satisfaction

amber raptor
whole bear
#

@wispy narwhal๐Ÿ‘‹

wispy narwhal
#

Hi Chris

whole bear
rugged root
#

@golden delta Do not use gay as an insult or pejorative

#

That's not gonna fly here

golden delta
#

my bad

rugged root
#

Oh, and this is dxdiag

golden delta
#

is there smt like warnings here

wind raptor
golden delta
#

like get 6 and your banned?

rugged root
#

There's no specific number

golden delta
#

ok

rugged root
#

Ya fuck up big enough, you're out

graceful kelp
#

lol

rugged root
#

But that's why I'm just saying "Hey, don't"

#

I don't like to infract if I don't have to

upper basin
whole bear
rugged root
#

Socrates

#

Not Nazis

graceful kelp
rugged root
#

Sock-rah-tees

#

BRING IT

#

Not for admins

#

I'm struggling to remember what it was

#

All I remember was that it was like one sentence that made it pop up

#

@whole bear I'm assuming the others were banned?

#

@dusk raven See ya

#

Good to know

#

Beat me to it

#

What Ace said

willow gate
rugged root
#

They are not

stuck furnace
#

Yeah that's how names work

rugged root
#

Just split personalities

stuck furnace
#

Maybe they're Korean ยฏ_(ใƒ„)_/ยฏ

rugged root
#

Also an option

stuck furnace
#

Ah right ๐Ÿ˜„

rugged root
#

Welsh

#

I'm tired

#

@whole bear

#

Whoops, misclicked

#

My bad

#

I do, ye

willow gate
#

@wind raptor hello

whole bear
rugged root
#

Uh huh

wind raptor
#

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

whole bear
rugged root
#

Trying to remember, I think it was from Doom 3. "As part of the production process, this facility has 2 waste products: Steam and green goo."

#

No I don't know why it popped into my head

rugged root
graceful kelp
dense echo
#

Yo fellas

whole bear
graceful kelp
#

really

#

You just said you were Canadian

willow gate
whole bear
rugged root
whole bear
rugged root
#

Only really playable with the duct tape mod that let you have the flashlight out with other weapons

#

Such a dumb design choice

graceful kelp
#

Okay got you

whole bear
#

@hidden tapir๐Ÿ‘‹

rugged root
whole bear
rugged root
#

One of my friends may actually be the cause of it

graceful kelp
rugged root
#

He went to Quakecon and they were listening to some feedback and recommendations

#

And he mentioned how neat it would be for the flashlight to be a weapon

graceful kelp
rugged root
#

No worries

#

Socrates was a singular person

whole bear
#

Indeed

rugged root
#

So there shouldn't be a "the"

whole bear
stuck furnace
#

Oh it's a metaphore

graceful kelp
#

does it matter

whole bear
#

No

stuck furnace
#

I thought you were asking a physics question lol

graceful kelp
#

It's neither actually lol

#

Southern East ig, even I'm not sure

rugged root
#

Char, we've talked about the personal questions thing

#

Typically makes people uncomfortable

#

@upper basin I'm here for ya brother

whole bear
rugged root
#

We try to make it that way

#

Yeah those kinds of people don't last on this server

graceful kelp
whole bear
graceful kelp
#

...

rugged root
#

More that it's just... a weird thing to say

whole bear
#

I do this often and I say sorry

#

This is not acceptable

rugged root
#

We learn, it's over with

#

Just know for next time, that's all

#

Man we've been having a fair number of raids this week

upper basin
#

First rule of Fight server, don't talk about the Fight server.

rugged root
#

Wonder what's up

#

@whole bear Same. I'm dumb as shit

#

All a matter of perspective

#

โค๏ธ

#

@golden delta We try not to. Some people fuck around but they're just not used to the server culture. I prefer to nudge people in the right direction instead of outright dismiss them

#

@hallow warren Sup

#

Nice

#

Hmm?

#

Hi

#

eye-vul

#

@whole bear Think before you speak

#

Please

#

Eivl is the sweetest guy, too

#

So nice

golden delta
whole bear
#

Can you have 10 infractions and still become a helper?

rugged root
#

We don't do thing based on numbers like that

stuck furnace
#

.8ball Can you have 10 infractions and still become a helper?

viscid lagoonBOT
#

Outlook good

rugged root
#

Helpers are full staff

stuck furnace
#

That's surprising

rugged root
#

They're folks who we view as being good representatives of the server

rugged root
#

They promote the culture, the rules, encourage folks, are knowledgeable, etc.

#

@peak depot Sup

#

Yeah I totally forgot that voice chats had statuses

whole bear
#

.8ball Did Hemlock kill Socrates?

viscid lagoonBOT
#

Don't count on it

upper basin
#

.8ball Will I find a million dollars in the bushes tomorrw?

viscid lagoonBOT
#

You may rely on it

#

Ask again later

rugged root
#

@golden delta There are ways.

#

!pypi auto-py-to-exe

wise cargoBOT
rugged root
#

Brb, getting tea

stark river
#

i found a pattern in my country's lottery.. guaranteed a prize every draw

junior aurora
# willow gate ๐Ÿ‘ did you work in any company?

Yes am working in software industry for last 14 years.. however my role is a production support engineer following ITIL processes for managing the systems in production..I see that the landscape is completely changing from production support to dev ops or sre and I want to stay positive and move on with this. By the way I have enrolled for cs50x

silent fox
#

How are you guys doing

golden delta
# rugged root !pypi auto-py-to-exe

pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • pip install auto-py-to-exe
  •   + CategoryInfo          : ObjectNotFound: (pip:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
rugged root
#

Windows?

willow gate
golden delta
#

ofc

rugged root
#

py -m pip install auto-py-to-exe

golden delta
#

thanks

rugged root
#

Any time you want to do Python stuff on Windows, you'll use the py launcher instead

willow gate
golden delta
#

okay downloaded it

whole bear
#

@remote relic๐Ÿ‘‹

remote relic
junior aurora
remote relic
#

Im from mumbai

whole bear
remote relic
whole bear
#

It's sponse3rd by squarespace

karmic obsidian
#

is everyone silent here or I am not able to hear anyone?

willow gate
remote relic
whole bear
willow gate
#

it have Good python playlist

remote relic
#

Hey, does anyone here have any experience with flask framework

rugged root
#

I mean

#

It's fine

stuck furnace
#

It's fine. Probably you were asking about using it for code obfuscation?

willow gate
rugged root
#

So

willow gate
remote relic
rugged root
stuck furnace
#

It you want to make it so that the end user can run the program without having to install a python interpreter, it's a reasonable approach.

#

But using it for code obfuscation is a bit of a fools errand.

rugged root
#

Most of it is pretty cut and dry

karmic obsidian
willow gate
rugged root
#

In your terminal:
auto-py-to-exe

#

Should pop it up, @golden delta

#

Das Booting

remote relic
junior aurora
willow gate
rugged root
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

We've got a bunch of channels and stuff listed on our site too, if you're needing Youtube channels or what have you

willow gate
gentle flint
rugged root
#

@golden delta I wouldn't worry about converting any code you have to .exe for now. Get your fundamentals down first. Still will start to make more sense as you go along and ask questions

junior aurora
rugged root
#

You'll get there

#

Just takes time

#

Python really isn't meant to be compiled down to a .exe file

#

It's not what it's made for. They're usually meant for running in environments that already have Python or you're having set up to do so

#

Now, there are certainly situations where it's reasonable to make a .exe

whole bear
#

I'm looking at my old chat messages and I can't believe I was like that lol

rugged root
#

Like what?

#

Speak again?

#

You're quiet now

#

Havoc

#

The "Like what?" was to you, Char

#

There we go

#

You're good now Hav

amber raptor
#

Even if you get py -> Exe running, most AV will scream about it

rugged root
#

Yeeeeeep

stuck furnace
#

Yea. You can get your application whitelisted though I believe.

amber raptor
stuck furnace
#

But it's a whole thing

whole bear
#

And look now

#

5 infractions and dream

rugged root
#

I'm back, sorry

peak depot
#

henkilรถtunnus

whole bear
#

@stiff ingot๐Ÿ‘‹

stuck furnace
#

Gotta go ๐Ÿ‘‹

rugged root
#

Would likely be easier, ye

#

Prevent both parties from getting stepped on

#

@dire folio I've missed you

#

โค๏ธ

#

How've you been?

dire folio
#

hey hey

rugged root
#

You currently dying of anything?

dire folio
#

well.. age

stiff ingot
#

how are you guys?

whole bear
stiff ingot
#

im oke i have examesยต

rugged root
stiff ingot
#

so i have to study mutch

rugged root
#

@gentle flint Wait, there's a bible belt there, too?

#

Thought it was mainly a US thing

stark river
#

europe has a bible belt?

dire folio
#

nah, we have a bible belt in Norway as well

rugged root
#

Learn something new every day

stark river
#

well poland would be the bible belt of europe

rugged root
#

Vatican City

whole bear
rugged root
#

Bro but not brother

upper basin
stiff ingot
#

ooohhhh

#

its like that

signal falcon
#

bro

#

non of these words are in the bible

upper basin
#

Ahh, so that's why HR called me the other day about pushing PRs.

rugged root
#

"And lo, Jesus broke the bread, gave it to his bros and said..."

upper basin
stiff ingot
#

pov: python discord

signal falcon
#

i think

stark river
#

i think there is a gen z bible

stiff ingot
#

its oke

signal falcon
upper basin
golden delta
dire folio
#

getting a phone. brb

rugged root
#

"And Jesus did yeet the Pharisees from the temple..."

stiff ingot
whole bear
upper basin
#

"...And Jesus said, thou shall follow my word, on god, fr fr"

gentle flint
#

The Bible Belt (Dutch: bijbelgordel, biblebelt) is a strip of land in the Netherlands with the highest concentration of conservative orthodox Reformed Protestants in the country. Although the term is of recent origin (named by analogy after the Bible Belt of the United States) the Dutch Bible Belt has existed for many generations.
This Bible Bel...

stiff ingot
#

bruhhhh

upper basin
peak depot
#

Plome, it is just "local" medicine to ear

upper basin
#

yeeth

rugged root
stiff ingot
#

...

gentle flint
stark river
rugged root
#

Anchors?

#

@charred orchid

upper basin
gentle flint
#

why not intra-aural @peak depot ?

whole bear
#

Can we stop harassing christianity pls

rugged root
#

You're right, you're right

upper basin
rugged root
#

I went to a Catholic High School, so I have a lot of material

#

@peak depot I swear to god

#

I will end you

stiff ingot
#

oooohhh buddy

stiff ingot
#

yea stop

upper basin
#

I shall not, deadassth.

wind raptor
golden delta
#

yo @rugged root i download the py to exe but when i do "auto-py-to-exe" in my termenal it tells me not recogized

rugged root
#

Close and reopen the terminal if you haven't already

stiff ingot
#

yoo

upper basin
stiff ingot
#

how are you guys

golden delta
charred orchid
golden delta
#

when i try to reinstall it it tells me its there

stiff ingot
#

bruhh

charred orchid
#
Zeek is the jack of all trades for network programming. Given its flexibility, you can do a variety of things with including signature detection that is more advanced than what Suricata or Snort offers.

You will need to simulate the attacks for this assignment and build the detection scripts in Zeek.

Detect DNS exfiltration/tunneling using Zeek. This was the technique that was used to extract Equifax data. There is variety of ways that such an exfiltration can be used (read more on https://www.sans.org/reading-room/whitepapers/dns/detecting-dns-tunneling-34152Links to an external site.), so, to simplify the problem, simulate a DNS Query of data that will not be canonical. Since this is a warm exercise, that means any request with larger than 52 chars total. Build a rule that can detect this non-compliant packet and raise a Notice (bro's alerting module). Bro has a library for supporting DNS operations already. The notice type needs to be "DNS::Exfiltration"  and the message needs to say "Long Domain. Possible DNS exfiltration/tunnel by 8.8.8.8. Offending domain name: abcabcabcabacabcabcabcabacabcabcabcabacabcabcabcabacabcabcabcabacabcabcabcabac.example.com" (replace the ip with ip and domain name with domain anme query that the alert is generated for automatically using fmt fucntion). To help speed things up, you will use specific pcap files provided here: dns-normal.pcap Download dns-normal.pcap dns-tunnel.pcap Download dns-tunnel.pcap.
In addition to the standard libraries that Zeek has, you can write your own preprocessing rules for packets for virtually any protocol. MQTT (https://thenewstack.io/mqtt-protocol-iot/Links to an external site.) is an IoT protocol that has a type of suspicious activity where a device may subscribe to all "feeds" (https://morphuslabs.com/hacking-the-iot-with-mqtt-8edaf0d07b9bLinks to an external site.). Detect Subscribe all suspicious traffic for MQTT protocol. The biggest challenge is to build a definition of MQTT so that Zeek can actually read it and provide you with access to specific fields. There are actually two options, the easier all-in-one bro script, the more difficult is using BINPAC and built the definitions of a packet along with the events (this is in C++ not Bro and requires to build Bro from source). For our purposes we will use the first option (all in one bro, more inefficient but easier to get working). For generating new MQTT traffic use this: https://www.npmjs.com/package/mqtt-mLinks to an external site.. You can also simulate the subscribe all attack and capture it using tcpdump. Note: MQTT messages can be stacked into one packet! If a subscribe all on main topic (#) or subtopic (subtopic/#) is detected, raise a notice (reports automatically to notice.log).
The notice type needs to be "Mqtt::Subscribe"  and the message needs to say "140.160.140.131 attempts to subscribe to SUB/# topics."
replace the ip with ip that the alert is generated for automatically using fmt function.
replace the  SUB/# with whatever the topic subscription is in the packet
To speed things up, you will use the files provided here for testing: mqtt-normal.pcap Download mqtt-normal.pcap mqtt-bad.pcap Download mqtt-bad.pcap.
A few points:
You do not need to parse all MQTT messages, just the one for detecting the exploit.
Use Wireshark to see how the messages look like and navigate through the byte offsets (it will help you tremendously).
stiff ingot
#

...

golden delta
#

lol

stiff ingot
#

lol

#

bro

golden delta
#

lmao

#

that got deleted so fast'

rugged root
stiff ingot
#

he was removes

rugged root
#

@peak depot @rugged tundra Do I have to smack both of you?

golden delta
#

terminal

stiff ingot
#

..

rugged root
#

Weird.

#

Thinking

stiff ingot
#

yea weird

rugged root
#

You're sure you're spelling it correctly?

wind raptor
#

Bye @peak depot ๐Ÿ‘‹

rugged root
#

Done that a couple times

charred orchid
rugged root
#

Back later

golden delta
#

@rugged root

stiff ingot
#

bruhhh

upper basin
golden delta
#

also tried that

stiff ingot
#

yea try it

golden delta
upper basin
#

Show me the error you're getting.

golden delta
upper basin
#

Run

pip install auto-py-to-exe
#

You probably don't have it installed.

golden delta
#

windows

gentle flint
upper basin
#

Thank you for the correction good sir.

gentle flint
stiff ingot
#

..

upper basin
#

Wait, so eth makes things present continuous?

stiff ingot
#

yo how are you guys today

gentle flint
upper basin
stiff ingot
#

do you guys have school tomorow

gentle flint
upper basin
gentle flint
#

thou art
... are with thee

gentle flint
#

if "you" is the subject it's thou

#

if "you" is the object it's thee

#

like he and him

upper basin
#

I see!

gentle flint
#

so "I thank thee"

stiff ingot
#

i see

upper basin
gentle flint
#

thou art welcome

stiff ingot
#

I thank thee!