#voice-chat-text-0

1 messages · Page 165 of 1

copper ledge
#

nop

#

nop

#

nihilistic most of the times

#

yesp

whole bear
#

everyone's so quiet in vc lmao

copper ledge
#

im here just for

rugged root
#

Here I thought we dropped this

copper ledge
#

it just feels gud listening

whole bear
#

what drama

copper ledge
#

helo

whole bear
#

lol what's happening here

copper ledge
#

lol

whole bear
#

lol

#

damn 2011

#

I'd be 4yrs old

#

at that time

copper ledge
#

i'd be

#

i'd

#

6

cosmic bison
#

same

copper ledge
#

spidertyler

cosmic bison
#

hi

copper ledge
#

zamn bro

cosmic bison
#

there are plenty of people who have been programming longer than that

copper ledge
#

looking at everything im witnessing in your stream, its very intimidating

whole bear
#

some people have been programming for 20yrs

#

lol

copper ledge
#

meanwhile i haven't even lived that long yet

cosmic bison
viscid lagoonBOT
whole bear
cosmic bison
viscid lagoonBOT
copper ledge
whole bear
copper ledge
#

im suck english too

#

the vocab

#

yes the vocab

#

shit

#

im pretty ok with grammar but

#

vocab

#

that scares me

#

have some

#

bollywood

cosmic bison
upper arch
#

Whats going on?

copper ledge
#

lmao

strange heart
#

Hi

upper arch
#

lol

strange heart
#

What is your project @cosmic bison

copper ledge
#

i have a black hairlike line in my minitor

upper arch
#

bonk

copper ledge
#

its ink

cosmic bison
upper arch
strange heart
#

Oh okay good project gg

copper ledge
#

how do u get rid of pen ink thats on minitor

upper arch
#

...

cosmic bison
copper ledge
#

so my best guess, thats pen ink

upper arch
#

smh

copper ledge
#

i rubbed it with water and fiber cloth

#

its stil there

#

🥲

#

its not super black

strange heart
#

I don’t know .bcl
, what is it ?

cosmic bison
strange heart
#

Ohh okay, it’s very good gg !

cosmic bison
celest scaffold
#

@midnight agate what's wrong with you? why don\

#

why dont u speak?\

#

u used to stream, right?\

toxic arch
#

sex

nocturne mist
#

hi!

whole bear
#

eyy

#
[ someFunc(comment) for blog in blogs for comment in blog.comments ]
``` I'd write it like this
#

sorry if I'm not being too talkative @rapid flame my mom is bothering

thin breach
whole bear
#

ik the vim shortcuts

#
:i: insert mode
Esc: Command mode
:w: Save changes
:q: Quit Vim
:q!: Quit Vim without saving changes
:wq: Save changes and quit Vim
dd: Delete line
yy: Copy line
p: Paste copied line
/word: Search for word in file
n: Move to next search result
``` @rapid flame
#

here's the vim shortcuts

#

ik

whole bear
thin breach
wise cargoBOT
#

@lunar haven :warning: Your 3.11 eval job has completed with return code 0.

[No output]
#

@lunar haven :white_check_mark: Your 3.11 eval job has completed with return code 0.

[100, 95, 90, 85, 80, 75, 70, 65, 60, 55, 50, 45, 40, 35, 30, 25, 20, 15, 10, 5, 0]
whole bear
#

hey

#

beep bop

upper arch
#

oh no, a bot

lavish rover
#

01100010 01100101 01100101 01110000 00100000 01100010 01101111 01101111 01110000

forest egret
#

@patent yacht

whole bear
#
for y in range(10):
    print(y)
#

ohh

#
while True:

    if len(input_arg) > 0:
        print(f"\n\n\n-------\n{input_arg}\n------\n\n\n\n\n")

        if input_arg == "help":
            client_output = help_msg
            input_arg = ""

    if not connected_to_client:
        # more code and shit here
``` for the first code u sent
#

ig

#

rn I'm focused on this terraform thing

#

bouta make me rage

#

ye lol

#

sorry

forest egret
#

Diamante?

#

sup

#

ohh no wonder, i know diamante from onepiece

#

why you keep changing your name gofek?

#

ah nice

#

will be back

#

gonna watch youtube

fossil anvil
#
print('press Enter to begin.Afterward, press ENTER to "click" the stopwatch. Press Ctrl-C to quit.')
input()
print('Started.')
startTime = time.time()
LastTime = startTime
LapNum = 1

try:
    while True:
        input()
        laptime = round(time.time() - LastTime, 1)
        totaltime = round(time.time() - startTime, 1)
        print(f'Lap {LapNum}: totaltime:{totaltime}s laptime:{laptime}s', end='')
        LapNum += 1
        LastTime = time.time()

except KeyboardInterrupt:
    print('\ndone')``````
#

can someone explain this code to me

#

i saw it in a book but i don't fully understand it

fossil anvil
#

ok so

fossil anvil
#

won't time.time be smaller than last time

#

so if you subtract it, aren't you suppose to get a negative number

gentle flint
#

nope

#

it keeps becoming bigger and bigger

#

it's a single number and every millisecond, 1 is added to it

fossil anvil
#

to the time.time()

gentle flint
#

!e
import time
print(time.time())

wise cargoBOT
#

@gentle flint :white_check_mark: Your 3.11 eval job has completed with return code 0.

1689230795.637562
gentle flint
#

yes

#

now if i run it again

#

!e
import time
print(time.time())

wise cargoBOT
#

@gentle flint :white_check_mark: Your 3.11 eval job has completed with return code 0.

1689230810.0352786
gentle flint
#

the number is bigger

#

see?

fossil anvil
#

so the number that is stored in last time does it get smaller or it just stays the same

gentle flint
#

it stays the same

#

until you overwrite it

fossil anvil
#

lastime = time.time()

gentle flint
#

exactly

fossil anvil
#

so you reset something by using the time.time() method

gentle flint
#

you overwrite something by assigning a new value to it

#

in this case, the value returned by the time.time() function

fossil anvil
gentle flint
#

you get it in many places

#

and of course it is slightly different each time

fossil anvil
#

the time.time() is what's confusing me

#

so time.time() increasing no matter how many times you call it it won't go back

#

but you can store the current value of a time inside a variable

somber heath
#

It's usually, mostly true.

fossil anvil
#

that's why i am asking him this many questions

gentle flint
#

unless you overwrite the variable with your new call

#

this is very basic python

#

I suggest you follow a python course for beginners

#

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

gentle flint
#

there are several listed here

#

also free ones

whole bear
#

hi

turbid sandal
#

@proven ice

proven ice
#

sure thanks

#

Hi @turbid sandal @wheat leaf

wheat leaf
#

Hi

turbid sandal
#
func add = args(x,y) retrun add int x int y
lamb run add args(1,4)
lamb disp int add / result  
wintry pier
#

@turbid sandal

#

hh nothing for now

proven ice
#

i don't have access to unmute? 😫

echo garden
#

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

turbid sandal
#

!voice

#

later

ashen plinth
#

Hi Opalmist! I hope your day is better tomorrow 🙂

#

I know little about the concept that python stores references of values as elements of a data structure, than tha values being stored directly

#

Could you please expand a bit on this topic if possible

vocal basin
#

!e

from sys import getrefcount

class C:
    def __init__(self, value):
        self.value = value
        print(getrefcount(value))

v = "example value"
a = C(v)
b = C(v)
c = C(v)
wise cargoBOT
#

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

001 | 8
002 | 9
003 | 10
vocal basin
#

> also called duck tape, from the cotton duck cloth it was originally made of

ashen plinth
vocal basin
#

seems like it took 66 years for "duct tape" to appear after "duck tape"

#

!e

from sys import getrefcount
print(getrefcount("example value"))
wise cargoBOT
#

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

3
vocal basin
#

the difference of 5 (8 - 3) is partially accounted by, I think:
one from assignment
one as an argument to the method
one an as argument to the function
one stored as a field

#

iirc, __init__ gets properly called as a method, so arguments get referenced twice

#

(unlike __enter__/__exit__, for example)

rugged root
#

@minor zinc What's your question about PySpark? I personally don't know a lot about it

vocal basin
wise cargoBOT
#

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

[No output]
vocal basin
#

eh

#

well, that was wrong then

minor zinc
#

Do you know how to implement pct change with forward fill in pyspark?? @rugged root

rugged root
#

Sorry!

#

!stream 1053732836693258391

wise cargoBOT
#

✅ @turbid sandal can now stream until <t:1689259202:f>.

robust bone
#

hey @rugged root

rugged root
#

!stream 1053732836693258391

wise cargoBOT
#

✅ @turbid sandal can now stream until <t:1689259638:f>.

vocal basin
#

very efficient use of mouse buttons

rugged root
#

!stream 1053732836693258391 30M

wise cargoBOT
#

✅ @turbid sandal can now stream until <t:1689261563:f>.

rugged root
#

But honestly, looking at workstation grade laptops from the big names might be your best bet

#

OR

#

Potentially getting a strong as hell desktop, setting up some sort of vpn/remote desktop solution, then using a cheaper laptop to just remote and do the heavy lifting there

frozen owl
#

testing on mac rn, but at the end of the day ubuntu linux wsl

royal hamlet
#

Hey guys still working up to my 50 messages but I am invested in the convo

#

you thought of a M1 Mac?

frozen owl
#

after i send the cmd, i need to press enter to continue but as you can see i am still on the same process (not ended yet)

royal hamlet
#

Ah i see

frozen owl
royal hamlet
#

I think in the long term the ARM based silicon will become better optimised for CAD but rn ur right

frozen owl
#

after i press enter manually but i want to enter via cmd

royal hamlet
#

Razer Blade?

frozen owl
#

idk what you mean but i have my code

#
import subprocess, random, os, socket

pid = os.getpid()

def rp():
    finished = False
    while finished == False:
        try:
            s = socket.socket()
            random_port = random.randint(1025, 65535)
            s.bind(("localhost", random_port))
            print(random_port)
            finished = True
        except OSError:
            pass
                # Port is available
        return random_port


def execute():
    random_port = rp()

    output_file = "output.txt"  # specify the name of the output file
    
    with open(output_file, "w") as f:
        subprocess.call(
            ["tty-share", "-listen", "127.0.0.1:" + str(random_port), "--public"],
            stdout=f,
        )

execute()
royal hamlet
#

Razer Blade -> It's like the highest end laptop consumer side

#

what would you say is the highest end then?

#

Have you thought about APU based laptops still would have the graphics power to do your cad with the ability to not use those cores in order to conserve battery I believe

#

that's not a bad idea I mean if battery life is a huge concern I might even think about getting an external laptop battery. Must USB-C charging laptops could do this

#

I think Anker might sell some that have decent wattage

#

Razer actually did modular computers in the early 2010s aswell which was really cool

#

Razer blades are like gaming laptops in blacked out macbook chasis

rugged root
#

The laptop that came up first for "best laptops for cad"?

#

Mac

elder oar
#

whats the proplem here?

somber heath
#

Your symbols string is in a list. The list thus has one element. Is this intended?

frozen owl
somber heath
#

Also, given it is a raw string, you don't need escapes

#

You have three \ where one would do.

frozen owl
#

@midnight agate i somehow figured it out

#

good news and bad news

#

the good news is that i think it somehow works?

#

the bad news is that the app isn't happy afterwards

#

my pipe file

#

yeah i didn't screenshot it and i forgot exactly what you typed :/

#

really sorry man

#

and this in the named_pipe file right?

#

i thought i have to like add a subprocess to INTERJECT right

#

i thought you mentioned it

#

alright

#

still :/

copper ledge
#

same

cosmic bison
rugged root
#

Dawwwwwwwww

#

Big ol' loving brown eyes

gentle flint
amber tree
willow gate
#

@somber heath hi

#

did you have a good tutorials for python web srcaping

gentle flint
cosmic bison
#

Who was the person trying to make a homelab?

next nest
gentle flint
whole bear
#

I don't trust this link

royal hamlet
#

it doesn't look safe 😐

lucid blade
#

pree forn

whole bear
#

você fala português @quartz narwhal

lucid blade
#

@raw carbon ^

copper ledge
upper arch
#

good, you?

#

nice

upper arch
copper ledge
#

lmao

#

im asian

#

i wanna talk but mom's gonna wake up

#

oh shit no

#

zhaxxy do you use gpt

#

like for coding

#

gpt for coding is for 8legged people

desert wolf
#

It's not one's own work.

copper ledge
#

just makingsure i won't offend you with my opinion :))

#

clyde

#

@molten peak

whole bear
#

"Pneumonoultramicroscopicsilicovolcanoconiosis" can you please give me the definition for this

desert wolf
whole bear
#

hi

#

lol

turbid sandal
#

I honestly didn’t think this would come back considering how long it’s been blocked but you can watch the new version here: https://youtu.be/ID79csvcO0U

Spotify profile: https://open.spotify.com/user/31omd6jobwv7iuq24hs6ntgqyiqq?si=ShIPiSYARMqHc6IWIcYPEw
Thumbnail: https://youtube.com/@TheRollingStones

#songs #evolution #music #century #bestm...

▶ Play video
west epoch
#

@lunar haven For your ASCII encoding related vs code, would it be possible to please share it via VS live code share, just for me to refer the code

craggy mango
#

why am i muted

desert wolf
whole bear
#

Excuse me, does anyone have the dB twitter?

west epoch
#

Yeah, as I am a beginner actually and feel encode/decode to be one if the difficult topics

#

Thank you. I will refer to this

#

From where did you find this problem, was it some mit course you were reading a few days back?

lucid blade
west epoch
#

Thank you for sharing the link!!

lavish rover
#

I think people just tend to be much worse online than IRL because there's no real consequences

#

My point was more that moderation tends to seem "worse" online than IRL because you don't really see all the shit that the mods do

#

Perhaps I'm biased because I know many of the mods and also I've seen some of the shit people say here that gets removed/banned

#

I generally think "people need to stop being sensitive" is not a great take, I see a lot of people just lacking awareness of how they're making others uncomfortable

#

This is a programming server. Nobody should have to deal with anything that makes them feel unwelcome / made fun of / etc

#

Wasn't talking specifically about anyone, I don't know the details here

#

I just mean as a general statement about people on the internet

vocal basin
#

> everyone is more sensitive online then they are in real life
what the fuck even is that statement

lavish rover
#

Yeah I'm not buying that

#

I don't think that's true

#

Nope

vocal basin
#

this is obviously wrong when applied to, quote, "everyone"

#

you are not everyone.

lavish rover
#

How do you know that?

#

do you have any statistics?

vocal basin
#

"everyone" and "majority" aren't even remotely synonyms

lavish rover
#

Maybe people who don't agree with you just avoid you IRL more

vocal basin
#

your past experiences

lavish rover
#

You tend to hang out with people in real life you get along with

#

That's a very biased sample

#

This is a shared space online, if you say something iffy here you're more likely to get called out because we don't simply want to leave and go somewhere else

#

(not you specifically, rhetorical 'you')

gritty garnet
#

a warning is just us reminding you to keep in line with the rules of the server, they aren't super severe, nor the end of the world.

lavish rover
#

The person affected

#

Depends on what the issue is / how many people are agreeing that they don't like it. It's a shared space

#

If one person is uncomfortable by something then sure maybe it's up for debate

#

Wasn't it a warning anyway? Gofek is still in here

#

I believe he'd been warned before

#

And he just emoji reacted to those warnings

#

I also know a bunch of people who've expressed to me that they don't like it

#

Also personally not a huge fan

#

Of having emojis to literally every message

gritty garnet
#

we do deliberate on these things fairly extensively internally - if you have a problem with how we've conducted some moderation, you're always free to open a report with @rapid crown. But, we aren't going to be sharing the nature of any one infraction to the public.

lavish rover
#

Not literally every message?

lavish rover
toxic arch
#

guys i think the moderation team is doing a great job!

gritty garnet
#

I feel triumphant

#

nah, it's triumph

#

:triumph:

lavish rover
#

The emoji is :triumph:

#

Normal words please, I only half understood what you mean

toxic arch
#

nah

gritty garnet
#

you're allowed to feel disgruntled about moderation decisions, and can raise issues with <@&714562188236423278>.

lavish rover
#

Nah, my brain just prefers simple words, it's a personal thing

#

He doesn't use translate

rugged root
#

Congrats

#

Happy birthday

lavish rover
#

Happy birthday! Go have some tiramisu or something (if you enjoy it)

gritty garnet
#

happy birthday!

wind raptor
#

Happy birthday!

upper arch
#

Aw 😄

frozen owl
#

Happy birthday! :D

whole bear
#

happy birthday

#

anyone wanna call

worldly roost
#

wow this cat has such a gorgeous eye

stoic chasm
#

left or right

#

:P

worldly roost
#

both

#

huh

#

ye im dumb

stoic chasm
#

:P

#

ITS ALRIGHT MAN

#

sorry caps

#

didnt mean to cap

#

they really are pretty eyes

#

murder eyes

#

mine makes those before attacking

whole bear
#

uwu

#

owo

#

{}w{}

#

[]U[]

#

uwu

#

owo

gentle flint
#

omigosh so beautiful

stoic chasm
#

bro chill

#

its literally not a big deal

#

you posted a giant wall of text

#

and it seems to be farily... ill understood

#

who were you even vc-ing when you posted it

#

like it seems to be written such that vicim mentallity

#

i dont see what you mean

#

its literally not worth the time

#

you think you are the victim of whomever called you whatever

#

in all reality nobody forced you to read whatever

#

no like its not worth it to be complain it

#

which is only going to make it worse

#

because it wont fix it

#

it's a form of escelation

#

and i dont see why it is an issue reading it

#

i did and it doesn't seem like a legitimate problem to be had

#

like it seems to be a clinging on to an issue that is over

#

well...

#

do you have this person continuing to do whatever they did

#

the person who was saying things about you in public

#

do they still say them

#

then the issue is fixed

#

no need to worry

#

hmm okay

#

i mostly agree now

#

aight sorry to bother then

whole bear
#

gn guyd

#

guys

#

imma gts

sour willow
#

ducky_skull what did i get my self into

forest egret
#

something i feel burnout

safe spindle
#

sadly I can't talk, just hanging out

worldly tusk
#

yeah i have to wait

#

it takes 3 days

safe spindle
#

i did, yea

worldly tusk
#

so long lol

#

yes and alot of time in the server

safe spindle
#

i just need to stay active and talk but I'm just looking through discussions

worldly tusk
#

i just joined to talk abt python cause i started learning it again

#

well

#

its alot easier to use vc lol

safe spindle
#

^^

#

are you guys regulars? what goes on in this server?

#

any events or sth

#

found it

unkempt magnet
#

did anyone heared me

#

i thnk i need to fix my mic

safe spindle
#

you are muted friend

unkempt magnet
#

and i will be back

#

no i unmuted and talked then i was back to mute

safe spindle
#

programmer, developer is interchangeable

#

excel is programming and developing fite me

celest scaffold
#

Gm!!!

#

anyone knows django???

#

but there are tens of them

safe spindle
#

I remember a certain influential developer saying in an interview they drink 8 diet soda cans per day to get their caffeine :x

lucid blade
safe spindle
#

i'm scared

somber heath
safe spindle
#

vanilla trackball or trackball mouse?

#

they make both 😛

#

me too!

royal hamlet
#

thats the on i have

#

this is a mouse trackball

safe spindle
#

i remember a pro league player using trackball

#

no

#

we watched lotr in english class

#

10 years ago

#

you must be loaded

#

did he become a dev?

#

yoinking code left and right

lucid blade
#

Philo Taylor Farnsworth (August 19, 1906 – March 11, 1971) was an American inventor and television pioneer. He made many crucial contributions to the early development of all-electronic television. He is best known for his 1927 invention of the first fully functional all-electronic image pickup device (video camera tube), the image dissector, as...

#

John Logie Baird (; 13 August 1888 – 14 June 1946) was a Scottish inventor, electrical engineer, and innovator who demonstrated the world's first live working television system on 26 January 1926. He went on to invent the first publicly demonstrated colour television system and the first viable purely electronic colour television picture tube.I...

safe spindle
#

Baird built what was to become the world's first working television set using items that included an old hatbox and a pair of scissors, some darning needles, a few bicycle light lenses, a used tea chest, and sealing wax and glue that he purchased

#

American Media History, Fellow, p. 278 ?

#

seems a bit insane

#

We got scam call centers in Greece

next nest
#

@lucid blade Mad attempt at a rigid ass hotend mount kek

safe spindle
#

did you draw the shapes by hand?

orchid mauve
next nest
lucid blade
next nest
orchid mauve
next nest
orchid mauve
next nest
willow gate
#

@vocal basin Hello

next nest
orchid mauve
#

kohya_ss

#

TheBloke_WizardLM-13B-V1-0-Uncensored-SuperHOT-8K-GPTQ

obtuse marsh
#

Hello people

lucid blade
#

welcome 🙂

#

😉

lucid blade
orchid mauve
lucid blade
#

doesnt usually take long to get voice

lucid blade
rugged root
#

@obtuse marsh Always happy to have more folks here

willow light
#

So this is what I spilled on my previous keyboard.

lucid blade
gentle flint
willow light
#

!pip MetPy

wise cargoBOT
#

Collection of tools for reading, visualizing and performing calculations with weather data.

willow light
#

!pip xarray

wise cargoBOT
willow light
#

I'm paid to program, yes, but my true love is doing science out in the field

gentle flint
willow light
#

I don't know cpp

gentle flint
willow light
#

Any "resources" that even offers new learners python2 is dead to me

vivid jacinth
#

yes

lavish rover
#

help implement stuff in my language 😄

#

lots of tree traversals for the ast, same thing

gentle flint
royal hamlet
willow light
#

why is it having you include self if you aren't using the class? it's teaching bad habits.

noble solstice
#

Hii @midnight agate

lucid blade
noble solstice
#

Question?

lucid blade
willow light
lucid blade
willow light
#

you are spamming the text chat

lucid blade
gentle flint
#

cat pics

#

how could you

willow light
noble solstice
#
class Solution:
    def numOfStrings(self, patterns: List[str], word: str) -> int:
        c=0
    
        for ij in patterns:
            if ij in word:
                c+=1
        return c

Foook bro leetcode ui is changed!

willow light
#

RealPython is a great resource for learning, at all levels.

lavish rover
#
return sum(p in word for p in patterns)
lucid blade
vivid jacinth
#

why

lavish rover
#

probably

willow light
#

I'm not a teacher, I just give hints. and the hint I'm giving you is "don't use classes if you don't need them"

noble solstice
#

Check this solution

royal hamlet
noble solstice
#

Never heard this algorithim

lavish rover
#

yeah, was thinking of tries

royal hamlet
#

just boilerplate

gentle flint
willow light
lavish rover
#

yeah i hadn't quite worked out all the details, so wasn't close to that

#

but my spidey senses were suggesting something trie

royal hamlet
vivid jacinth
noble solstice
willow light
#

It doesn't teach you how to think, or how to actually write programs. How to solve problems.

royal hamlet
willow light
#

It exists solely to make factory works. Nothing more, noting less. If you want to actually do something with your life, you'll need actual problem solving skills. That cannot be taught with "hey let's just do some toy challenges and then start calling myself a programmer"

royal hamlet
lavish rover
willow light
#

No one does this in real world jobs. Mostly you just spend your time trying to understand what the stakeholders are trying to say.

lavish rover
#

No one does this in real world jobs
most people don't, but not no one

willow light
#

And how to implement their requests without violating federal laws.

royal hamlet
vivid jacinth
#

I'm still trying to understand what people here are saying

royal hamlet
willow light
#

I'm not being absolutist. That'll be the person defending a scam site like LeetCode. Next you're going to tell me to buy an NFT or something.

lavish rover
#

My job is extremely niche, some people also program in COBOL all day, doesn't make it any more or less useful

willow light
#

I'm just trying to save you from yourself.

vivid jacinth
#

scamming people into getting jobs

willow light
#

scamming people into expecting everything to be plug and chug

#

prove me wrong.

lavish rover
willow light
#

it's all rote memorization. rote memorization does nothing for real world skills. only critical thinking, something that, much like literacy, is quite rare these days

lavish rover
royal hamlet
#

I think I feel like you are right mostly but Leetcode and Codewars definitely hold usefull places. Project work is great and a primary way of learning but if your foundation is bad it doesn't matter

willow light
lavish rover
#

who is saying that?

#

where on their website does it say that?

noble solstice
#

Your suscription is cancelled?

royal hamlet
#

You realise you don't have to pay for leetcode mostly

#

only premium features

lavish rover
#

mad because bad

willow light
#

you're paying with time spent

noble solstice
#

Leetcode ban u for cheating?

rugged root
royal hamlet
#

And if you spend all your time watching tutorials you won't learn. You need to put it into practice either through Projects or Problems

lavish rover
#

you're paying with time spent

it's only good for getting past a coding interview.

seems reasonable

royal hamlet
#

Getting past a coding interview might get you paid tho

#

which pays for the time spent

#

cos time = money

noble solstice
#

@willow light Which is better than leetcode? I will try

willow light
#

books

royal hamlet
#

Codewars is good

noble solstice
royal hamlet
#

Fluent Python

willow light
#

automate the boring stuff

noble solstice
#

and any more specific book for improving logic

noble solstice
cinder dawn
#

hello

lavish rover
royal hamlet
#

Great Advice!

willow light
#

it worked for thousands of years, why would it stop working now?

royal hamlet
#

I just mean it's a bit obvious

willow light
#

The obvious solution is usually the best one.

#

Especially if it is simple too

royal hamlet
#

no the simple solution is the best

#

not necessarily the obvious one

lavish rover
vivid jacinth
royal hamlet
#

I agree

#

I think leetcode is good DSA qs also because you can see other users solutions though

#

which I think adds value because can teach you something that maybe someone who wrote the Question did not think about

gentle flint
rugged root
#

@stuck furnace Haaiiiiii

stuck furnace
#

Ello cathi

rugged root
#

How's it going

stuck furnace
rugged root
#

I getcha

stuck furnace
#

Ah yeah free month

#

I'm not paying £3! (or whatever it is)

forest egret
cosmic bison
#

The Holiday Box has evolved! Now you can support Vsauce, your brain, Alzheimer's research, and other YouTube educators by joining THE CURIOSITY BOX: a seasonal delivery of viral science toys made by Vsauce! A portion of all proceeds goes to Alzheimer's research and our Inquisitive Fellowship, a program that gives money and resources directly to ...

▶ Play video
wintry pier
#

infinity

rugged root
#

There's at LEAST 2

wintry pier
#

0.999999999999999999999999.....

lucid blade
stuck furnace
#

Hey he's great

high acorn
#

hello guys

stuck furnace
#

I remember going to one when I was like 12 😄

#

Nah

royal hamlet
#
high acorn
#

its beautiful

thorn wharf
gentle flint
#

@somber heath

high acorn
#

this kid is ....

thorn wharf
rugged root
#

Looks neat

lucid blade
#

Bundesnachrichtendienst

gentle flint
#

Eénvormige Landelijke Databank voor Overstromingen, Rampen en Anderszins Dreigende Overlastgebeurtenissen

#

Richard Handl (born May 23, 1980) is a Swedish man who experimented with tritium, americium, aluminium, beryllium, thorium, radium, and uranium, with the intention to create a nuclear reaction. He acquired most of the radioactive materials from foreign companies, while assembling a collection of periodic elements. For six months in 2011, he alle...

rugged root
#

Is 112 an emergency number for somewhere?

stuck furnace
somber heath
#

Musk sticks are a popular confection in Australia, available from many different suppliers. They consist of a semi-soft stick of fondant, usually pink, and often extruded with a ridged cross-section in the shape of a star. Their flavour and aroma is quite floral, reminiscent of musk perfume. They are also called "musk sweets" and "musk lollies"....

rugged root
stuck furnace
#

gtg kitty_wave

rugged root
#

Later

last wadi
lucid blade
lucid blade
rugged root
#

@mortal burrow Are dictionaries what?

mortal burrow
#

Are they the best at storing nested data?

rugged root
#

Depends on your needs

mortal burrow
#

I'm trying to make a graph of substrings.

#

Let me show you an example.

rugged root
#

Oh no idea

#

Yeah that'd help

#

Example input and example output

mortal burrow
#
My two strings:
000
00A

I want a dataframe:
id, name, parent
1, 0, None
2, 00, 1
3, 000, 2
4, 00A, 2

                              0
                              /
                             00
                            /  \
                           000  00A
#

My visualzation tool takes unique node ids, names, and their parent Id

#

And then outputs the graph.

rugged root
#

Hmm

#

Either dictionaries or a custom class

#

@whole bear Would you mind changing your nickname to meet our nickname policy? See #rules for more details

#

I'd appreciate it

mortal burrow
#

I'm thinking dictionary for easy lookup, the issue is that I'll have to loop through the dictionary to get this flat format

#

Ideally I need to output this flat format.

rugged root
#

@whole bear Thaks for being understanding about it

mortal burrow
#

{name: {id : <id>, parent: <parent>}}

#
{ 00 : {id: 2, parent: 1}}```
lucid blade
#

^ awesome watching material

rugged root
cosmic bison
orchid mauve
whole bear
#

join elon musk discussion @rapid flame

strange heart
#

hi

toxic arch
whole bear
strange heart
#

how are you

whole bear
#

@rapid flame call or na

#

ohh

#

was looking for that dude

opal charm
#

hi @lunar cloud

lunar cloud
opal charm
#

oh you left, np np

lunar cloud
#

im back

#

so i was wondering if u know about buldozer

opal charm
#

🤣 cool

lunar cloud
#

buildozer*

opal charm
#

you use it to pack your kivy into android app

lunar cloud
#

yeah , as i run it , it taking soo long idk why

#

its like in a loop or something

opal charm
#

conn't comment at this point

#

I left kivy and I will actually start with more tradional app dev using java

lunar cloud
#

ahahah

opal charm
#

hello griffin

lunar cloud
#

HI

feral summit
#

hey

#

What are yall up to?

lunar cloud
#

buildozer

feral summit
#

How do you get perms to talk?

lunar cloud
#

it takes longer than it should be , i think

feral summit
#

Isn't it a certain amount of messages that should be sent?

lunar cloud
feral summit
#

I see

#

It's only the messages

opal charm
#

it is like time spent in vc

#
  • messages in vc
#
  • time spent on server
feral summit
#

I just finished a project for school which I am so proud of

lunar cloud
#

teel me about it

#

tell*

opal charm
feral summit
#

I made rock-paper-sissors! It isn't the biggest project but I am proud of it

lunar cloud
#

thats cool

opal charm
#

I mean do we interact in a terminal?

feral summit
#

Yes, using options

opal charm
#

ohh

#

so you learn some cli stuff too

#

cool cool

whole bear
#

@rapid flame let's hop on call tomorrow

feral summit
#

Yeah!

#

It crossed over for sure

rough prairie
#

aah detectiiiiveee 🙂

whole bear
#

let's all have a nerd talk tomorrow

#

about projects

#

personal or work projects

#

or even pre-projects

opal charm
#

why tomorrow?

#

what is tomorrow? 🤣

celest scaffold
#

@midnight agate do u know postgres?

#

i installed postgres on ubuntu. and tried to createdb

#

but it prompts me to type password in

#

i didn't set any pwd, though

#

do you know why?

obsidian dragon
#

How the heck does regex work?
l==/new/b
I want the word new selected

whole bear
obsidian dragon
#
function(index,word) {
    word==/new/g ?
      color = colours["aqua"]:
      color = "#DDDDDD";

@vocal basin could you help with this regex?

#

I want to select the string new and return aqua

somber heath
#

@jolly abyss 👋

teal flower
#

Hello

#

Love the profile Maradox

#

I make a function today yay

#

Hello

#

Are you Australian you said mate

#

@lucid blade

#

You know people

#

How many jobs have you had

lucid blade
#

probably 10+ at least 😄

#

i usually cant stand to work for 1 firm for longer than 2-3 years

teal flower
#

How come

#

How many programming languages do you know

#

Dogs are scary

#

Have you played ark survival

#

On what

somber heath
#

The Eagle Huntress is a 2016 internationally co-produced Kazakh-language documentary film directed by Otto Bell and narrated by executive producer Daisy Ridley. It follows the story of Aisholpan Nurgaiv, a 13-year-old Kazakh girl from Mongolia, as she attempts to become the first female eagle hunter to compete in the eagle festival at Ulgii, Mon...

teal flower
#

Xbox

#

Ark

#

Have you played it on xbox ark

#

@lucid blade You sound familiar

teal flower
#

Rip

somber heath
#

!e py import ast text = '{"abc": 123}' d = ast.literal_eval(text) print(d) print(type(d))

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | {'abc': 123}
002 | <class 'dict'>
somber heath
#

!e py import ast v = 5 text = '{"abc": v}' d = ast.literal_eval(text)

wise cargoBOT
#

@somber heath :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 4, in <module>
003 |     d = ast.literal_eval(text)
004 |         ^^^^^^^^^^^^^^^^^^^^^^
005 |   File "/usr/local/lib/python3.11/ast.py", line 110, in literal_eval
006 |     return _convert(node_or_string)
007 |            ^^^^^^^^^^^^^^^^^^^^^^^^
008 |   File "/usr/local/lib/python3.11/ast.py", line 99, in _convert
009 |     return dict(zip(map(_convert, node.keys),
010 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
011 |   File "/usr/local/lib/python3.11/ast.py", line 109, in _convert
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/VOBYAMGHXAFJLKK5DQTRWFSIZQ

somber heath
#

!e py text = 'abc' for iv in enumerate(text): print(iv)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | (0, 'a')
002 | (1, 'b')
003 | (2, 'c')
somber heath
#

!e py text = 'abc' for i, v in enumerate(text): print(f'{i = } and {v = }')

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | i = 0 and v = 'a'
002 | i = 1 and v = 'b'
003 | i = 2 and v = 'c'
somber heath
#

!e py a, b = 1, 2 print(a) print(b)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1
002 | 2
somber heath
#

!e py letters = 'abc' numbers = '123' for ab in zip(letters, numbers): print(ab)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | ('a', '1')
002 | ('b', '2')
003 | ('c', '3')
somber heath
#

!e py letters = 'abc' numbers = '123' for a, b in zip(letters, numbers): print(a,b)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a 1
002 | b 2
003 | c 3
somber heath
#

!e py text = 'abc' for letter in text: print(letter)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

!e py text = 'abc' for i in range(len(text)): print(text[i])

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | a
002 | b
003 | c
somber heath
#

!e py text = 'abc' for i, _ in enumerate(text): print(i)

wise cargoBOT
#

@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 0
002 | 1
003 | 2
somber heath
desert wolf
opal charm
#

hello

#

it is excruciating
I have doing my taxes

desert wolf
#

nice

opal charm
#

yes, I become insecure

#

what if people ask me about my pycheck

#

*paycheck

#

@desert wolf just continuing how much I hate financial talks

#

valid valid

#

lol

#

noice

#

and they doubt sense of houmour

#

for devs

#

which guy?

#

I heard similar news 3 yrs agoi
A man accidentaly broke her wife's arm

#

because she repeatedly beat him in PUBG

#

@somber heath that is some problem solving skills you have got

#

😎

#

I mean sure, society does damage to people's development much less any positive contribution

#

but violence like this can hardly have any justificaion

#

notes

#

omg heavy topics 🤣

remember when we used to talk about "if else" here

#

okay toughest criteria done
two more cirteria left to fullfill

#

hello pals

somber heath
#

@proven ice @neon agate 👋

#

@amber field 👋

opal charm
#

it's cold over there?

#

🙀

#

lucky you

#

I goddamn hate heat

#

is there a country which is cold all year?

desert wolf
#

yes, iceland

opal charm
#

hmmm
time to look job opporunities in iceland

desert wolf
celest scaffold
#

hi

dim dock
#

!d zip

wise cargoBOT
#
zip

zip(*iterables, strict=False)```
Iterate over several iterables in parallel, producing tuples with an item from each one.

Example:

```py
>>> for item in zip([1, 2, 3], ['sugar', 'spice', 'everything nice']):
...     print(item)
...
(1, 'sugar')
(2, 'spice')
(3, 'everything nice')
```...
obsidian dragon
#

The solution to my question

const colors = {
  "red": "#F72119",
  "orange": "#FF9E3D",
  "yellow": "#FFF01F",
  "green": "#1FFF0F",
  "aqua": "#23C1FF",
  "purple": "#B026FF"
};

$(document).ready(function() {
  let string = $("body").text();
  let array = string.split(" ");
  let post = "";
  let color = "";

  $.each(array, function(index,word) {
    new RegExp(/false/).test(word) ?
      color = colors["red"]:
    new RegExp(/some/).test(word) ?
      color = colors["orange"]:    
    new RegExp(/.*stock$/).test(word) ?
      color = colors["yellow"]:
    new RegExp(/true/).test(word) ?
      color = colors["green"]:
    new RegExp(/new|loc|old|all/).test(word) ?
      color = colors["aqua"]:
    new RegExp(/^[A-Z]\d{2}/).test(word) ?
      color = colors["purple"]:
      color = "#DDDDDD";
    
     post = `<span style="color:${color}">${word}</span>`
    array[index] = post
  });
  newtext = array.join(" ");
  $("body").html(newtext);
});
upper arch
#

Chat gpt makes me feel smart

stoic chasm
#

new regexp is a bit excess

#

just don't it

#

/false/.test(...)

#

also consider using ^ and $ anchors if you intend whole words

#

now the word newton would be aqua

#

if thats what you want good

toxic arch
#

cute cat with big eyes!

toxic arch
whole bear
#

hi

#

super quit today

noble solstice
obsidian dragon
# stoic chasm define `$`

Thanks for the tip
$ is jQuery

const colors = {
  "red": "#F72119",
  "orange": "#FF9E3D",
  "yellow": "#FFF01F",
  "green": "#1FFF0F",
  "aqua": "#23C1FF",
  "purple": "#B026FF"
};

$(document).ready(function() {
  let string = $("body").text();
  let array = string.split(" ");
  let post = "";
  let color = "";

  $.each(array, function(index,word) {
//set to red
    /^false$/.test(word) ?
      color = colors["red"]:
//set to orange
    /^some$/.test(word) ?
      color = colors["orange"]:
//set to yellow
    /.*stock$/.test(word) ?
      color = colors["yellow"]:
//set to green
    /^true$/.test(word) ?
      color = colors["green"]:
//set to aqua
     /^(new|loc|old|all|why)$/.test(word) ?
      color = colors["aqua"]:
//set to purple
    /^[A-Z]\d{2}/.test(word) ?
      color = colors["purple"]:
      color = "#DDDDDD";
    
     post = `<span style="color:${color}">${word}</span>`
    array[index] = post
  });
  newtext = array.join(" ");
  $("body").html(newtext);
});
stoic chasm
#

yes :)

elfin bone
#

wondering if anyone can answer my question at 2:27 am

#

what does init do

#

init_

#

and what does from do in f strings

#

oh does it extract? (referring to from)

noble solstice
elfin bone
#

yes

noble solstice
#

!docs init

wise cargoBOT
elfin bone
#

hm

#

so

#

init is used when we want to def something which consists of very complex things?

noble solstice
#

if we create a robot object called "Ironman," the "init" function helps us give it a name and maybe some other cool features, like its color or favorite game.

elfin bone
#

cant we just use anything

noble solstice
#

So, the init in Python is a special function that gets called when we create a new object

elfin bone
#

like pythonblabla

#

yes but

#

cant we name

#

the function anything we want

#

does init just a more formal way of doing it?

noble solstice
#

init is a constructor

#

it;s use to give u more attributes features

elfin bone
#

ohh got it

#

what r some

#

features

#

it gives you

noble solstice
#

like we have a class of car
we intiliaze car objects like colour engine speed etc..
init is like a constructor that helps create objects with their own unique attributes

elfin bone
#

ohh i see

#

thank you so much

#

have a good rest of your day

obsidian dragon
#
<div class="tile oneXone">
    <span class="fa fa-car"></span>
  </div>
  <div class="tile oneXone"></div>
  <div class="tile oneXone"></div>
  <div class="tile oneXone"></div>
  <div class="tile oneXtwo"></div>
  <div class="tile oneXtwo"></div>
  <div class="tile oneXone"></div>
  <div class="tile oneXthree"></div>
.tile {
  display: inline-block;
  margin: 1px;
  border: 2px solid black;
}
.oneXone{
  width: 114px;
  height: 114px;
}
.oneXtwo {
  width: 238px;
  height: 114px;
}
.oneXthree {
  width: 362px;
  height: 114px;

Why does it move when adding svg?

stoic ore
#

no body is here 😄

wind raptor
#

Hello @toxic arch 👋

toxic arch
#

i was afk

#

doing good, i just came back

#

i forgot i was in vc

#

@wind raptor i think it was like 3-4 hours

#

yeah

#

im gonna do some save reversing now

#

idk

#

how to explain it

#

thx @wind raptor

#

kinda, im trying to figure out how i can manage characters in elden ring

#

@wind raptor so you gonna do anything then?

#

@wind raptor im trying to figure out how i can combine characters into 1 save file

#

nah i want to take a character and make it another slot in 1 save

#

it should have different saves for different characters but it doesnt 😦

#

a save slot is a different character

#

yeah so that i dont have to manage the saves, i can select a different slot to be the other character

#

nah im doing offline only

#

not sure, some of it looks encrypted/compressed while others dont

#

@wind raptor you have experience in this?

#

yeah

#

@wind raptor alot of games are server based

#

@wind raptor what about binary formats?

#

i dont think its code, its just data

#

true

#

@wind raptor i find it really intresting

#

look at my username and bio

celest saffron
#

oh cool

#

i see

#

I'm now working on a project that deals with machine learning.
As of right now I'm just doing research

#

which there is plenty of . . .

toxic arch
#

@wind raptor are you familiar with structs in c or c++?

celest saffron
#

I'm making a small project for a machine to distinguish between hand written numbers

toxic arch
celest saffron
#

But I do have a project that I aim to finish by the end of may 2024
An ai that solves simple algebra and geometry math problems

celest saffron
toxic arch
#

cleaning data is fun

celest saffron
#

do you have suggestion for information sources for machine learning projects that go into and neural networks
and I don't have to much problems with the data but i agree that it still needs to be cleaned

toxic arch
#

nah i use regex

celest saffron
#

I'm studing pandas right now

toxic arch
#

to get out information

#

from data

#

yeah i dont deal with huge data

wind raptor
toxic arch
#

numpy, matplotlib and panadas

celest saffron
#

that is what I'm using right now
it is really interesting

#

but I feel it doesn't give tasks that let me play around to much
I guess what I'm trying to say there is too much hand holding
at least at the beginning

toxic arch
#

what works for me is i have a goal in mind, and i do the goal

celest saffron
#

do you have the names of the sources that you use?

#

because I want to delve into neural networks learning specifily for math
and I didn't find anything that fit

#

what I meant was that the ai will get text math question and than caculate the soulution

#

but I agree that it won't be accurate in the slightest if it will do all the caculations

toxic arch
#

@celest saffron so you want it to make a human like estimation for the maths question?

celest saffron
#

yes

toxic arch
#

there was just some confusion in communication i dont actually know how

#

uhh

#

yeah nice painting @celest saffron

celest saffron
#

sorry, I went away. Just returned

#

So the pepei officials got him when he switch to coke?

#

the Pepsi agents are approaching your house.

#

because I'm not verified

scarlet halo
#

the voice verification channel is amazing

#

i have a lot of memories of it

#

before it went missing from my view

#

but now i can talk

#

🎉

celest saffron
#

congrats

#

Im still in this void

#

I dont have 50 messages yet

#

apparently

scarlet halo
#

talk more then

celest saffron
#

doint it

#

but I don't want to spam

scarlet halo
#

ask for help

celest saffron
#

help help

toxic arch
#

help others @celest saffron

scarlet halo
#

coding problem help

scarlet halo
#

no i dont hjave an issue

#

no

#

i was tellijg someone to aks for hjelp

#

i cant spell please help

celest saffron
#

The grammer police isn't coming after you

scarlet halo
#

"aks" - spelis

celest saffron
#

oh no they are

scarlet halo
celest saffron
#

run

#

they can hear us

scarlet halo
#

🚬

#

wrong emoji

celest saffron
#

the emoji police on the other hand...

scarlet halo
#

🚤 ✈️ 🚙

toxic arch
#

man

celest saffron
#

argentina isn't a safe place

toxic arch
#

if only there was a copy character option

scarlet halo
#

oh

#

yueah