#voice-chat-text-0

1 messages Β· Page 906 of 1

coarse cape
#

oh waitttt

#

my bad

#

i didnt doom sync

#

^

swift valley
#

[I] don't use doom :P

coarse cape
#

yeah this

swift valley
#

I'm not really telling not to use Doom lmao

coarse cape
#

i was getting this

swift valley
#

I have a very fancy note taking configuration that looks like this

vivid palm
#

.

coarse cape
#

@zenith radish drop your configs again πŸ˜›

#

thats pretty much what im working with

#

Oo alright

#

xDD

zenith radish
swift valley
coarse cape
#

😦

#

bruv im changing my nick

swift valley
#

There lmao

coarse cape
#

happy?

#

xD

#

jk

swift valley
#

Very fancy

coarse cape
#

im tryna exploit wandbox

#

im jobless mate

tacit dew
#

Please permition to speak

swift valley
coarse cape
split coyote
#

hi i am having a problem creating virtual envirment showing this error

swift valley
#

It's just note-taking

split coyote
#

i had already

coarse cape
#

or add it in the path

#

add it in da path

swift valley
#

The code blocks are monospace at least

coarse cape
#

in windows

#

sup wabbit

#

wabbit, you tryna speak mate?

#

you arent heard

rugged root
#

We can hear him?

coarse cape
#

wha-

#

screw it im rejoining

#

cool beans, i can hear people now

woeful salmon
#

!e

from pathlib import Path

print(Path("/home/username/") / ".bashrc")
wise cargoBOT
#

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

/home/username/.bashrc
woeful salmon
#

πŸ‘€ noice

coarse cape
#

i need some advice πŸ˜„

#

i wanna make an esolang called amoglang, which language do i use, rust, c++ or python?

somber heath
#

c++ of those, I'd say.

coarse cape
#

:0 alright! thanks!!

#

rust is good but i kinda dislike the syntax

coarse cape
#

the impl<'a> ticks me off everytime

somber heath
#

If you stream c, is it still c?

woeful salmon
somber heath
#

Or is it stream?

vivid palm
#

i thought i read that it doesn't

#

The file is opened and then closed. The optional parameters have the same meaning as in open().

swift valley
#

Also @zenith radish I'm pretty sure I spent months to get to this configuration

#

Worth it though

coarse cape
#

@rugged root social experiment -> stream your screen

rugged root
woeful salmon
sinful igloo
#

I can verify Tommorow

swift valley
#

I've used Doom Emacs for 2-ish months

sinful igloo
#

Only

#

I am not in the requirements yet

rugged root
#

Right, just wondering why you were joining then leaving over and over

woeful salmon
#

if you do .read() it will keep running as .read_text() is the one closing it

swift valley
#

I switched to Emacs last year November/December

coarse cape
#

i wanna switch to emacs now

stuck furnace
#

!docs 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.10/library/functions.html#open "open").

New in version 3.5.
sinful igloo
rugged root
#

Right

#

But why are you entering and then leaving

swift valley
#

chunky

sinful igloo
#

BcuZ

#

I want to talk

rugged root
#

It's a good way for you to never get to

woeful salmon
#
try:
    file = open("file.json")
    do something
finally:
    file.close()

if you don't like with do this ^

stuck furnace
#

@sinful igloo why are you joining and leaving repeatedly?

coarse cape
sinful igloo
#

I want to talk

coarse cape
#

^

stuck furnace
#

Oh, Hemlock already mentioned it sorry πŸ˜„

sinful igloo
#

But I don’t

#

Know

rugged root
#

If you continue it'll result in a voice ban or a server ban depending on how much of a fit you pitch

sinful igloo
#

Ok

stuck furnace
swift valley
#

I don't hear the enter/leave bells, odd

sinful igloo
coarse cape
#

its not fine :/

swift valley
#

I'm not sure, I haven't really touched any settings

sinful igloo
#

I don’t know what

rugged root
#

Just so long as we're clear

sinful igloo
#

Sorry

swift valley
#

Maybe silent mode?

amber raptor
#

I think I will

sinful igloo
#

Oh my god

stuck furnace
#

All joining and leaving repeatedly will do is annoy people.

sinful igloo
#

Sorry sir

coarse cape
#

im on dnd

swift valley
#

I'm on mobile though

sinful igloo
#

Sorry

#

Sorry

#

Sorry

rugged root
#

All good

#

Now you know

sinful igloo
#

Pls forgive me

#

Hello

stuck furnace
#

They already have 50 messages yeah.

coarse cape
#

@zenith radish πŸ˜‚

sinful igloo
#

Everyone

coarse cape
sinful igloo
#

I want to do an voice reveal

#

Admin

swift valley
#

@zenith radish Don't IRC servers tend to be slow-moving

vivid palm
#
    def read_text(self, encoding=None, errors=None):
        """
        Open the file in text mode, read it, and close the file.
        """
        with self.open(mode='r', encoding=encoding, errors=errors) as f:
            return f.read()

under the hood

swift valley
#

At least that's how I see it as a zoomer

sinful igloo
#

Admin can I be permitted to do an voice reveal

rugged root
#

When you hit the criteria, sure

coarse cape
rugged root
#

Not before that

swift valley
#

If you meet the criteria, yes

sinful igloo
stuck furnace
sinful igloo
#

I am asking that’s it

coarse cape
#

Wanna see a neck beard?

sinful igloo
#

Clearing my doubt

swift valley
#

@zenith radish Can I be a neckbeard if I can't grow facial hair

stuck furnace
#

Just glue some hairs on to your neck πŸ˜„

woeful salmon
#

no?

coarse cape
#

xD

sinful igloo
#

Hahahahahaha

stuck furnace
#

πŸ€”

sinful igloo
coarse cape
#

thats pablo from discord beluga

woeful salmon
#

that's what you get breed a human with a lion

coarse cape
#

google this : pable discord

sinful igloo
coarse cape
#

alright?

sinful igloo
#

Kiwwy

#

Who wants to see my code

coarse cape
coarse cape
woeful salmon
#

nah i'm m telling you its a human lion cross breed

sinful igloo
#

Let em take some screenshot

sinful igloo
#

But I am still working on it

coarse cape
#

k

sinful igloo
#

I have some of my real name and stuff

coarse cape
#

mhm

sinful igloo
#

My going to cry if I watch this stream

#

My dude

#

How

#

You are doing this

swift valley
#

I'm quite willing to bet I'm the only person who uses Emacs in my uni, so yes, I guess I am a neckbeard

coarse cape
#

mods, do i lose access to the voice verify channel once im voice verified?

#

ah cool

sinful igloo
#

LX

#

Hello

stuck furnace
#

Hello

sinful igloo
#

Who does login codes

stuck furnace
#

Who does what now?

coarse cape
# sinful igloo Hello

not going to be rude but uhh this is kinda like grinding for messages for access to vc

stuck furnace
sinful igloo
#

I want get the experience from people who have already done it

coarse cape
sinful igloo
#

Login code

coarse cape
#

huh?

sinful igloo
#

Like and username and password

coarse cape
#

so an oauth?

woeful salmon
#

i know alot of ppl who use vim or emacs at home but use an ide on work or school

sinful igloo
#

Yep

#

Wait

coarse cape
#

which framework

sinful igloo
#

I have an call

coarse cape
#

yo whatttt

stuck furnace
#

You'd like to implement a login system @sinful igloo ?

coarse cape
#

oauth and username/password are 2 different things

#

oauth aka using another login method

#

like google

#

username/password has local session storage

woeful salmon
somber heath
#

"What's that, Lassie? Tech With Tim has fallen down the abandoned bitcoin mineshaft?"

swift valley
#

BITCOIN MINECRAFT???

#

why is this a postcard

somber heath
#

"You are here."?

#

"I am here"

woeful salmon
stuck furnace
#

Yep

#

@fleet jasper Why are you repeatedly joining and leaving?

#

You will be banned if you continue.

cosmic lark
#

weird flex

#

but ok

zenith radish
#

v&

somber heath
#

Van

#

Voice ban

swift valley
#

wat

somber heath
#

Portmanteau.

#

....Natalie Portmanteau.

#

Could work as a drag name.

stuck furnace
#

Wait what? When did they change this? πŸ˜„

#

Doesn't this break a tonne of things in the bot.

rugged root
swift valley
#

Also @zenith radish to answer your question, yes, you can have some other entry point

#

just call it in main

#

@rugged root tl;dr Cloudflare R2 offers a cheaper alternative to Amazon's S3

#

At least how I read it

#

I mean if the tweet above is correct, it's a whole lot cheaper

#

Joe would likely know

#

Choppy internet, sorry bout that

#

I'll go watch some House M.D.

rapid quail
#

just getting into this whats the best app to code om

#

on

lofty ivy
#

hi!

#

how do i install tab nine?

#

when i about to download, what appeard it "please restart your IDE"

#

how do i restar my IDE?

hallow prairie
#

close it and open it

lofty ivy
#

ummm ok?

mystic lily
#

yo

rugged root
#

!stream 766969827113697310

wise cargoBOT
#

βœ… @zenith peak can now stream until <t:1632928738:f>.

cosmic lark
#

anyone in here uses photoshop?

#

please dont cheat

#

thank you

mystic lily
#

could someone help me with my loop?

cosmic lark
#

!stream 411031233364099072

round prawn
#

yo

mystic lily
#

yo

round prawn
#

.-.

weary ether
#

wait

#

i have to send 50 msg ?

round prawn
#

yeah

#

xD

rugged root
#

!stream 766969827113697310

wise cargoBOT
#

βœ… @zenith peak can now stream until <t:1632929909:f>.

mystic lily
#

it seems to take forever

round prawn
#

Wait 50 years

rugged root
#

Honestly, if you plan on being on the server for a while, this is a drop in the bucket

#

Regular conversations, help channels, etc and boom

#

Message count

whole bear
#

what is LP making

mystic lily
#

is there a way to check how many we have to go

whole bear
#

DOES ANYONE KNOW IF BIODEGRadable styrofoam is safe to put in the freezer

mystic lily
#

i would of thought ull be okay

rugged root
#

The degradation doesn't really happen quickly

#

It's over the course of years

whole bear
#

my smoothie i had yesterday was in a styrofoam cup i didnt finish it and i want to today

rugged root
#

Then yeah, you're good

whole bear
#

okay okay thank u

rugged root
#

Cold should slow down the decomposition process anyway

mystic lily
#

dose anyone know why my loops work fine half the time and then blow up

rugged root
#

Toss the code in here

#

I'll take a gander

somber heath
#

"Do not iterate the dynamite monkey."
"Don't you mean irritate?"
"That too."

rugged root
#

@zenith radish Talking to office manager

#

One sec

coarse cape
#

im back πŸ‘‹

#

emacs goess brr

#

i wanna try it

#

but i rely heavily on the Attach to a Process in Vscode

#

:((

#

i wish emacs had that

#

the emacs DAP atleast

somber heath
#

@coarse cape Your screen name, Kiwwy, makes me think of Kivy. Like an uwu version of Kivy.

coarse cape
#

AHHH SCREW IT MATE

#

now good?

somber heath
#

It was good before. But sure.

coarse cape
#

people get confused with the original kat

coarse cape
#

screw it im changing it

#

Hemlock, any good names you got i reckon mate?

#

thanks!

mystic lily
#
import datetime
import pandas as pd
from binance.client import Client

daysneeded = 150


binance_api_key = 'key'
binance_api_secret = 'key'
client = Client(api_key=binance_api_key, api_secret=binance_api_secret)
global epoch

symbols = ['ETHUSDT', 'BTCUSDT', 'XRPUSDT']

org_columns = ['open',
               'high', 'low', 'close', 'volume', 'close_time', 'quote_av',
               'trades', 'tb_base_av', 'tb_quote_av', 'ignore']

for i in range(daysneeded):
    fromdate = daysneeded - i
    todate = fromdate + 1
    fromdate = str(datetime.datetime.now() - datetime.timedelta(days=fromdate))
    todate = str(datetime.datetime.now() - datetime.timedelta(days=todate))
    fromdate = fromdate.split()
    fromdate = fromdate[0].split("-")
    fromdate = (fromdate[2]+','+fromdate[1]+','+fromdate[0])

    todate = todate.split()
    todate = todate[0].split("-")
    todate = (todate[2]+','+todate[1]+','+todate[0])

    print(fromdate, '-------------', todate)
    for i in range(len(symbols)):
        try:
            klines = client.get_historical_klines(
                (symbols[i]), Client.KLINE_INTERVAL_1DAY,  todate, fromdate)
            klines_len = len(klines)
            if klines_len == 0:
                print('Failed to download data for ', (symbols[i]))
            new_columns = [item + '_' + (symbols[i]) for item in org_columns]
            new_columns.insert(0, 'timestamp')
            DF = pd.DataFrame(klines,
                            columns=new_columns)
            DF['timestamp'] = pd.to_datetime(DF['timestamp'], unit='ms')
            DF.set_index('timestamp', inplace=True)
            DF = DF.tail(len(DF)-1)
            print(len(DF))
            DF.to_csv(symbols[i],index=False, mode='a', header=False)
            print('Downloaded data for ', (symbols[i]))
        except:
            print('*** Invaled symbol:', (symbols[i]), '! ***')
coarse cape
#

this is a good one

#

see my name

cosmic lark
#

oof

coarse cape
#

xD

mystic lily
#

it will download 1 day at a time then start getting 28-50 days in one

coarse cape
#

bruv my vscode isnt even open :/

#

discord extension in vsc goes brr

#

HOW IS THAT STATUS STILL ALIVEEEE

mystic lily
#

you got any ideas to fix it

#

yh

somber heath
#

Reece Witherspork.

mystic lily
#

yh i want it day by day

coarse cape
#

my cat gets a bird home almost every once 2 weeks

#

and shows it to me

#

and eats it

mystic lily
#

me ??

#

u dont need the api keys ether

#

im saying u dont need them to run it

summer gull
rugged root
#

Ah, gotcha

north tiger
mystic lily
#

but i wanted to do them one at a time i can do them all in one but dont seem to in a loop

brave steppe
somber heath
#

Arnold Schwarzeneggandbacon.

north tiger
#

precisely

#

why do I like while 0==0 idk

rugged root
#

But getting it first, especially if you plan on going through every day anyway, makes the most sense to me

mystic lily
#

ok ill try that

rugged root
#

@haughty pier There's only one solution: violence

#

Yep

#

Let the rage fuel the code

#

The Hulk

#

Bruce Banner

#

Oh right

#

Are .env files used in other languages?

#

Or is it purely a Python thing

zenith radish
#

it's ubiquitous

rugged root
mystic lily
#

@rugged root i think its the api

#

hes gone afk

#

i think but i ask the api for 150 days and i get 237

#

yh

whole bear
#

damn dude how many languages do you know @zenith radish

rugged root
#
f"{fromdate[2]},{fromdate[1]},{fromdate[0]}"
whole bear
#

wtf

#

how

#

oh yeah i forgot everyone isnt a shit beginner like me

#

true but it feels embarassing

modern tundra
#

dw I'm also a shit beginner

rugged root
#

No shame

#

That's why we're here to make you more comfortable with it all

modern tundra
#

very pog

whole bear
#

this dudes vscode looks so minimal

woeful salmon
#

String Interpolation~

whole bear
#

f strings r my favorite

modern tundra
#

I'm gonna act like I know what this stuff is

rugged root
#
Concatination
(fromdate[2]+','+fromdate[1]+','+fromdate[0])

.format() Method
"{},{},{}".format(fromdate[2],fromdate[1],fromdate[0])

F-strings
f"{fromdate[2]},{fromdate[1]},{fromdate[0]}"
modern tundra
#

interesting stuff

woeful salmon
#
age = 20

# string concatenation
print("your age is " + str(age))

# giving multiple values to print which it by default joins with a space in between
print("your age is", age)

# c style string formatting
print("your age is %d" %age)

# str.format() method
print("your age is {}".format(age))

# f-strings
print(f"your age is {age}")

whole bear
#

^^

#

the last one is my favorite

modern tundra
#

7w7
I definitely know what this is

#

yup

woeful salmon
#

its different ways to format strings

modern tundra
#

I know strings only as in string theory lol

whole bear
#

sorry

#

played it accidentally

#

music starts on login for me

modern tundra
#

das fine

woeful salmon
modern tundra
#

yes

#

I can't say that about any code I've written cuz I never did that but I had that a couple times when I was starting to figure out how to do 3d modelling

woeful salmon
rugged root
#

Wait, that's a thing?

woeful salmon
#

yep ^ where i first heard about it

modern tundra
woeful salmon
#

wait

#

that was knot theory

modern tundra
woeful salmon
#

i'm dumb

#

sorry my bad O_O

modern tundra
#

it's fine :>

#

soooo a while ago I looked into vacuum tubes and now my weird ass brain wants me to build a vacuum tube lel

woeful salmon
#

i feel so dumb now lol

modern tundra
#

I do all the time

woeful salmon
#

string theory is a theoretical framework in which the point-like particles of particle physics are replaced by one-dimensional objects called strings.

modern tundra
#

I know that

#

Owo

woeful salmon
#

πŸ‘€ i did too but i forgot

modern tundra
#

lol

woeful salmon
#

i'm not a physics major

#

i just like physics

modern tundra
#

I really wanna have a physics major in nuclear physics

#

maybe even a phd

wraith kernel
#

hi

modern tundra
wraith kernel
#

i feel as if that sounds scary

whole bear
#

@whole bear brother

wraith kernel
#

dont take it seriously @modern tundra

modern tundra
#

nah nah

#

it's fine

#

nuclear physics can be pretty scary

#

stares at alpha rays

wraith kernel
modern tundra
#

the tsar bomba was a hydrogen bomb

wraith kernel
#

but still that's dangerous as well

modern tundra
#

actually more dangerious than nuclear fision bomb

wraith kernel
modern tundra
#

wha

wraith kernel
#

nvm

modern tundra
#

wat that

#

you mean positrons??

#

that would be an antimatter bomb

#

which uhh

wraith kernel
#

its called

#

status 6 oceanic multipurpose system

#

smthing like that

modern tundra
#

no clue wtf that is

wraith kernel
# modern tundra no clue wtf that is

The Poseidon (Russian: ПосСйдон, "Poseidon", NATO reporting name Kanyon), previously known by Russian codename Status-6 (Russian: Бтатус-6), is an autonomous, nuclear-powered, and nuclear-armed unmanned underwater vehicle under development by Rubin Design Bureau, capable of delivering both conventional and nuclear payloads.

The Poseidon is one of the six new Russian strategic weapons announced by Russian President Vladimir Putin on 1 March 2018.[3]

modern tundra
#

OOOO

#

an rc nuclear sub

#

ye idrc about that stuff ngl
looking at the IAEA publications list is oddly a lot more interesting to me

#

lol

wraith kernel
#

oh ok

#

everyone is talking in VC 0

#

while we chatting in the chat

#

of vc 0

modern tundra
#

why am I far more entertained by designing a fucking PWR than watch a movie

modern tundra
wraith kernel
#

PWR

modern tundra
#

yes

#

Preasurized
Water
Reactor

wraith kernel
modern tundra
#

NOOO

#

NONONO

wraith kernel
#

im sorry if i thought that

modern tundra
#

the chernobyl plant has RBMK 1000s

#

Light water graphite moderated reactor

#

aka prone to violant unplanned disassembly and combustion

#

or in normal fucking words: melting down and exploding

rugged root
modern tundra
#

yup the same exact plant that exploded in 1986

modern tundra
#

it's perfect

wraith kernel
#

that ain good

#

a t a l l

rugged root
wraith kernel
#

which bot? @rugged root

#

oh

#

k understood

modern tundra
#

heyyyyy y'all wanna know why chernobyl decided to irradiate the whole world?

wraith kernel
#

below the reactor?

modern tundra
#

no

#

there was no steam explosion

#

I need you to know a couple terms:

  1. moderator (slows down and makes nuclear fision much much much more likely)
  2. coolant
  3. control rod
  4. scram
#

since rmbks aren't water moderated when the water boils off you have something called a positive void coifficient, basically the reaction speeds up cuz the water can both act as a moderator and neutron poison

#

so when they tried to conduct that test they ended up making the reactor go super critical and so they hit the scram button which shoved all the control rods in at the massive speed of half a meter per second, very slow
and those control rods have graphite at their tips, which is a goddamn moderator
So when they got inserted the bottom part of the reactor heated up so high the oxygen seperated from the hydrogen and proceeded to combust leading to VIOLANT AND UNPLANNED DISASSEMBLY

wraith kernel
#

what did you find?

wraith kernel
modern tundra
#

it fine

#

basically shit reactor design made reactor go boom

wraith kernel
#

its just im doing computational thinking

modern tundra
wraith kernel
#

aka proccessing what VC 0 says,what you said and other things

wraith kernel
#

i do hope i have

#

nvm

haughty pier
modern tundra
haughty pier
#

their disdain for Ukraine is legendary

#

Holodomor

wraith kernel
modern tundra
wraith kernel
#

i mean come on

modern tundra
wraith kernel
#

they're litterally going to kill themselves in a experiment

haughty pier
#

@wraith kernel their lack of concern for millions of lives they had already taken is also legendary.

wraith kernel
#

as well as other people

modern tundra
#

exactly, that's why area bombing doesn't work on totalitarian states

whole bear
#

hey guys

modern tundra
#

hola

wraith kernel
#

i prob wouldnt exist if a absolute explosion happened

modern tundra
#

again: the kremlin don't give a shit lmao

wraith kernel
#

in the middle of ukraine in a small village

haughty pier
#

It was North-Western Ukraine, which is totally expendable as far as they were concerned.

modern tundra
#

yup

wraith kernel
#

trust me

#

(small man knows the maths)

#

anyways

whole bear
#
def productOfArray(arr):
    if arr == null:
        return 0
    else:
        return 
haughty pier
#

I bet it helped incent the collapse of the USSR.

wraith kernel
#

small man shall check code

#

even though i have very little experience in coding

modern tundra
#

I have had enough social interaction for today
Until next time

haughty pier
#

"Let's lose these crazy Russians before they Chernobyl the rest of us" - the rest of the USSR, probably

rugged root
#
if not arr:
wraith kernel
#

@whole bear null isnt defined in python

modern tundra
#

later

wraith kernel
#

same @whole bear

#

im quite new to it

proper forge
#

Did we not use NONE in python?

wise cargoBOT
wraith kernel
#

inserts typing

whole bear
#

#   Created by Elshad Karimov 
#   Copyright Β© AppMillers. All rights reserved.

# productOfArray Solution

def productOfArray(arr):
    if len(arr) == 0:
        return 1
    return arr[0] * productOfArray(arr[1:])

print(productOfArray([1,2,3])) #6
print(productOfArray([1,2,3,10])) #60
wraith kernel
#

do you hate c @whole bear ?

whole bear
#

no

wraith kernel
#

oh ok

whole bear
#

i like C because

#

i wanna get into game dev at some point

wraith kernel
proper forge
wraith kernel
#

i wanna do game dev as well @whole bear

#

planning on doing CS and art for GCSE

#

wait you say minecraft @rugged root

#

i ask cuz you lot talking about minecraft mods

#

and man likes minecraft

whole bear
#

facts

wraith kernel
#

f a c t s

proper forge
wraith kernel
#

triple a???? @whole bear

whole bear
#

like a big company

wraith kernel
#

im glad the era of gaming still exists and that its big

#

whats the name @whole bear

#

of game

whole bear
#

MGS2

#

Metal Gear Solid 2

wraith kernel
#

i remember there was a game that a company developed for around 6-7 years

#

no joke

rugged root
#

That's been a thing multiple times

#

You thinking Duke Nukem Forever?

wraith kernel
rugged root
#

Hold on, let me look at the development time for that

wraith kernel
#

i know its a game like cod

#

and fortnite

rugged root
#

1996 to 2011

wraith kernel
rugged root
#

Gotcha

proper forge
rugged root
#

It's not good

#

It's really not good

wraith kernel
#

around 2013-14 to 2020-2021

proper forge
#

oh

rugged root
#

Hmm, not sure on that

#

Not that are like the one you described

wraith kernel
#

they made a trailer on yt

#

idk if they still have the trailer on there

#

but it was yes?

proper forge
#

The only trailers I found were 10+ years ago

wraith kernel
#

lemme find it

proper forge
#

ok

wraith kernel
#

temp need to go somewhere brb in 2 min

proper forge
#

...

wraith kernel
#

im back

#

something happen when i went?

proper forge
#

Just some off-topic discussion

rugged root
#

Pretty much. Sin talking about his job, now Clari doing the same

wraith kernel
#

@willow light i do hope he understands pactience

#

welcome back @whole bear !!

whole bear
#

hi!

wraith kernel
#

hmmmmmmm

#

does electricity require coding?

willow light
#

I spent yesterday teaching my team’s tech lead urllib

wraith kernel
#

just wishing to know

#

welcome back x2 @whole bear

proper forge
rugged root
wraith kernel
#

or traffic lights

#

or solar wind things idk what you call them

#

wait 2 starts from 3 @rugged root

#

how so?

proper forge
#

Some of its components probably

#

I know military equipment requires some heavy coding

wraith kernel
#

wait

proper forge
#

???

wraith kernel
#

now that i think about it ive learnt something

proper forge
willow light
#

I would add assert len(arr) >= 0 to make sure your array doesn’t have a negative number of elements lol

wraith kernel
#

think about it

#

it loops again and again

#

and doesnt stop

proper forge
#

Yea

wraith kernel
#

red , yellow , green , yellow , red , yellow , green , yellow , red

#

its like that

#

no no

#

its red yellow green

wraith kernel
#

red means stop

#

green means go

wraith kernel
#

a gap @whole bear ?

whole bear
#

like when you take time off

wraith kernel
#

@whole bear im a be honest

#

these years have been the gaming years

whole bear
#

xD

wraith kernel
#

gaming is at its highest point

whole bear
#

facts

proper forge
rugged root
wraith kernel
#

people are playing games

rugged root
#

That'll tell you what you need to know

versed basin
#

thanks

wraith kernel
#

people vibin and building in minecraft

#

raging in fortnite

#

try harding in cod

#

and sussing each other in among us

proper forge
#

LOL

#

Don't forget PUBG

wraith kernel
#

im young for twitter and facebook

#

@whole bear excuse me wot now

#

i disaprove of littering

proper forge
#

It has been months since I last opened Facebook. God knows how many notifications for stack in there

wraith kernel
#

and i denounce plastic

#

absolutely disgraceful

#

and

#

i also denounce your rubber duck @rugged root

rugged root
#

How dare you

wraith kernel
#

nothing personal

rugged root
#

So rood

proper forge
#

I got no anime figures

wraith kernel
#

anime is alright

#

i just dont like the haram parts

rugged root
#

Totally read that as haram pants

proper forge
#

This server does not happen to be anime crazy

wraith kernel
#

ill say mashallah if you get a job @whole bear

#

cuz i congratulate you on getting a job

willow light
wraith kernel
#

yes if you dont research your unprepared unless you have notes

proper forge
#

I would love to connect with you in linkedin

whole bear
#

ok

#

ill dm my link

proper forge
#

ok

willow light
#

Haskell

#

Not hectoPascals

proper forge
#

Still student

willow light
#

β€œPascal” lol

rugged root
#

Well done, Clari

proper forge
#

So I am thinking to learning Machine Learning using Python. I will also learn some basic SQL. So, do I need to improve in any other programming language. Or anything else that increase my chance of getting job?

boreal maple
#

is there any spanish native who can help me with my homework please :p

woeful salmon
#

you need html and css either ways injected through javascript or not

rugged root
#

Although if you're using frames you can minimize the need for those

#

But they're still part of the HTML 5 triangle

willow light
#

CSS zen garden is a useful tool too

wintry pier
#
function html() {
  var body = document.createElement('body')
}
html()
#

hhh

woeful salmon
#

i look at tutorials more for the process rather than the application they are making in the tutorial
its fun to just look at how people think while coding a particular thing and how they structure their code

wintry pier
#

problem of javascript you cant run it just call it

wintry pier
#

you need node

#

to run it

woeful salmon
#

you can run it in your browser console too just fine

rugged root
#

You can run it locally. Just make a dummy HTML page and load it through that

wintry pier
#

yeah browser

#

without html or browser

#

like react

rugged root
#

Right

wintry pier
#

react use node

#

to run it

woeful salmon
#

and for any other language you need a compiler or interpreter

willow light
#

Although I prefer deno with opine and react

wintry pier
#

like python you cant run it like c++

#

or c

woeful salmon
#

i tried deno yesterday actually

rugged root
#

Technically you can

woeful salmon
#

think i just like node more for now

wintry pier
#

cython

rugged root
#

Numba

willow light
#

I like deno better because I like typescript better

wintry pier
#

javascript is the parent

woeful salmon
#

well if you mean you can't make an executable

#

you can using pyinstaller or py2exe

wintry pier
#

i mean like boot it

#

not click to run

rugged root
#

I'm not sure what you mean by boot it

#

Like on a kernel level?

#

It's not really made for that

woeful salmon
wintry pier
#

find()

#

$()

#

vn.on

#

you can wait until element show

#

like queryselectore

woeful salmon
#

without needing jquery?

#

wrong screenshot lol

wintry pier
#

i dont think so

stuck furnace
#

Hello

wraith kernel
#

hi

wintry pier
#

is specified for jq

stuck furnace
#

But also goodbye as food is done cooking πŸ˜„

wraith kernel
#

before i go again

#

@rugged root i do apologise if for 5-15 mins i afk'd here

woeful salmon
#

there that

wraith kernel
#

thats all

woeful salmon
#

$0 is your current selected element

#

$(".class_name") is normal jquery

#

you can use these in browsers without having jquery
i think in every browser except for the piles of garbage callled IE and safari

willow light
#

I'll take an assert over a raise.

def some_function(x):
  assert x, "error, no x provided"
  pass

or

def some_function(x):
  if not x:
    raise Exception("Error, no x provided")
  pass

which one is better @rugged root ?

wintry pier
#

i think browser have jq

woeful salmon
wintry pier
#

is cool and easy for loop or ...

#

if is not x ?

willow light
#

although the way i usually do it at work is

def some_function(x):
  try:
    x
  except SomeException as se:
    logging.exception(se)
#

because that's the agreed-upon best-practice

willow light
#

Not the way I personally would like to do it, but the team has voted on it.

stiff dawn
#

Ψ³Ω„Ψ§Ω… ΨΉΩ„ΩŠΩƒΩ…

brave steppe
#

Good argument from this original thread:
https://mail.python.org/archives/list/python-ideas@python.org/thread/T26DR4BMPG5EOB3A2ELVEWQPYRENRXHM/

I was actually thinking exactly the opposite: this would more useful in
production than in testing.

When I'm testing, tests build on each other. I should know that the
inner parts work, and I should be testing specific aspects of the outer
parts. If I don't have confidence in those inner parts, then I need to
write more tests against them. If I don't "know" where the data comes
from in my assertions, then my tests are trying to test too much at
once.

On the other hand, weird things happen in production, and my first
reaction to "this shouldn't happen unless there's a bug" are is to start
looking in the logs at how we got there. These power assertions are
like a retroactive or JIT logging mechanism (in the sense that I may not
have logged enough detail), or a sort of first order run-time debugger
that shows me what's relevant at the point of the failure.

As far as the extra cost goes, how does that cost compare to the full
stack trace I already get from the exception being raised?

woeful salmon
#

for me i just find pytest much simpler both to read and write tests in

brave steppe
#

The net-cost of these power asserts would probably (just a guess) be lower than having a bunch expensive logging everywhere in your code

#

Why do asserts not belong in production code, but log.debugs do (even though they're 100% of the times disabled)?

woeful salmon
#

πŸ‘€ just get pipenv

willow light
#

I use conda-forge because I know it works and it hasn't betrayed me yet, unlike, say, Apple Maps.

brave steppe
willow light
#

I am trying to pivot back to pip, though.

#

Mostly because that's what most of the hosted jupyter solutions use. AFAIK only Datalore uses Conda.

woeful salmon
#

πŸ‘€ meanwhile there's ppl who write scripts that download and compile the version of python you tell it to and makes a venv with your prefered modules with latest minor versions
100% not me....

willow light
#

and then there's me, where I just say "screw it, dockerize everything"

rugged root
#

I'm probably wrong then, fair enough

woeful salmon
#

i still wouldn't share that script tho cuz it only works with my specific setup cuz microsoft can't make it simple to use their compiler and i don't like using their provided developer versions of cmd, powershell

cosmic lark
#

is this server partnered with discord or something?

#

@rugged root

brave steppe
# rugged root I'm probably wrong then, fair enough

I get the point of being restrictive with asserts, but I must say I like the comparison with log.debug.

It is for testing but good to see even in production when a bug is ran into. For me the option is either "assert that asserts an assumption I have" or "obscure bug with complexing error because I made an incorrect assumption"

brave steppe
cosmic lark
willow light
#

I like to use asserts for input validation mostly.

brave steppe
willow light
#

Where I want the script to fail if the input is wrong.

#

Really punish the user for screwing up.

cosmic lark
#

ok and how many types of servers are there? is there a category for verified servers as well?

willow light
#

Yes I am that sadistic sometimes.

brave steppe
willow light
#

But that involves more typing. What is this, Java?

#

/sarcasm

#

I'll probably use it less and less for input validation now that we finally have the green light to use FastAPI in production.

#

Which has validation built-in

stuck furnace
#

I'm always tempted to write multi-line error messages.

brave steppe
stuck furnace
brave steppe
#
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: I enjoy long errors that take a lot of screenspace. Example errors are the way to go
#

Errors should generally be as concise as possible in my opinion

stuck furnace
#

Oh right.

#

!eval ```py
import textwrap

if True:
if True:
raise Exception(textwrap.dedent("""
The main error message.

            Here is a longer elaboration.
            Etc.
            Etc.
    """).strip())
wise cargoBOT
#

@stuck furnace :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 5, in <module>
003 | Exception: The main error message.
004 | 
005 |     Here is a longer elaboration.
006 |     Etc.
007 |     Etc.
stuck furnace
#

How about something like this πŸ˜„

#

Yeah, I just made it up.

#

Maybe it will catch on Β―_(ツ)_/Β―

#

Trailblazer πŸ˜„

brave steppe
#

!otn a trailblazer-lx

stuck furnace
#

Like me?

willow light
#

oh god that plays for all users?

stuck furnace
#

I do. It calls me "sixty".

#

Yeah, I'll stop using that as it's annoying.

willow light
#

The window wasn't even open, I got it in the middle of a game.

stuck furnace
#

Must have been pretty confused.

willow light
#

Scared the hell out of me lol

brave steppe
#

gtg y'all

sweet lodge
#

πŸ‘‹

tiny socket
#

@rugged root

woeful salmon
#
[CmdletBinding()]
param (
    [Parameter(ParameterSetName = "New", Mandatory = $true, Position = 0)]
    [switch]
    $New,
    [Parameter(ParameterSetName = "New", Mandatory = $true, Position = 1)]
    [string]
    $ProjectName,
    [Parameter()]
    [string[]]
    $Dependencies,
    [Parameter()]
    [string[]]
    $DevDependencies = @("black", "flake8", "isort"),
    [Parameter()]
    [string]
    $Version = "3.9"
)

# Check if project should be initialized in current dir or a new one.
$ProjectFolder = $PSScriptRoot



if ($New -eq $true) {
    $ProjectFolder += "\$ProjectName"
    New-Item -Type Directory -Path $ProjectFolder -Confirm -ErrorAction Stop | Out-Null
    Write-Output "`e[32;1mCreated Project Folder`e[0"
}


New-Item -Type Directory -Path "$ProjectFolder\src" -ErrorAction Stop | Out-Null

# Create venv an install all dependencies.
py -$Version -m venv $ProjectFolder\.venv `
    && Write-Output "`e[32;1mVenv Created`e[0" `
    && . "$ProjectFolder\.venv\Scripts\Activate.ps1" `
    && if ($Dependencies -ne $null) {$Dependencies.ForEach{ pip install $_ }} `
    && $DevDependencies.ForEach{ pip install $_ }`
    && Write-Output "`e[32;1mInstalled Dependencies`e[0"

-> i got bored so made another project creation script

#

this one isn't very complex tho

#

@haughty pier 2am i think i'm gonna sleep now goodnight πŸ’€

haughty pier
#

@woeful salmon ciao and good night!

willow light
#

I like it with a lot of sauce lol

lofty ivy
willow light
steady mesa
#

Hello!

whole bear
#

can someone please help me ?????? this just started happening

#

yes

#

my bot is broken bc of this

#

minutes ago it was working just fine

#

k

loud raptor
#

can anyone help me with JSON files

whole bear
#

this is fucking shit

whole bear
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied mute to @vocal zephyr until <t:1632964183:f> (9 minutes and 59 seconds) (reason: burst rule: sent 8 messages in 10s).

vocal zephyr
#

someone general??

eternal vine
#

yes

somber heath
#

!e py import numpy as np import math print(*np.linspace(-math.pi, math.pi, 30))

wise cargoBOT
#

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

-3.141592653589793 -2.9249310912732556 -2.708269528956718 -2.4916079666401805 -2.2749464043236434 -2.058284842007106 -1.8416232796905683 -1.624961717374031 -1.4083001550574934 -1.1916385927409558 -0.9749770304244185 -0.758315468107881 -0.5416539057913434 -0.3249923434748059 -0.10833078115826877 0.10833078115826877 0.3249923434748063 0.5416539057913439 0.7583154681078814 0.9749770304244185 1.191638592740956 1.4083001550574936 1.6249617173740312 1.8416232796905687 2.0582848420071063 2.274946404323644 2.4916079666401814 2.708269528956718 2.9249310912732556 3.141592653589793
forest zodiac
#

!e

import math
print(math.pi)
wise cargoBOT
#

@forest zodiac :white_check_mark: Your eval job has completed with return code 0.

3.141592653589793
sick yacht
#

Hey

#

It's fine

#

Sry

forest zodiac
#

os

stoic rapids
#

ok 1 sex

#

sec

#

wow ok i guess i wont be talking for a while

#

@somber heath you sound like the udemy course guy

#

you know who im talking about?

#

oh tim buchalka

#

well i guess i just wait

#

man i wish i could talk

round prawn
#

Hi @somber heath

stoic rapids
#

i mean how oftem do people abuse there mic in a python discord

#

yeah i understand i am just looking for programmers to talk to

#

at that point just yeet it and get a new one

#

yeah ive just been doing cable management today

#

yeah im just bored at this point

#

yeah im poor too

#

how long have yall been doing python for?

#

damn bro

#

ive only been doing it for 1 week

#

learn what?

#

gotta get to 50 meassages so yeah

#

yeah thats crazy but ive gotten rid of the 3 10 min

#

i just help and give bad advice

#

/s

#

how do i do the code box

#

so i can paste

#

is it the 3 """

robust quiver
#

Hello????

#

anyone here?????

coarse cape
#

hey

robust quiver
somber heath
#

!code @stoic rapids

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.

sinful igloo
#

Yoo

#

@somber heath

#

Voice chat 0

#

How you doing

#

Dude

shut cypress
#

hi

sinful igloo
#

Who is shooting this loud

shut cypress
#

i cannot voice

sinful igloo
#

Me too

#

I am still not able to do it

shut cypress
#

@somber heath

#

ok

sinful igloo
#

When you become so loud @somber heath

shut cypress
#

i want to use voice

sinful igloo
#

Ok

#

Now better

shut cypress
#

i am

#

south korean

sinful igloo
#

I am an Indian

#

Youtuber

shut cypress
#

i am

#

youtuber too

sinful igloo
#

But sound like American or British or Australian

shut cypress
#

oh

#

ok

sinful igloo
#

Opal is like kinda Australia

#

@somber heath You sound like an Australian

#

Opal are u alright

#

@somber heath are u there!

shut cypress
#

i am watching aws

sinful igloo
#

That dude joined and left

shut cypress
#

online conference'

minor latch
#

!e

#

!e

wise cargoBOT
#
Command Help

!eval [code]
Can also use: e

*Run Python code and get the results.

This command supports multiple lines of code, including code wrapped inside a formatted code
block. Code can be re-evaluated by editing the original message within 10 seconds and
clicking the reaction that subsequently appears.

We've done our best to make this sandboxed, but do let us know if you manage to find an
issue with it!*

sinful igloo
#

My Freind and me working on an code right now

shut cypress
#

hey @somber heath can you accept friend?

somber heath
#

Could. Won't. Sorry. πŸ™‚

shut cypress
#

oh thanks

sinful igloo
#

My lord

#

Our code was about to get crashed

#

Hello Monker,

round prawn
#

Hi

shut cypress
#

hi

sinful igloo
#

We are doing the calculator now

#

Opal

#

My lord the calculator code was the hugest platformer in the history

round prawn
#

.-.

somber heath
#

πŸ™ƒ

shut cypress
#

bi i have to go

sinful igloo
#

Opal

#

@somber heath

#

Hi

#

Hi buddhu

#

Opal, I think IA m kinda getting good at python

#

Thx

#

And in 2 days my birthday

#

Hi, Head note

#

Actually

#

After 2 days

#

I will be allowed Ig

#

Yep

#

I would kicked or banned

#

Yea

rustic coral
#

need help with scss in django

#

kk np

#

k

lusty bough
#

Hello, I don't think I have enough chats 😦

sinful igloo
#

Hi

lusty bough
#

damn. What are you up to? πŸ™‚

#

yes.

#

See if I can grow my chat organnically this way lol

#

Great stuff.

#

Nice work. Do you worth with Python?

sinful igloo
#

Hi

sinful igloo
lusty bough
#

@sinful igloo Hello

sinful igloo
#

Hello

lusty bough
#

That's cool. I'm in the same boat. Python as a hobby and not professional. hOw long have you been using Python for?

sinful igloo
#

Like 1 or 2 days

lusty bough
#

Very impressive πŸ™‚ I've been learning Python for 1 year here or there.

sinful igloo
#

Nice

#

You should have much experience

#

Than me

lusty bough
#

Not at all. I am learning django.

sinful igloo
#

Oh

lusty bough
#

@sinful igloo do you have experience with other languages?

sinful igloo
lusty bough
#

That's right, @somber heath, what are you delving into with Python?

#

Hah I was never a fan of Quintine Tarentino (I don't think he is bad, I just can relate to this movies).

sinful igloo
#

I am trying to go with the Ai Learning Algorithm of my first project which I am working

lusty bough
#

Wow taht is very impressive. Do you have anything you could share?

sinful igloo
#

Yea

#

I will call him

#

SB

#

Hi, Hello World

#

Study Bot

#

SB

#

Which includes my name

lusty bough
#

@somber heath how were you able to check messaging stats?

sinful igloo
#

My Real Name starts with S

#

And B is my initial

somber heath
sinful igloo
lusty bough
#

Interesting.

#

hmm have you heard of GANs?

#

yes.

sinful igloo
#

I think you like the mixing colour

lusty bough
#

oh that's cool.

sinful igloo
#

@somber heath Are u an artist in any sort?

lusty bough
#

can we share youtube links on here ?

sinful igloo
#

Even me logo kinda looks like this

#

The middle part

lusty bough
#

yeah! man

#

that's so cool man.

#

and unique. I love it.

sinful igloo
#

Thx

#

Actuall my channel name was to be 1 Guy 1 View

lusty bough
#

well.. I've never heard of this using python for art.

#

so I think this is cool πŸ™‚

sinful igloo
#

Not python

#

I don’t know whether we can make art in python

lusty bough
#

Not github haha?

sinful igloo
#

Ok

lusty bough
#

Example of GAN if interested.

sinful igloo
#

See ya

lusty bough
#

crazy. won't need actors anymore lol.

#

I think there is also this protein does not exist or something?

#

sorry chemical haha

sinful igloo
#

Hahah

lusty bough
#

Have you ever sold your art?

#

Also how many chats am I on haha?

sinful igloo
#

@somber heath the thing like from you is your laugh dude

#

It is so funny I can’t even stop laughing

#

@somber heath have you ever used an search engine in your codes

#

Ooh

lusty bough
#

oo thank you

sinful igloo
#

It is 12:45 PM for me

#

I Dmion

lusty bough
#

I'm getting there. the 3 x 10 min spans might be a problem

#

damn haha

#

yeah man

#

fingers crossed.

#

I guess they need to do this so they don't get spammers etc..

#

so totally understandable.

#

yeah it's really annoying.

sinful igloo
#

@somber heath What is your most hardest project in your career of python coding?

lusty bough
#

yeah so I totally agree with what they ahve done.

sinful igloo
#

Hi ShivanS

#

I will be verified by Tommorow

#

@somber heath Have faced any issues with import function?

lusty bough
#

ahhhhh damn lol.

sinful igloo
#

Bcuz I faced one

#

Yesterday

#

I don’t know it is going to wokr

#

But still fixing

#

I drank cinnamon coffee yesterday

#

Hi Ed

#

@somber heath what do you think about cinnamon coffee?

#

It is from Columbia

#

Let me take screenshot of the my moms mini kitchen at the dinning table