#voice-chat-text-0

1 messages ยท Page 88 of 1

near bear
#

I was just checking to see if I got the permission to speak

unreal flare
#

I dont have 50 msgs sent

near bear
#

then send them

unreal flare
#

however I never write all of the shit in one so I guess not too hard to reach that nr

unreal flare
near bear
#

nah don't spam

unreal flare
#

but nice try joe_salute

hoary olive
#

Hello AF, Opal

near bear
#

just go to random channels and answer someone

unreal flare
#

๐ŸงŒ

unreal flare
hoary olive
unreal flare
#

wdym with AF

near bear
hoary olive
#

no

#

AF

near bear
#

yh

unreal flare
#

u cant type the F word?

hoary olive
#

No

unreal flare
#

sadge

near bear
#

(A) = AS (F) = FUDGE

hoary olive
#

AF

#

Its a name

near bear
#

ohhhhhhhhhhhh

unreal flare
#

where

hoary olive
#

Hello AF => Hello As Fu?

near bear
#

makes sense

unreal flare
#

who is AF

near bear
#

cuz of the " , "

hoary olive
#

Yu == AF

near bear
unreal flare
#

ah ok

near bear
#

AF == as (naughty word)

vocal basin
hoary olive
#

this was the stupidest argument i have ever had

hoary olive
hoary olive
#

yo wassup cruiser

sharp urchin
near bear
#

@somber heath you bri'ish?

sharp urchin
#

i just confused you with speedro

near bear
#

bro how did you not get that

hoary olive
#

what are you talking about

near bear
#

nah bro if I was you would notice

vocal basin
hoary olive
near bear
#

LOL

vocal basin
#

we already have LP's uwu thing

near bear
near bear
hoary olive
#

i wasnt with you

vocal basin
hoary olive
#

on discord

near bear
#

@unreal flare U ain't playin it right?????

#

damn bro what were you doin

hoary olive
#

you said that

#

bruh

#

its often opal making sounds

vocal basin
hoary olive
#

bro what ticks

near bear
hoary olive
#

depressed people sounds

#

alot of it

near bear
#

Lad you gonna get in some shi- if you go around sending uwu dic pics

#

I'm 14 and I don't find them funny

#

oh

#

well opal just left

hoary olive
#

it wasnt bad

near bear
#

and now everything is quite

hoary olive
#

cruiser talk

#

big man

near bear
#

that dude is probs sleeping

#

in fact most of the people here are AFK

hoary olive
#

its 8 there

#

7*

#

big man

sharp urchin
near bear
#

fight

vocal basin
#

game too hard can't win

hoary olive
#

seems like skill issue

sharp urchin
#

its just tht i dont like lichess

near bear
#

fight fight fight fight

sharp urchin
#

ff

hoary olive
#

opal learking chat

sharp urchin
#

:}

hoary olive
#

i remember opal was talking about how weird it is not to be in vc and be in voice-chat or sumthing

sharp urchin
near bear
#

@unreal flare what r u talking about

sharp urchin
#

lemme flex real quick

hoary olive
#

what?

#

you thought you were 14

#

on a good day

sharp urchin
#

?eh

near bear
#

this is getting confusing

#

can someone start talking?

hoary olive
#

bossman come talk and i'll join

sharp urchin
sharp urchin
near bear
#

the chat

sharp urchin
#

vc?

hoary olive
#

i presume

sharp urchin
#

if sir AF opens mics

hoary olive
#

no talk in the streets and i'll join how about that

sharp urchin
#

and says :hi"

#

i talk

sharp urchin
#

you sure?

#

imma mountain boy

hoary olive
#

maybe

sharp urchin
#

imma eat you up

vocal basin
sharp urchin
#

:}

hoary olive
#

eat .... up

sharp urchin
#

lmao tht keyboard sound

near bear
vocal basin
near bear
#

wat

#

the

#

fu

sharp urchin
#

did you just say , "uwu"

#

get out

#

ewww

near bear
#

@hoary olive bro sounds 13

unreal flare
hoary olive
near bear
sharp urchin
#

i misheard prolly

hoary olive
#

i said hi?

sharp urchin
#

nvmm

sharp urchin
#

hi

near bear
#

nah bro

hoary olive
#

who tf hears uwu randomly

near bear
#

u said uwu

#

bro

#

u said uwu

sharp urchin
vocal basin
viscid lagoonBOT
#

who tf heaws u-uwu wandomwy

sharp urchin
#

be messing me up

sharp urchin
hoary olive
#

when tf did i say uwu

sharp urchin
#

your part of the gang

sharp urchin
near bear
sharp urchin
#

i am doing a 30 day no phone challenge thing

hoary olive
#

bro i never unmuted though

near bear
#

sup @pearl vigil

#

it is all quiet cuz opalmist left

#

one tip

#

don't spam

#

or ull get banned

pearl vigil
#

I was about to do that rn

#

50 message per second

#

DDOS the whole server lol

hoary olive
#

hows that related lol

near bear
#

cuz he can't speak

pearl vigil
#

I need to have 50 message sent on this server

hoary olive
#

also you have been on this server since 2021 and yet have never chatted

pearl vigil
#

in order to speak

near bear
vocal basin
pearl vigil
near bear
sharp urchin
#

๐Ÿ’€ .

hoary olive
#

๐Ÿ‘

pearl vigil
#

counting messages or searching up the source of message

near bear
#

searching for every message u posted

sharp urchin
pearl vigil
#

yeah

sharp urchin
#

and searching from: @pearl vigil

pearl vigil
#

exactly

hoary olive
#

ye

pearl vigil
#

that confused me

sharp urchin
#

ye

hoary olive
#

what are you on?

near bear
#

imma spice the chat a little bit

#

with some memes

pearl vigil
hoary olive
#

talk in vc then perhaps?

#

yo kiddo this aint a meme server

somber heath
#

This channel is not a meme dump.

pearl vigil
#

correct

sharp urchin
#

at least one meme is fine i guess

#

mods?

near bear
#

yh

#

exactly

sharp urchin
#

i mean i have seen ppl posting memes in here

hoary olive
#

yes but not when a dude named Cancer is killing a Make a Wish Kid (Based on the meme)

sharp urchin
#

let it be 1 or 2

near bear
#

brb

pearl vigil
#

mods are licking their lips like: I'm ban that guy rn

sharp urchin
#

memes for me are relative

hoary olive
#

fair enough

pearl vigil
sharp urchin
#

it can be offensive for some and not for others

pearl vigil
hoary olive
#

So as in you support that?

sharp urchin
#

to talk on

hoary olive
#

your saying theres no issue with it and not offensive

#

i presume you support it then

sharp urchin
#

just cuz some memes are memes for someone doesnt mean they support tht ideology

#

\lmao

sharp urchin
hoary olive
#

yes but memes arent supposed to be about kids dying

pearl vigil
#

lol

near bear
sharp urchin
pearl vigil
#

19 messages

vocal basin
pearl vigil
#

i need som more

#

BOYS]

near bear
#

i was gone

pearl vigil
#

Who likes ice cream

near bear
#

what did I miss

pearl vigil
near bear
#

wtf

hoary olive
#

no

sharp urchin
#

wait that video was deleted?

near bear
#

y would I get banned

sharp urchin
#

by mods? hmm

near bear
#

don'tworry

sharp urchin
hoary olive
#

didnt have the guts not to delete

near bear
pearl vigil
#

hang on are there any mods? I see admins

near bear
#

@pulsar island

pulsar island
#
    for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
       for name in files:
          print(os.path.join(root, name))
          f.write(name \n)
       for name in dirs:
          print(os.path.join(root, name))
          f.write(name \n)
near bear
#

what u need help with

vocal basin
near bear
pulsar island
#

I need a line break with the value output to file, otherwise its all clustered together

pearl vigil
#

I got seizures

vocal basin
near bear
vocal basin
pulsar island
#

WAIT! but 3.13 release will simply code itself with built in ChatGPT support.

near bear
#

im ded

#

brb

pearl vigil
#

You are in school and already working?

pearl vigil
#

Hello Sheldon!

sharp urchin
#

:}

pulsar island
#

YEEEEEEEEEEEEEE

#

Yu with the SAVE!

sharp urchin
#

lmao

vocal basin
#

or, better:

print(name, file=f)
pearl vigil
#

27 messages

#

jesus

#

chirst

vocal basin
pearl vigil
#

this rule

#

who made this

hoary olive
#

\r is also useful

#

for some compatibility

pearl vigil
#

Does anybody have any idea why,

#

Cisco is using Python

#

for programming their devices

#

?

#

I just bought a Cisco Small Business Switch and it has a bug in it

near bear
pulsar island
#

whoo!

near bear
#

I ditching class to be here

pulsar island
#
import re
import sys


#file = open(r"C:\Users\Logan\opt\cbase\_TRASH\filename_type.txt")
out = open('output.txt', 'w')

sys.stdout = out

with open(r"walk.txt",'w+', encoding='utf-8') as f:
    for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
       for name in files:
          print(os.path.join(root, name))
          f.write(name + '\n')
       for name in dirs:
          print(os.path.join(root, name))
          f.write(name + '\n')


with open(r"output.txt",'r', encoding='utf-8') as f:
    lines = f.readlines()
    for line in lines:
        print(line)
    for line in f:
        match = re.search(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})", line, flags=re.I|re.M)
#        values = str(print(match.group(0)))
        values = str(print(match))
        print(values)
#

@yu what do you think I can do to clean this up, as a whole?

#

@vocal basin **

pearl vigil
#

too lazy to read that

near bear
#

same

#

I have Art History now

hoary olive
#

(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})

#

wtf

near bear
#

and I am still ditching

pearl vigil
#

I'm gonna be next president of US

pulsar island
#

My goal is to create an os.walk, get all the directories and files, create a walk file for those, then use the walk file against the regex to identify files that match the statement, and put those into a seperate file. stdout goes to a seperate file

pearl vigil
#

and I'll kill yall

near bear
pulsar island
pearl vigil
#

what's that pfp

pulsar island
#

vile magics, of the highest order. We do not speak its name

pearl vigil
#

antenna on your head?

near bear
#

nah he is an alien

hoary olive
#

just use abstracts

near bear
#

oops

hoary olive
pearl vigil
#

Are you broadcasting Channel 4?

near bear
#

Im bleeding

#

shid

#

im bleeding

pearl vigil
#

where

near bear
#

hang on one sec

pearl vigil
#

patch yourself up

near bear
pearl vigil
#

haha lol

pulsar island
#

Yo if Alex dies, does that mean we can loot him? o.o

pearl vigil
#

ofc

near bear
pulsar island
#

I mean...cant let perfectly good gear go to waste. Next intern might need it...

pearl vigil
#

yee

pearl vigil
pulsar island
#

Its like Legend of Zelda, we'll simply break into every house in the world smashing all the objects in every house until we find your corpse. its cool.

#

think of it like rm -rf with a find search

near bear
#

dammit wheres my glock?

pearl vigil
#

Have you heard the news about bitlocker team?

#

they accidentally ransomwared poor sickkids hospital

near bear
#

๐Ÿ˜ ๐Ÿ”ช

#

didn't find a gun but I found this

pulsar island
#

They are going to catch, literally all of the hands

#

Hand of Sauron, Hand of the Law, Hand of Michael

pearl vigil
#

ayo where's my voice permission? I hit 51 Messages!

pulsar island
#

its pending formal review

near bear
pearl vigil
#

oh yeah again

pulsar island
#

unfortunately, that review is a recursive binary tree process, and that was written by carlos the chinchilla

near bear
#

with

!voiceverify

vocal basin
#

!d re.compile

wise cargoBOT
#

re.compile(pattern, flags=0)```
Compile a regular expression pattern into a [regular expression object](https://docs.python.org/3/library/re.html#re-objects), which can be used for matching using its [`match()`](https://docs.python.org/3/library/re.html#re.Pattern.match "re.Pattern.match"), [`search()`](https://docs.python.org/3/library/re.html#re.Pattern.search "re.Pattern.search") and other methods, described below.

The expressionโ€™s behaviour can be modified by specifying a *flags* value. Values can be any of the following variables, combined using bitwise OR (the `|` operator).

The sequence

```py
prog = re.compile(pattern)
result = prog.match(string)
```  is equivalent to...
near bear
#

lesgoooo

#

no

#

i aint doin that

#

i sound like 5 year old

vocal basin
near bear
#

I satyin muted

#

i aint doin shi until meh break

vocal basin
near bear
#

@pearl vigil im 14

vocal basin
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

near bear
#

and I am in the middle of school

#

yh

#

im ditchin my class for this

#

i have 50 min left until my lunch break

#

ditching == completley ignoring

#

exactly

#

its shit anyway

#

Art History

#

and actually my name is not Alexander

#

My name is Alex for short

#

but not Alexander

#

bye @unreal flare

#

ok

#

IM HALF BLACK

#

I am born from a ying yang

#

ye spain

#

Im from spain

#

no

#

born in spain

#

rn in uk

#

brb

sharp urchin
#

is there any website to get NER api key?

near bear
#

dad white from spain

sharp urchin
#

except nlp cloud

near bear
#

mom b;lack from brazil

sharp urchin
#

:{}

#

these talks

#

goin somwhere

near bear
#

BRB

#

GOT CAUGHT

vocal basin
sharp urchin
pulsar island
pulsar island
vocal basin
vocal basin
pulsar island
vocal basin
#

yes. something like that
pattern should also have a reasonable name
example: email_pattern if you're finding email addresses

pulsar island
vocal basin
#

!d pathlib.Path.read_text

wise cargoBOT
#

Path.read_text(encoding=None, errors=None)```
Return the decoded contents of the pointed-to file as a string:

```py
>>> p = Path('my_text_file')
>>> p.write_text('Text file contents')
18
>>> p.read_text()
'Text file contents'
```  The file is opened and then closed. The optional parameters have the same meaning as in [`open()`](https://docs.python.org/3/library/functions.html#open "open").

New in version 3.5.
pulsar island
# vocal basin !d pathlib.Path.read_text

ok so heres my new code:


import os
import re
import sys
from pathlib import Path


#file = open(r"C:\Users\Logan\opt\cbase\_TRASH\filename_type.txt")
#regname = open('regex-pattern-match.txt', 'w')
out = open('output.txt', 'w')

regex_pattern = re.compile(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})")
sys.stdout = out


with open(r"walk.txt",'w+', encoding='utf-8') as f:
    for root, dirs, files in os.walk("C:\WINDOWS\system32\config\.", topdown=False):
       for name in files:
          print(os.path.join(root, name))
          f.write(name + '\n')
       for name in dirs:
          print(os.path.join(root, name))
          f.write(name + '\n')


with open(r"walk.txt",'r', encoding='utf-8') as f:
    lines = f.readlines()
    for line in lines:
        print(line)
    for line in f:
        match = re.search(r"(?<=\\)([\(\)\,\+\&\.\'\"\w\d\s\_\-]+)(?=\.[\w]{3,4})(\.)([\w]{3,4})", line, flags=re.I|re.M)
#        values = str(print(match.group(0)))
        values = str(print(match))
#        print("######################### starting to print regex search matches ######################################################")
        print(values)
        p = Path('regex-pattern-match.txt')
        p.write_text(match)
#

my only thing is regex is coming back empty, when I use either regex_pattern, or the regex pattern itself in the value

rugged root
#

Alright what have you done

#

Can you add the py to get the code highlighting in the code block?

stuck furnace
pulsar island
#

you see...I found a way to summon demons through a daemon process called reachx

rugged root
#

Yeah

stuck furnace
rugged root
#

Thanks baaaaae

stuck furnace
#

They updated the colours recently, they're really nice now lol

rugged root
#

It's more muted

#

I like it

#

So why are we walking through a file of paths?

#

walk.txt

#

You can do this with pathlib

#

Double checking something before I accidentally tell you wrong

#

Well

#

Not on purpose

#

"I don't THINIK there're bears over there...."

#

So it has a glob

#

That's a good question

#

Checking

#

Ah yeah

#

3.4

stuck furnace
#

3.4+

rugged root
#

3.4 and up yeah

#

Might have been a Python 2 pip package

#

Not cleanly

#

And not with it being worth it

#

I mean there's still demand for it in some legacy code

#

But we can do the same thing with os

#

Will just be messier

#

So how many levels deep are we expecting these to be?

#

Like give an example correct filepath

#

Ah gotcha

#

I think glob is going to be your friend here

#

Pathname pattern matching

pulsar island
#

../../Tools//.gif)

vocal basin
#

\* to escape

rugged root
#

And this is in Python 2

#

Just to clarify

#

You're good

#

Just letting you know that it'll fit your legacy Python requirements

#

For your old version

#

It is a bit more restricted

#

Huh

#

Also didn't know this was a thing

pulsar island
#

*** other code here ***

with open (r"walk.txt", 'r', 'encodin=utf-8') as f:
  for line in f:
    glob.glob('.' + line + '/[a-z][0-9].log')
    do <something>
rugged root
#

Right right

#

Something to note, I think that is going to be going from what it considers the current working directory

#

So that may need some tweaking

vocal basin
rugged root
#

Count Globula

#

You're missing an opening '

rugged root
#

But it makes sense, it's just primitive token checking

stuck furnace
rugged root
#

Well specifically saying the markdown is primitive

#

Not in the Python 2 option

#

Python 2's glob.glob(pathname)

stuck furnace
rugged root
#

@whole bear Yo

#

So wait, Fallen

#

WHY would this be in a Py - nevermind

#

That explains the potential for legacy Python versions

#

Government

#

No no

#

As in why Python 2

#

But it makes more sense when it's government agencies

whole bear
rugged root
#

Slap him

#

Tell him "No. No Python 2"

#

Bad

vocal basin
whole bear
rugged root
#

The same thing can be said about COBOL and old Perl applications

#

There's grumpiness because they're sticks in the mud

vocal basin
rugged root
#

And they missed the time when it would have been easy to convert

vocal basin
rugged root
#

VB makes sense to allow XML literals

vocal basin
#

Scala got rid of it

rugged root
#

I always forget how old you are, Fallen

#

With the stories you tell you've got to be in your.... 40's? 50's?

stuck furnace
#

Woo 30s gang wigglewoo

rugged root
#

33 here

#

Preach it

#

Contract

vocal basin
rugged root
#

It was a contract wasn't it?

#

Polygraphs aren't good indicators of anything anyway

#

It's why they aren't admissible in court.

#

For sure

#

But it's why they aren't anymore

#

Only place you still see them is in arbitration

#

Eh

#

Is what it is

#

Be a whistleblower

#

Hell yeah

#

You're a good man, Charlie Brown

#

integrideez nutz

#

Two tilde on both sides

#

~

vocal basin
#

~~this~~

rugged root
#

That

stuck furnace
#

The above

rugged root
#

Two

#

Not one

pulsar island
#

this

#

OOO

#

SO KEWL

whole bear
#

test

rugged root
#

Wait

lucid blade
#

@rugged root can i have video streaming for 2min ?

pulsar island
#

YEA!

#

MR LIEAR

whole bear
#

~~test~~

rugged root
#

One sec

#

!stream 322504171636916226

wise cargoBOT
#

โœ… @lucid blade can now stream until <t:1676996775:f>.

lucid blade
#

thx

rugged root
#

Yarp

#

Fallen, I never even put you through the probationary period

#

!stream 420670527665995788 3w

wise cargoBOT
#

โœ… @pulsar island can now stream until <t:1678810931:f>.

pulsar island
#

[MD] <content> [/MD]

#
<content> 

whole bear
#
# this is markdown
rugged root
#

If we could do it with the tri wait what

#

Ohhhhh right

whole bear
#

this

rugged root
#

No

#

It'll just highlight the code

#

But it won't render it as md

pulsar island
#

# Title
## Tag
### Header

rugged root
#

Proper GitHub md I mean

vocal basin
#

for some reason it allows ANSI

colour
colour
colour
rugged root
#

Because that's what the md is

#

Huh

#

Never knew that was a thing

pulsar island
#

#-channel

vocal basin
whole bear
#

<script>
...
</script>

rugged root
#

Cheers, forgot about that

#

You misspelled color

#

Nope

#

'murica

vocal basin
rugged root
#

English is more Germanic though

#

Less linked to the Romance languages

#

If we want to go back further, it's based on fish language

#

Before we only had "blub"

#

Ah the blub old days...

#

Great apes have vocal calls and communications

#

Eh

#

That's effort

#

Part of why I stepped down from Admin

#

I just couldn't dedicate the time

#

?

vocal basin
rugged root
#

HA

#

I granted the probate period

pulsar island
#

@whole bear


config_path = r"C:\WINDOWS\system32\config"
for path in glob.glob('**/*.log', root_dir=config_path, recursive=True):
    ...

rugged root
#

Oh yeah

#

That was LX

#

But that'll only work for Python 3

#

No

#

No no

#

glob is in two

#

But the only argument is pathname

vocal basin
rugged root
vocal basin
#

oh

rugged root
#

Yeah, you're just more limited

#

Finds pathnames based on patterns

#

Don't throw logs at turtles

vocal basin
rugged root
#

@whole bear glob was in Unix back in the day

#

find might be based on it

#

Kind of like grep

#

Actually I wonder....

rugged root
#

Oh huh

whole bear
#

@rugged root why can't you speak. are you at work?

rugged root
#

Okay so glob is closer to regex than other things

vocal basin
#

glob is limited, iirc

rugged root
pulsar island
#

I see your pathlib.Path.glob and raise you a pathlib.Path.glob.glob.group

vocal basin
rugged root
#

Federal contractor

rugged root
#

Ohhhhhh

vocal basin
rugged root
#

Legit thought you meant ese

#

Like

#

Spanish slang for dude

#

Yeah

#

"Did you just call me a term paper?"

#

That's news to me

#

That's likely per state or school district

#

These feel like isolated cases specifically to cause a fuss

#

Yeah

vocal basin
rugged root
#

It's crazy

pulsar island
#

Its almost as old as LX

rugged root
#

Computers and all of this tech

#

They all grew within a single lifetime

#

It's bonkers

pulsar island
#

and it still runs faster than most things we have or build today XD

rugged root
#

The people who set these standards and laid the ground work are not only still alive but still working

vocal basin
rugged root
#

They were nerds

#

They weren't running anywhere

rugged root
#

I...

#

What

#

I keep thinking of JetBrains as a newer company

#

Like maybe within the last decade

#

@pulsar island Too liberal?

#

Or what's the beef with Maryland

#

Wait

#

They have that many toll roads?

#

That's clerical error, I don't think that can be blamed on the tolls

#

Fair

#

Yeah fair enough

vocal basin
rugged root
#

"Renamer"... hmm

vocal basin
rugged root
#

I can't find anything about renamer

#

I think I'm going to hop down to join the folks down there. You coming with?

vocal basin
hoary olive
#

Hello Maro, 8080, Anokhi, Shaken, Af, Hem

lucid blade
#

hey hey ๐Ÿ™‚

#

bbl later

formal ember
stuck furnace
#

Yo

#

Sorry I zoned out lol

#

Nahh, I was just reading something else sorry.

#

I've actually never worked professionally as a software developer.

#

@lavish rover kitty_wave

ancient lily
#

i need to sleep gn

stuck furnace
#

You've not really debugged until you've debugged a debugger.

vocal basin
#

@midnight agate have you seen Bryan Cantrill's talks on using dtrace for JS/Python/Rust?

silver sluice
lavish rover
willow light
#

I'd argue you haven't really debugged until you've put your fist through your monitor.

lavish rover
willow light
#

Anyone who has ever worked with Spring and MyBatis in Java 8 on enterprise development would develop anger issues.

rugged root
#

All of them should

#

No

#

They are different countries

#

And in fact speak different languages

rugged root
#

That's just how he sounds

#

Lots of energy

wide gorge
vocal basin
#

yes

wide gorge
#

and java still looks older

rugged root
#

Terrible for employees, though

stuck furnace
#

Fizzbuzz came about apparently because people would apply to programming jobs with literally no programming knowledge.

rugged root
#

LEAVE NO EVIDENCE

uncut meteor
#
a = []

for x in (1,2,3,4,5):
  a.append(lambda: print(x))


for v in a:
  v()

@stuck furnace what does this print?

vocal basin
#

there's a fun game called SHENZHEN I/O from the same author (Zachtronics)
basically, documentation reading simulator

rugged root
#

What's going on what?

vocal basin
# rugged root What's going on what?

The year is 1997. You used to be a hacker, but now you have the phage. You made a deal: one hack, one dose. Thereโ€™s nothing left to loseโ€ฆ except your life.EXAPUNKS is the latest open-ended puzzle game from Zachtronics, the creators of Opus Magnum, SHENZHEN I/O, TIS-100, and more.READ ZINES - Learn to hack from TRASH WORLD NEWS, the underground c...

Price

$19.99

Recommendations

1084

โ–ถ Play video
rugged root
#

No

#

@lilac quarry

#

God damn it, sorry wrong person

#

I know, I know

#

Screenshot is fine

frail aurora
rugged root
#

Yeah no

frail aurora
#

huh

#

you said a ss was fine

rugged root
#

No no

#

It is

proud gull
#

Has anyone heard of Jasper?

stuck furnace
#

Have you played TIS100 @frail aurora?

frail aurora
#

oh

rugged root
#

I'm reaffirming the no to streaming

frail aurora
#

no i havent

vocal basin
rugged root
#

Zach is great

frail aurora
#

let me complete this game first lol

#

i could record it and send it in here

vocal basin
rugged root
#

Not at all

#

Well done

stuck furnace
rugged root
#

Proud of you Griff

#

@gentle flint Hellos

#

I'd be surprised if there wasn't one for Zachtronics

proud gull
#

What do you guys think of the new glass syle? It is seen everywhere at windows 11, Apple has been using it for some time, discord has a bit of it and now it is more often used for websites too.

gentle flint
#

@rugged root I joined when you were unmuted and you immediately mute

#

what is this fuckery

vocal basin
rugged root
#

I wasn't unmuted

gentle flint
#

maybe mobile client lag

uncut meteor
# uncut meteor what about

@stuck furnace

a = []

for x in (1,2,3,4,5):
  def f(y: int):
    return lambda: print(y)
  a.append(f(x))

for v in a:
  v()
rugged root
#

Yeppers

#

Back in a bit, getting deliveries ready to go

vocal basin
#

oh, Levenshtein's name has "shtein" not "stein" because he's Russian

vocal basin
stuck furnace
vocal basin
#

in python closures and nonlocal are linked

thin drift
#

Hi @vocal basin

stuck furnace
#

!eval ```py
def f(x):
return lambda: x
g = f(123)
g.closure[0].cell_contents = 456
print(g())

wise cargoBOT
#

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

456
stuck furnace
#

TIL about __closure__.

vocal basin
wicked kayak
#

hello guys

#

im new in python

#

i want to do my first discord bot

#

for what i can start

#

from

vocal basin
#

it even includes the info on what to do if something fails

stuck furnace
#

Do they actually say that? lol

#

And it's totally not true either.

#

Anything you start off saying ironically, you will eventually end up saying sincerely.

#

(Not entirely serious)

#

@tepid edge Are you still working on programming problems?

#

What subjects are they learning about?

tepid edge
stuck furnace
#

@tepid edge Get them to implement Scrabble

#

It's just the right level of complexity to get them thinking about code design.

#

Ah right.

#

You could maybe use it as a running theme?

#

Ie smaller problems relating to it.

#

Or "here's an incomplete implementation, fill in these functions".

#

Oh no that was me lol

#

I deleted the embed.

#

brb

tepid edge
stuck furnace
#

Leetcode hard problems can genuinely be quite tricky.

#

Oh this one has a nice solution.

#

But it's totally like "you see it or you don't"

#

The one Maro is doing currently (climbing stairs).

vocal basin
#

this isn't much related to DP, if I remember what boundaries of DP are

#

because O(1) space

#

!d functools.cache

wise cargoBOT
#

@functools.cache(user_function)```
Simple lightweight unbounded function cache. Sometimes called [โ€œmemoizeโ€](https://en.wikipedia.org/wiki/Memoization).

Returns the same as `lru_cache(maxsize=None)`, creating a thin wrapper around a dictionary lookup for the function arguments. Because it never needs to evict old values, this is smaller and faster than [`lru_cache()`](https://docs.python.org/3/library/functools.html#functools.lru_cache "functools.lru_cache") with a size limit.

For example...
stuck furnace
#

Maybe you could also work on Advent of Code problems with them and compare/discuss solutions?

#

Pretty!

#

Yeah. Also it encourages writing your part 1 solution to each day so that you can easily adapt it to part 2.

#

Oh right yeah ๐Ÿ˜„

#

Hmm ๐Ÿค”

#

I think I did once come across something like that.

vocal basin
#

inaccurate fib(n) in roughly O(1): ||round((((1+5**.5)/2)**n-((1-5**.5)/2)**n)/5**.5)||

stuck furnace
#

How about getting them to review each others' solutions?

#

ยฏ_(ใƒ„)_/ยฏ

#

I enjoy teaching people if they're intelligent and motivated to learn.

#

I would send you all of my old code, but I think I've deleted it all lol

#

Lots of good examples of crappy code there.

austere onyx
#

I started doing CS50 not long ago!!!

#

it's really great and im doing it at an insane pace

stuck furnace
austere onyx
#

i also use chatGPT to learn what could be done better after i submit the codes

stuck furnace
#

We do have a code-review tag!

#

Yeah that's true, it has a high potential to mislead.

#

We've actually had to ban people from posting ChatGPT answers here.

austere onyx
#

how can you even detect that? out of curiousity

stuck furnace
#

Yeah I think so

stuck furnace
austere onyx
#

just like how chess anitcheat works?

stuck furnace
#

When all of someone's messages are one-word answers with bad grammar, then suddenly they're writing multi-paragraph essays (in about 20 seconds)

#

ยฏ_(ใƒ„)_/ยฏ

austere onyx
#
aaaa
print("hi")``
#

how do you do the fancy python thingy in discord?

stuck furnace
#

We have a lot of mods so the workload is pretty spread out.

#

!code

wise cargoBOT
#

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.

tepid edge
#

```py
[code]
```

austere onyx
#
print('hi')
#

ohh

#

i started doing Python For Everybody (didn't complete it yet) and then went for CS50, and the drastic change from Python to C, i didn't know about datatypes and i worte strings in single columns (') which in c is a char and i sat down for an hour not knowing wha'ts wrong with the code and later found out that it means char ._.

stuck furnace
#

Back in a bit ๐Ÿ‘‹

tepid edge
pulsar island
#

be back later. interview went longer than expected.

stuck furnace
#

Oh ๐Ÿค” Could you post the code?

#

You're might be calling a method from a class rather than an instance of the class. This is the most common source of that error message.

#

@ionic lake ๐Ÿ‘‹

stuck furnace
#

Can you use ``` instead of `

strong arch
#

!code

wise cargoBOT
#

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.

stuck furnace
#

It will put it in a code block ```
like this

ionic lake
#
0it [00:02, ?it/s]
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Users\phill\miniconda3\envs\so_svc2\lib\multiprocessing\pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "A:\so-vits-svc-eff\resample.py", line 17, in process
    wav, sr = librosa.load(wav_path, None)
TypeError: load() takes 1 positional argument but 2 were given
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "resample.py", line 47, in <module>
    for _ in tqdm(pool.imap_unordered(process, [(spk_dir, i, args) for i in os.listdir(spk_dir) if i.endswith("wav")])):
  File "C:\Users\phill\miniconda3\envs\so_svc2\lib\site-packages\tqdm\std.py", line 1195, in __iter__
    for obj in iterable:
  File "C:\Users\phill\miniconda3\envs\so_svc2\lib\multiprocessing\pool.py", line 748, in next
    raise value
TypeError: load() takes 1 positional argument but 2 were given```
stuck furnace
#

Do you have a link to the docs for this function?

gentle flint
ionic lake
stuck furnace
#

Which version of librosa do you have?

wise cargoBOT
#

requirements.txt line 5

librosa==0.9.1```
stuck furnace
#

@ionic lake Did you install it with pip?

#

If so, pip list will show you the installed version.

strong arch
#

conda install librosa=0.9.1 @ionic lake

stuck furnace
#

Did they say they're using conda? pithink

#

Oh right!

strong arch
#

pip install librosa==0.9.1

stuck furnace
#

Probably that's what their instructor told them to use.

#

Guys...

#

One at a time please and be nice rooCop

#

(mostly directed at verboof lol)

#

!paste

wise cargoBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

ionic lake
gentle flint
stuck furnace
#

It's warning about the impending deprecation.

thin drift
#

Hey @gentle flint

gentle flint
#

Hey @thin drift

thin drift
#

Does pycharm have auto save

#

Of file

stuck furnace
#

I think the warning should only appear once? pithink

gentle flint
#

PyCharm automatically saves changes that you make in your files.

thin drift
#

Thank you

gentle flint
#

You're welcome.

unreal escarp
#

how can i speak

stuck furnace
#

๐Ÿ‘‹ Geno

unreal escarp
#

can someone allow me to speak

stuck furnace
#

You need 50 messages in the server before you can verify, but please don't spam!

#

You can reach 50 messages fairly quickly by participating in the text channels.

ionic lake
#
(so_svc2) A:\so-vits-svc-eff>python train.py -c configs/config.json -m 32k
Traceback (most recent call last):
  File "train.py", line 284, in <module>
    main()
  File "train.py", line 42, in main
    assert torch.cuda.is_available(), "CPU training is not allowed."
AssertionError: CPU training is not allowed.

(so_svc2) A:\so-vits-svc-eff>
tepid edge
stuck furnace
#

Oh that's the same SO question sorry

#

@ionic lake can you turn on push to talk please.

#

Eating sounds

tepid edge
#
>>> import torch
>>> torch.zeros(1).cuda()
wise cargoBOT
ionic lake
stuck furnace
#

No worries @tepid edge salute

#

@lavish rover What have you been up to? ๐Ÿ‘€

#

Ah

#

I'm going to head off cya ๐Ÿ‘‹

tacit badge
#

@hasty yarrow

#

You there?

tulip plover
#

from sklearn.preprocessing

somber heath
#

@silk turret ๐Ÿ‘‹

silk turret
#

hi!

#

apparently i do not have permission to speak

wise cargoBOT
#

Voice verification

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

silk turret
somber heath
#

@thin bone ๐Ÿ‘‹

thin bone
#

hey i cant unmute myself LMAO

wise cargoBOT
#

Voice verification

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

thin bone
#

okay helllo?

#

i mean for just collabritive help should i wait 3 days for that

vocal basin
thin bone
#

totally get that, just asking if i can ask you for help

#

i feel rude

#

i didnt know if you were just a visitor or a helping person yanno

#

okay

vocal basin
#

what's the question/problem?

thin bone
#

well is this an appropriate time? for you at least

#

okay well i am making my first discord bot and having difficutly with the connection between

vocal basin
#

any explicit errors? (traceback?)

thin bone
#

heard i just found it

#

sorry i didnt really look through the channel thats my bad

vocal basin
thin bone
#

this is my first time on a huge server i didnt get that its not as personal LMAO i will go there

#

okay yeah im looking at that and its very helpful

vocal basin
thin bone
#

heard yu thank you

#

ill be back LMAO

vocal basin
#

without ORM?

#

or Common SQL?

#

or what's it called?

#

I forgot the name

#

there is a dialect

blazing beacon
#

common sql

#

normal sql

vocal basin
#

there is a name

blazing beacon
#

are you talking about t-sql and p-sql?

vocal basin
#

my pycharm pro expired so I can't quickly find the name

#

same thing

#

same IDE mostly

vocal basin
blazing beacon
#

select * from MYTABLE;

vocal basin
#

do you consider recursive queries a part of "normal" SQL?

#

so you're talking about at least SQL3

#

before 1999, "normal" SQL didn't have recursive queries

hoary olive
#

Hello Opal, Waren, AF

vocal basin
#

for any number of dialects there's a different common subset which, I guess, can be called "normal"

#

even SQL Standard itself isn't widely implemented

hoary olive
#

SQL has a standard?

vocal basin
pallid socket
#

(For more, visit https://pythontutorials.eu !) In this video, I explain the super() function for object-oriented programming (OOP) in Python. There is a lot of myth-building about what this function does, but it's surprisingly simple! In a nutshell, super() make complex multiple inheritance easier, but in most scenarios is identical to explicitl...

โ–ถ Play video
hoary olive
#

Spring boot is awesome

#

Yes its opensource

blazing beacon
#

i'm also using spring boot

hoary olive
#

The whole spring project is completely opensource

#

including their dependencies

#

Yes java is very hard

vocal basin
blazing beacon
#

dude, it took me so long to get my head around IOC

hoary olive
#

You know it has your basic syntax and its easy, but if you actually want to build something that can grow its very difficult

vocal basin
vocal basin
hoary olive
#

most people even dont know what Arrays, Stacks, Heaps, Queues are by def, so they endup using them in the wrong way

vocal basin
hoary olive
vocal basin
#

DI requires additional tooling and configuration

hoary olive
#

Records are arguably the best new java feature

vocal basin
hoary olive
#

Not sure what records are in C

#

but they are for POJO's in Java

vocal basin
vocal basin
#

roughly, struct=row=record

vocal basin
hoary olive
#

A record in java , is for POJo's and DTO's. so it adds Getters, Setters, EqualsTo, ToString, Hashcode methods by default

#

so it removes a lot of boilerplate

vocal basin
hoary olive
#

lombok has
@Data
but still Records are better

vocal basin
vocal basin
#

C# had a very weird way of using tuples before some version

vocal basin
hoary olive
#

TLDR; DTO ( Design Transfer Object ) is a design pattern. from EPA. Its this implementation of POJOS. They reduce the number of method calls bnasically. So it reduces roundtrips to a server by batching parameters in a single call ( From Fowler the person who introduced DTO's)

#

They don't have any pure business logic and they only have operations related to storage

#

Parsing, Serialization , Etc...

vocal basin
hoary olive
#

think about DTO's as likee a data structure

#

so like

@Data
@NoArgsConstructor
public class SomeDTOClass {
    private String email;
}
#

And when you call the api, a DTO will get the data and sends it to your backend in just one request, so then faster speed and more effecient

vocal basin
hoary olive
#
@Controller
@RestController
@RequestMapping("/DTO")
public class Controller {
@PostMapping
public String create(@RequestBody @Valid SomeDTOClass someDTOClass){
RandomImplementation.save(someDTOClass)
}
}
#

(discord isnt a code editor lol) so a lot of syntax issues

#
{
"email": "PhantomRex@phantom.com"
}
vocal basin
hoary olive
#

Now this is a RequestsBody not params

#

So when you wanna do like PostRequests you would use a DTO

#

and maybe you have username, email, password, mobileNumber, sessionId, cookieId, etc...

vocal basin
#

within the ``` context

#

(adds two spaces)

hoary olive
#

isnt 4 standard?

vocal basin
#

for JS it's quite usual to see 2 spaces, for example

#

4 spaces is standard for python

hoary olive
#

Prettier does 4 by default for Javascript atleast

vocal basin
hoary olive
#

huh

vocal basin
#

at least it always did that for me and I never touched its configuration

#

even when VS Code itself has the number set to 4, prettier goes with 2

#

I changed to 4 and pressed reset
it changed back to 2

blazing beacon
vocal basin
icy sinew
#

hii vc 0 chat members

hoary olive
#

how does it jump from length 1 to 3

hoary olive
vocal basin
#

length 3

#

and three values

hoary olive
#

0=>1
1=>2
2 should be 3

vocal basin
#

3 => error

hoary olive
#

but indx[2] is indx[3] for some reason?

hoary olive
vocal basin
#

what is count, the variable/field?

hoary olive
vocal basin
#

it seems to go 0, 1, 3

vocal basin
hoary olive
vocal basin
#

if you call count() twice, you will get twice the intended value

#

I'd suggest not using a count field in the first place

vocal basin
hoary olive
#

im an idiot

#

not sure why i was counting it in the first place

#

Hello opal

vocal basin
# hoary olive

to comply with how count() works right now, there'd have to be a check for zero, I guess

#

Java seemingly

#

C has no public

#

C++ has it, but differently

#

iirc, with the

public:
  ...
#

or something

hoary olive
#

thats for classes?

vocal basin
#

and structures

#

the C++ structs, not the C structs

hoary olive
#

C++ is nice, never actually got to being good at it though