#voice-chat-text-0

1 messages Β· Page 1043 of 1

chilly dragon
#

or maybe not

autumn forge
#

because @chilly dragon is legenderry πŸ˜„

chilly dragon
#

Lets light this Dumpster Fire

autumn forge
#

he can help you anything you need

#

πŸ˜„

chilly dragon
#

Dumpster fire means - We have total catastrophe

fresh python
#

πŸ‘Œ

chilly dragon
#

I believe in YOU @fresh python

autumn forge
#

trust yourself πŸ˜„

chilly dragon
#

leave .gitignore alone... Finish tutorial

#

This is a complex tutorial btw

#

pseudo code means - Code that has no function

#

I think you were right.. Baby steps

#

python sys library is the system lib to access system level stuff

#

@fresh python ensure you have all python dependencies first

#

Baby steps

#

Sys is already loaded

#

sys is apart of the standard python library

#

FREEEEEE

#

πŸ˜†

#

"No I don't wanna PAY" - @fresh python 2022

fresh python
#

raji

#

rajje-01

autumn forge
#

πŸ˜„

#

move inside src folder

#

πŸ˜„

#

read it πŸ˜„

#

check @fresh python

#

alo πŸ˜„

#

call @fresh python i dont have mic

#

πŸ˜„

#

kkk

chilly dragon
#

I'm back

autumn forge
#

@wind raptor

wind raptor
fresh python
#

lulu

#

move what

autumn forge
#

cd src

#

πŸ˜„

fresh python
#

idk what is these errors related

autumn forge
#

just can not import error

autumn forge
#

because i dont have permision to use voice chat

chilly dragon
#

Its most likely a nested import

autumn forge
#

routes/user_db

autumn forge
#

dont have destroy πŸ˜„

chilly dragon
#

i don't have a mic.. switching to laptop

autumn forge
#

yup

#

kkkk

#

:d

#

:d :d

#

@wind raptor are you using flask or dijango ?

#

or what with python

#

oh

fickle crater
wind raptor
#

I'll check it out

#

@fickle crater

fickle crater
wind raptor
#

@zenith radish tree sitter?

blazing beacon
#

Hey guys can you help me out here?

f = open('./Bsp Files/07-1.ASC', 'r')
for line in f:
    line.replace('\t', ' ')
    print(repr(line))

f looks like this:
'Isotope\tIntensity AVG\t\tIntensity RSD\t\tIntensity STD\t\tB cor / IS cor AVG\t\tB cor / IS cor STD\t\tB cor / IS cor RSD\t\tIntensity B cor AVG\t\tIntensity B cor STD\t\tIntensity B cor RSD\t\tConcentration AVG\t\tConcentration STD\t\tConcentration RSD\t\tFlags\t\t\n'
'\t[cps]\t\t[%]\t\t[cps]\t\t\t\t\t\t[%]\t\t[cps]\t\t[cps]\t\t[%]\t\t\t\t\t\t[%]\t\t\t\t\n'

#

The replace() doesn't work and idk why

azure surge
#

Cool

chilly dragon
#

keychron

fiery bone
#

kkk

chilly dragon
#

anyone tried Julia?

terse needle
#

they have a resources channel

chilly dragon
#

Is there a Rust discord?

terse needle
#

the official one isn't very good so I discourage it a bit

#

just a bit dead

chilly dragon
#

TY, I wish i knew this months ago

terse needle
chilly dragon
#

"mucking around" , That part πŸ˜†

#

methods are functions correct

somber heath
#

Ish ish.

chilly dragon
#

yes just words πŸ˜†

somber heath
#

!e ```py
class MyClass:
def function_or_method(self):
pass

mc = MyClass()
a = type(MyClass.function_or_method)
b = type(mc.function_or_method)
print(a)
print(b)```

wise cargoBOT
#

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

001 | <class 'function'>
002 | <class 'method'>
chilly dragon
#

functions are class functions

#

methods are instance functions

#

I too am as old as the stars πŸ˜†

#

11:26AM - USA EST

terse needle
#
fizz_buzz <-|
  $0 15 % not -> "FizzBuzz"
  $0 3 % not -> "Fizz"
  $0 5 % not -> "Buzz"
  $0

@1..30 [$0 fizz_buzz OUTPUT] lambda map
zenith radish
zenith radish
#

corfu-auto-delay 0

lavish rover
zenith radish
#

bruh

terse needle
zenith radish
#

huh

#

why so difficult

#

do i just buy it?

terse needle
lavish rover
zenith radish
#

@terse needle wtf how long does a cuppa take

terse needle
zenith radish
#

xdd

long quiver
#

Gotta send me phyton couse

#

I eould love that

#

would

warped raft
#

hello

fiery bone
#

Anyone uses cdn within Django ?

silver sluice
#

hi @wind raptor

#

Im servermuted, I just joined the server lol

#

ye

#

ye ye

#

50 messages 3 days, etc

#

all good

#

ye

#

Im just trying to get tesseract working

#

OCR

#

yes

#

trying to make a specific config but I literally know nothing about python lol

#

ye

#

java

#

so its not taht hard

#

yes

#

lmao true

#

unless they want to make minecraft mods

#

I learned ahk by myself

#

before java

#

autohotkey

#

ye

#

idk waht language its based on

#

or if its a language by its self

#

anyways, Im just trying to make a script that uses ocr

#

with the :: and :-?

#

ah

#

idk about visual basic

#

havent bothered with it, I only know a bit of java and ahk

#

and html; css (we have them at school)

#

ye

#

Im 17

#

rn its summer break

#

nah, Im still learning

#

Im from Bulgaria

#

nice

#

sooo useful that I havent heard abt it

#

jk

#

damn, nice

#

wait

#

Im trying to get it working and scan text and then save it to a .txt file that is read after that by a .jar file and filters it and saves it into another txt

#

and using ahk to start the jar and what not

#

ye

#

I import a picture, it scans the text in it and outputs it

#

but I want to make it save a lot of text and go trough a filter and then save only the text I need

#

but with no experience in python and ocr its tricky

somber heath
#

I've had some success with EasyOCR.

#

Yea.

silver sluice
#

ye, probably starting with EasyOCR would have been better for me

somber heath
#

I don't know which has better accuracy.

#

Or how they compare.

silver sluice
#

lol

wind raptor
#
import easyocr
reader = easyocr.Reader(['ch_sim','en']) # this needs to run only once to load the model into memory
result = reader.readtext('chinese.jpg')
silver sluice
#

ye, but i have to config it for my specific use

#

like, the text Im scanning has a lot of background colors and its rotated and what not

#

before learning abt ocr I wanted to try getting some Capcha v1 breaker whatever code

somber heath
#

95% preprocessing and cleaning shit up, 5% actual OCR.

silver sluice
#

Ill try the easyocr

#

tesseract has the option to train it though, thats what I wanted to try

#

nah, Im not using it for that

#

Im trying to make it extract only what I care about from many pictures and screenshots and what not

#

for personal use

somber heath
#

!e py print(dir(print))

wise cargoBOT
#

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

['__call__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__name__', '__ne__', '__new__', '__qualname__', '__reduce__', '__reduce_ex__', '__repr__', '__self__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__text_signature__']
magic kiln
silver sluice
#

Hey @somber heath

silver sluice
wind raptor
#

Chinese simplified

somber heath
#

!e ```py
def func():
print("Hello.")

func()```

wise cargoBOT
#

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

Hello.
silver sluice
#

installing easyocr package takes ages for me

somber heath
#

!e py v = print("Hello, world.") print(v)

wise cargoBOT
#

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

001 | Hello, world.
002 | None
silver sluice
#

might be small but

#

it has a great personality

magic kiln
silver sluice
#

Linux distribution?

#

whats Jupiter

#

aaaaah

somber heath
#

Jupyter Notebooks.

silver sluice
#

alr, alr

#

epic

#

nice

#

Im using PyCharm rn

#

for python

#

Im new to python

whole bear
#

how to do voice chat because im not verified by voice

#

HELP plox

silver sluice
#

and wait 3 days

whole bear
#

-_-

#

i need help can someone help me

silver sluice
#

I also just joined

silver sluice
#

jk, #help-whatever is free

#

or smt

somber heath
whole bear
#

:(((

silver sluice
#

I think its there

#

nvm, mb

whole bear
#

main problem is how to type in teminal

#

for input

#

😦

silver sluice
whole bear
#

-_-

silver sluice
#

Im new to Python lol

whole bear
#

XD

somber heath
#

!d import

wise cargoBOT
#

7.11. The import statement


import_stmt     ::=  "import" module ["as" identifier] ("," module ["as" identifier])*
                     | "from" relative_module "import" identifier ["as" identifier]
                     ("," identifier ["as" identifier])*
                     | "from" relative_module "import" "(" identifier ["as" identifier]
                     ("," identifier ["as" identifier])* [","] ")"
                     | "from" relative_module "import" "*"
module          ::=  (identifier ".")* identifier
relative_module ::=  "."* module | "."+
```...
silver sluice
#

@wind raptor

#

You have a sexy voice

#

anywayss

#

Im not wrong though, am I?

somber heath
#

!pypi django

wise cargoBOT
#

A high-level Python web framework that encourages rapid development and clean, pragmatic design.

somber heath
#

!pypi flask

wise cargoBOT
#

A simple framework for building complex web applications.

wind raptor
#

!e

import random

for x in range(5):
    print(random.randint(0, 10))
wise cargoBOT
#

@wind raptor :white_check_mark: Your eval job has completed with return code 0.

001 | 4
002 | 5
003 | 7
004 | 8
005 | 0
silver sluice
#

Im watching videos on YouTube for ocr, so ima head out

#

cya o/

somber heath
#

But maybe someone here is.

magic kiln
#

@reef raven

wind raptor
lavish moss
#

hi

dense ibex
#

@terse needle what happened πŸ˜”

terse needle
#

Clearly I am dead

lavish moss
#

?

sage bramble
#

haha

lavish moss
#

what wrong bro?

frozen owl
# wind raptor <@632762189257768960> https://www.jhanley.com/pyscript-files-and-file-systems-p...

JsException(PythonError: Traceback (most recent call last): File "/lib/python3.10/asyncio/futures.py", line 201, in result raise self._exception File "/lib/python3.10/asyncio/tasks.py", line 232, in __step result = coro.send(None) File "/lib/python3.10/site-packages/_pyodide/_base.py", line 500, in eval_code_async await CodeRunner( File "/lib/python3.10/site-packages/_pyodide/_base.py", line 351, in run_async coroutine = eval(self.code, globals, locals) File "", line 41, in NameError: name 'file_event' is not defined )

magic kiln
#

$env:FLASK_APP = "main"

wind raptor
#

!paste @frozen owl

wise cargoBOT
#

Pasting large amounts of code

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

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

frozen owl
#

@wind raptor

frozen owl
fickle parcel
#

no lol

#

fckn voice verify

frozen owl
frozen owl
fickle parcel
#

looks dangerous

whole bear
#

the amount of errors reminds me of cpp

#

gg

fickle parcel
whole bear
#

energy drinks R the best

whole bear
#

Ρ‚Ρ‹ ΠΏΡ€Π°Π²

fickle parcel
#

Ρ‚Π°ΠΊ

whole bear
#

Ρ‚Π°ΠΊ Ρ‚Π°ΠΊ

#

russia

#

LOL wtf r the parts

wind juniper
#

🀣

whole bear
#

man russia is literally losing after being so narcissistic about its army

fickle parcel
#

all russia is losing

whole bear
#

why flask not django

wind juniper
#

Flask is simpler, apparently

whole bear
#

actually I dont thats y im asking

fickle parcel
#

hard home flask amateur video

#

why python

#

php for web!

whole bear
#

yeah I was wondering cus django is more popular here on jobs

wind juniper
#

to play with fighter jets

fickle parcel
#
  • hello, u r applying for junior Python developer, can u show us double sided binary tree using all OOP paradigms without for loop? It is easy, innit?
wind juniper
#

@magic kiln, where did you grow up?

#

200 pounds

fickle parcel
#

@frozen owl and where are u from?

whole bear
#

thats pretty cool to make jetts

fickle parcel
#

UK?

whole bear
#

Oh

frozen owl
whole bear
#

australia

fickle parcel
#

Angola

#

imho best place in the whole world

#

but its easy just to paint aircraft with special paint

#

and no radars

frozen owl
#

@magic kiln is your fav word "fuc"?

#

i see

wind juniper
#

oh, I know that one

#

It's the guy from occulas

fickle parcel
#

its BELARUS baby

#

yeah

whole bear
#

mit student: oh yeah if we created this nuclear bomb with a size of a pen that could went to hospital in syria that would be awesome

fickle parcel
#

I cant imagine zoom of secret military cameras

heavy bridge
#

learning python means that you'll never be out of work

#

clojure developers are also a population of 50 people

#

ice cold take

#

@rugged tundra we use django at work, fite me

magic kiln
fickle parcel
#

surgeon salary with 10+ years experience

#

all about coding came from India

wind juniper
#

wdym

whole bear
#

netstalking πŸ•΅οΈ

heavy bridge
#

cmake

#

meson if you're a hipster

sage bramble
#

compiler

whole bear
#

you just debug n it saves exe

fickle parcel
#

twenty seconds of coding theory - 345 pounds

heavy bridge
#

that just uses msbuild instead of another build system

wind juniper
#

@magic kiln, your VSCode is doing it for you

heavy bridge
#

visual studio uses msbuild behind your back to build your executable

wind juniper
#

but it gets complicated once you have many dependencies

heavy bridge
#

analogy fail

magic kiln
#

yeah im kinda confused

#

xD

#

πŸ˜‚

#

joe exits conversation

#

anyone know how to use flask?

#

wanna teach me a lil more

heavy bridge
#

what have you tried regarding debugging that

wind juniper
#

hmm, there are many good tutorials out there that can help you

sturdy panther
#

vcpkg seems to be quite popular

magic kiln
#

yeah i just like being able to ask questions along the way

sage bramble
#

testing is so boring, i have never done it

heavy bridge
#

vcpkg is a package manager right? not a build system.

wind juniper
#

ah, got it

#

I am a webdev noob myself

heavy bridge
#

it's really good at being able to answer questions about existing code

magic kiln
#

where can i find that?

heavy bridge
magic kiln
#

thanks

heavy bridge
#

@zenith radish consider the fact that there are billions of possible combinations

whole bear
#

I think cpp is pretty fun

#

python feels too light to me even with all the complicated things you can make, the syntaxis just not it for me lol

heavy bridge
#

building as a concept is pretty broken in C++land due to decades of legacy

sturdy panther
#

There is also ninja, I think.

heavy bridge
#

because rust+cargo is greenfield

#

ninja is not a build system

#

it's a build tool

#

tbh if you learn python + django, you'll never not have a job

sage bramble
#

flutter uses rust ?

heavy bridge
#

stop hating

#

start enjoying

#

or build your own :^)

#

build your own build system

zenith radish
#

I'm considering it tbh

#

Make one in something like scheme

whole bear
#

Honestly depends on how curved it is might just be uncomfortable

heavy bridge
#

360 degrees

whole bear
#

A whole circle around ur head

heavy bridge
#

saem

#

doom emacs = best

zenith radish
#

^^^^^

heavy bridge
#

of course

#

emacs gigachads unite

#

M-x emacs-uptime
1 day, 23 hours, 29 minutes, 14 seconds

#

i use a mouse but not while i'm typing/programming

#

i3 is pretty good for that

sage bramble
#

i am not that KJ, just to be clear

heavy bridge
#

any gentoochads?

#

:^(

#

xml but it uses s-expressions

sturdy panther
#

Is it.. Python3?

heavy bridge
#
(build-config :type 'debug
   (executable :name "foo"
        foo.cpp
        bar.cpp))
#

just use the help system you dummy

sturdy panther
#

I vaguely remember scons beinig Python2.

zenith radish
#

OOO

#

THE NAME

magic kiln
#

anyone know how to push an update in flask?

zenith radish
#

IT WOULD BE

#

ScheMake

heavy bridge
#

sexml

zenith radish
#

bruh

heavy bridge
#

nobody responded to me in 3 minutes πŸ—Ώ

zenith radish
#

πŸ’€

#

I also want recursive source trees

#

like

whole bear
#

joma new video im out

zenith radish
#
(sources "src")
``` would include the entire src dir recursively
heavy bridge
#

globbing is never a good idea

zenith radish
#

how come?

magic kiln
#

alright ima bounce for a lil see yall later

heavy bridge
#

too many things that can trigger full rebuilds

#

oops accidentally added a file, now you have to reglob

zenith radish
#

hm, maybe

wind juniper
heavy bridge
#

in serenityOS they're actively working to remove globs from the cmake configs

#

πŸ—Ώ

#

back in my day i didn't have instant response

#

AND I LIKED IT

zenith radish
#

word

#

the most instant response would be like

#

IRC

heavy bridge
#

"no"

sage bramble
#

i am new to discord coding servers, and this seems to be the only one with active VCs out of the top coding servers according to google.

zenith radish
#

yep

heavy bridge
#

turns out developers are introverts

#

who'd have thonk

#

i've already forgorten his question πŸ’€

#

πŸ’”

#

abandon discord, retvrn to tradition

#

forums

wind raptor
heavy bridge
#

based

wind raptor
#

@frozen owl ^^

sturdy panther
#

I don't remember when I last logged into GitHub...

heavy bridge
#

i log into github daily due to work

#

the blue dot at least reminds me to take a look

sage bramble
#

why do these servers need phone verification 😩

heavy bridge
#

yeah that sounds solid @zenith radish

#

ok, hear me out

#

we've all heard about metaclasses

#

but what about... metametaclasses

zenith radish
#

xd

heavy bridge
#

!eval

class FooMetaMeta(type):
    def __new__(cls, name, bases, attrs):
        class EpicMixin:
            def __new__(cls, name, bases, attrs):
                new_cls = super().__new__(cls, name, bases, attrs)
                new_cls.bruh = True
                return new_cls
        return super().__new__(cls, name, (EpicMixin,) + bases, attrs)

class FooMeta(type, metaclass=FooMetaMeta):
    def __new__(cls, name, bases, attrs):
        new_cls = super().__new__(cls, name, bases, attrs)
        new_cls.epic = True
        return new_cls

class Foo(metaclass=FooMeta):
    pass

print(dir(Foo()))
print(Foo().bruh)
print(Foo().epic)
wise cargoBOT
#

@heavy bridge :white_check_mark: Your eval job has completed with return code 0.

001 | ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'bruh', 'epic']
002 | True
003 | True
heavy bridge
#

metaclasses: the last boss of python typing

hushed elm
sage bramble
#

@whole bear hala madrid

whole bear
#

yup ty

ebon sandal
#

πŸ™‚

lusty grove
#

I don't know what I'm supposed to type here

#

it says I need 50 messages sent but I just wanted to watch someone coding and ask questions

vivid palm
lusty grove
#

how u see my comment in all these channels o.o

#

and bet, thank you

warped raft
#

hye @wind raptor

#

hey

#

how are you doing

#

how are you doing @wind raptor

#

@wind raptor hold on a damn second
can you please tell me what are you talking about

#

ok

#

what

#

hey chris how do you share screen in voice chat

#

ok

#

thank you

#

no

#

i wanted to know about

#

a program that lits fuse at a perfect altitude

#

the data will be given by an on board altitudemeter

#

rocketeary

#

yes

#

but it will be immpossible

#

to operate without

#

chris

#

did you remember i

#

asked you about

#

signal

#

microprocesser

#

tha was for it

#

that

#

but i will be not able to see data everyminute

#

no

#

engine will go off when the fule will be over

#

but the paracuit will need to be fired

#

at a perfect altitude

#

no

#

it will tear

#

if i keep it like that

#

how

#

yes good idea

#

going search for discord server

#

i found one

#

thank you @somber heath

#

chris what are working on

#

someone knows about ethical hacking

#

anyone of you

#

both

#

and you @somber heath

#

hey chris tell me

#

an interesting project

#

but not accorng to you level

#

according

#

begginer to inetrmidate

somber heath
#

!voice @gilded vessel πŸ™‚

wise cargoBOT
#

Voice verification

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

warped raft
#

i want to amke something that makes my work productive

#

something like you

#

but at a lower level

#

what you are talking about

somber heath
#

Grow tea.

warped raft
#

i made a word guesiing

#

guessing game

#

@somber heath what are you doing

#

what does that mena

#

mena

#

mean

#

ok

somber heath
warped raft
#

do yo know where is ustafa

warped raft
#

let me know when you are going to go offline

#

i think i am going ot do a webscrapping projects

#

but afer y exams are over

#

yes it was damn nice @somber heath

wind raptor
warped raft
#

let me se

#

ok i guess

#

i will do this after my exams

#

ok

#

but amazon does not have

#

an api

#

hey chris do you find space interesting tell me this

#

yes

#

why

#

ok

#

chged my mind

#

changed my mind

#

ok

#

do you find space inetresting

somber heath
#

"Are we there, yet?"
"No."
"Are we there, yet?"
"No."
"Are we there, yet?"
"No, and stop asking."
"Are we there, yet?"
"..."

warped raft
#

what is this @somber heath

somber heath
#

Overpolling internet locations.

forest zodiac
#

we'll never be there laff

warped raft
#

thank you for this troll

wind raptor
forest zodiac
dark mural
#

Hi just hanging out

wind raptor
forest zodiac
#

finally someone who dose not like doing css

rugged root
#

Not the most appropriate joke to make

somber heath
#

I screwed up.

whole bear
#

Can anybody help me out

somber heath
#

and buttons don't work for me, but that's my fault

whole bear
#

How do I get tensorflow

wise cargoBOT
#

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

001 | B
002 | B
003 | B
004 | *
005 | 4
006 | 6
whole bear
#

To run on jupyter-notebook

somber heath
#

!e ```py
class A:
def init(self, v):
print("A")
self.v = v

class B(A):
def init(self, v):
super().init(v)
print("B")

a = A(4)
b = B(6)
print("*")
print(a.v)
print(b.v)```

wise cargoBOT
#

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

001 | A
002 | A
003 | B
004 | *
005 | 4
006 | 6
somber heath
#

The first instantiation just prints A. The second prints A and B.

#

We also see how the B class still saves v.

wind raptor
#

Brb

somber heath
#

Because I gave the 6 through the super().__init__ call.

#
class A:
    def __init__(self, v):
        self.v = v

class B(A):
    def __init__(self, v):
        A.__init__(self, v) #Sort of what super().__init__ does```
#

Straight Python? Thanks to Anansi.

#

Maybe it's just yours.

#

Well. Not just.

sweet lodge
somber heath
#

"It's not personal, it's just you."

rugged root
#

@terse needle I am sorry. I wasn't trying to attack you.

#

That was never my intention

terse needle
rugged root
#

Presentation, lightness

terse needle
#

when vsc has a much bigger community behind it

rugged root
#

Knowing that since the extensions are written in Python I could more easily write one if I need it

terse needle
rugged root
#

Sure sure

#

I think it's just the keyboard commands that gets me

terse needle
#

and it's just my preference

#

I spent time learning them

#

and now I prefer to do things in this way

rugged root
#

I know. Again, I apologize

terse needle
#

it's fine it just feels a little hurtful when people start to dog pile in on one person

rugged root
#

I thought it was just me dog piling. And I understand.

#

It's unbecoming of an admin (and a friend) to do that

terse needle
#

thank you

#

Feel free to interrogate LP though, you have my permission

rugged root
#

Can and will

terse needle
#

I have made it pretty clear in the past that I am never one to debate things with people

#

well I will but I never enjoy it as conversation

rugged root
#

Sure sure

terse needle
#

maybe I am being a bit hypocritical but I think one of the issues with the programming community is everyone has to justify everything

rugged root
#

@somber heath Oh, two came up in my inventory:

Certificate of moderate sanity
Passionless fruit

rugged root
#

Vue vs React vs Angular for example

somber heath
#

ReactAngular.

sweet lodge
rugged root
#

Case in point

terse needle
sweet lodge
#

Everyone industry has to update and move on at some point
CS just moves way faster than most other industries, so it has to update more often

#

That doesn't necessarily explain all the gatekeeping about peoples favorite framework of the week though

terse needle
sweet lodge
terse needle
#

Maybe it's not just this industry

sweet lodge
#

We just see it in the industry we're in, because we're around it?

terse needle
#

Thats what I am assuming

sweet lodge
#

What causes so much systematic insecurity in so much of the population?

terse needle
#

non-tech people probably have no idea what the community here is like

sweet lodge
#

fair

quasi condor
whole bear
amber raptor
#

Then are just wrong choices, like using Linux on desktop.

quasi condor
sweet lodge
#

I use Rust on Arch Linux BTW, BTW

#

Embrace Linux on desktop!

sage bramble
#

sorry KJ 🀣

quasi condor
#

I'm currently in a "Virtual data centre tour" with Microsoft

#

it's very tedious

sweet lodge
#

They're neat

amber raptor
quasi condor
amber raptor
#

This is a cage, this is a server, this is power, this is networking.

amber raptor
terse needle
#

*if you've never used anything like it before

amber raptor
#

Data centers are stupid boring.

quasi condor
#

so I can say in tomorrow's standup "I didn't get much done, but I went to that msft thing"

sweet lodge
terse needle
sweet lodge
terse needle
#

not that I know of

amber raptor
terse needle
sweet lodge
amber raptor
whole bear
#

Oh yeahhhhh 5 people without voice permsss yeeeee

#

We gon listen

amber raptor
#

For Americans who can’t read a map.

sweet lodge
#

Apparently I live in Tel Aviv

quasi condor
#

Microsoft runs servers fully immersed in coolant

#

that's quite interesting

whole bear
#

ye I think showing your effort even though you havent done much is very good

#

atleast you show that you were trying

rugged root
#

Misread this one. Legit thought it said 'murica

amber raptor
#

Latitude doesn’t always equal same weather/temp but it’s good indicator of average.

quasi condor
#

this isn't that

sweet lodge
#

I know

#

But it's also neat

#

Let me see if I can find an actual server

#

Here we go

terse needle
#

@rugged root vacuum sealing reduces errors and corrosion

rugged root
#

Right right

frozen owl
frozen owl
rugged root
#

Odd statement

frozen owl
#

yes hong kong is in south america genius

rugged root
#

I think you misunderstood the point of the map

whole bear
#

what is hong kong did they update the world

whole bear
#

new country ❓

#

that is somewhat true though ive met many americans who have big issues with geography

amber raptor
#

I don’t find why the oil isn’t conductive to be that interesting.

#

Chemistry!

frozen owl
magic kiln
#

111 in arizona

#

πŸ˜‚

frozen owl
#

farenheit?

magic kiln
#

yes

frozen owl
#

what is that

quasi condor
rugged root
magic kiln
#

43 celcius

frozen owl
terse needle
#

wtf

#

feels so much more than that

quasi condor
#

you need to get you a fan

honest pier
#

πŸ˜”

quasi condor
#

sweaty+low humidity means that a fan is actually effective for cooling

amber raptor
#

@rugged root coming from American on HDHP? The f***

honest pier
#

high density hi polyethylene?

quasi condor
somber heath
#

If you drive to place to place and that's called being a runner, does that mean you're driving a Flintstones car?

#

You have tire grooves in the road and have padded grumpiness in between.

#

Hang on...

#

Not grumpiness.

#

Grippiness.

sweet lodge
#

There's no "s"

#

It's stack not stacks

honest pier
#

double stack development

#

double stuff

somber heath
#

If the Pancake Parlour offered a position for webmaster, would it be a full stack developer position?

magic kiln
sage bramble
#

web has many limitations. You can also not choose stream quality I think ?

rugged root
#

That's a good question

#

Not sure on that

frozen owl
frozen owl
sage bramble
#

what is the R factor ?

#

usually the deadly ones dont spread fast

amber raptor
#

looks like transmission system is similar to Ebola but less deadly so it's probably R factor is probably <1 esp once people realize what's happening.

sage bramble
#

its all belief system I think

quaint oyster
#

@magic kiln

#

send here

magic kiln
rugged root
#

@zenith radish Things underlined in blue are what's open

#

The rest aren't

terse needle
#

.xkcd 378

viscid lagoonBOT
#

Real programmers set the universal constants at the start such that the universe evolves to contain the disk with the data they want.

terse needle
#

.xkcd 1508

viscid lagoonBOT
#

One of the survivors, poking around in the ruins with the point of a spear, uncovers a singed photo of Richard Stallman. They stare in silence. "This," one of them finally says, "This is a man who BELIEVED in something."

quasi condor
#

@mild quartz he heard back after the first stage at msft

mild quartz
#

nice

quasi condor
#

he's moved on to hiring managers

terse needle
#

@zenith radish do you know how to do truthy and falsy int's in scheme

#

boolean? converts 1 to true and anything else to false

willow light
#

@zenith radish you have a point, but I don't have to like or agree with it

#

Honestly, though, basing your respect for someone on how much they talk about technical stuff is pretty damn elitist.

#

The issue with emacs isn't the program itself, it's that a vocal minority of the users are completely insufferable about it

#

And vim has the same exact problem

zenith radish
willow light
#

UM

mild quartz
#

how to know someone is not american

amber raptor
#

Steam deck is great way to get through SAFe meeting.

terse needle
quasi condor
terse needle
#

@zenith radish how do you not own a suit even I own a suit

magic kiln
#

says weddings like his parents have had several

#

πŸ˜‚

quasi condor
#

why do you own a suit

zenith radish
willow light
quasi condor
willow light
#

To be fair, it was -20Β°C at the time

quasi condor
quaint oyster
#

@zenith radish can i see ur linked in for educational purposes

terse needle
# quasi condor

idk what the context is but two words come to mind: "the south"

willow light
#

The problem is it affects your self-esteem. My self-esteem is very low and I see myself as ugly, and every time someone says I'm not I just assume they're lying.

quasi condor
quaint oyster
#

gimmy confirmed hires shitty good looking lawyers

quasi condor
#

all found from a google search of "attractiveness salary"

#

need to go get food

sweet lodge
#

For example

#

Right now

#

Railroading over Hemlock

willow light
#

@south bone I have a similar issue: I was always told to wait for "gaps" in the conversation to speak. I've never been able to figure out how to identify those gaps.

willow light
#

That's giving us too much credit

quaint oyster
#

they do because recruiters are lizards

#

jk i didnt read the research idk why

#

brb

frozen owl
#

:( Im at Waitrose and it's my first time calling in on the mobile app

#

I'm probably disconnected

rugged root
#

@frozen owl You're connecting and disconnecting rapidly

#

You might want to just try later, it's kind of disruptive

frozen owl
#

Omg what

#

Crappy WiFi sry

frozen owl
#

Hey I'm back

#

Wonder how to use like phone call speaker to listen to discord calls and not the like loudspeaker on Mobile

terse needle
amber raptor
#

I’m up to my 15 failed deployment, go me

gentle flint
#

does that work?

south bone
#

beauty of the mind is more beautiful than beauty of the body -Socrates

rugged root
#

I'm almost back

#

Have to make one more phone call

quasi condor
regal nebula
#

Bro this voice verification thing is annoying

vast fog
#

currently facing one problem with this implementation as described in #media-processing - how to best choose a character to represent an individual pixel when using color is at the top of my list to improve, but i'm lacking in ideas

south bone
#

thats pretty cool output. Whats the backend of the code look like

vast fog
# south bone thats pretty cool output. Whats the backend of the code look like

sorry, someone came in so i'm talking to them IRL. so i actually just appended this feature in to my existing python app i've been working on over the past few months. the backend mainly uses PIL for processing the images. it currently supports other features like: viewing images in the terminal, viewing videos in the temrinal, supports unicode for 4x resolution over ascii as well. i'll be on vc later sorry something came up

south bone
vast fog
#

@south bone i cleaned up space on my drive and purged some old mp4s so i'm going to re-record a processed video in a bit i'll post it

south bone
vast fog
#

but i didn't copy stackoverflow code (not saying that, lmao)

#

for example, I discovered the Euclidean color distance algorithm on stackoverflow when learning how to match (quantize) colors

#

then I discovered PIL.quantize() thanks to someone here who suggested it was faster than Euclidean, but yea, theres tons of contents on Stackoverflow for PIL

south bone
vast fog
#

if you make some project to learn this feel free to ping with any questions

#

PIL is always fun

#

I would also say the second important thing to learn here is ANSI escape codes

#

and working with images as 2d arrays

south bone
vast fog
#

yea, i left numpy out of what i mentioned but it is used in some aspects of this project to speed up processing

wind raptor
lavish rover
#

Hello Chris, how goes your day

wind raptor
lavish rover
#

It's going alright! At Niagara falls tonight with fam

wind raptor
#

Nice!

#

We go there usually once or twice a year. It's pretty fun there.

wind raptor
lavish rover
#

Nope just visiting around. Family is religious types so no gambling. We went to Niagara on the lake today, it was nice

wind raptor
#

Oh yeah, nice little place

#

@magic kiln please don't use ableist language

lavish rover
#

I hate that you're consistently this funny, I'm not used to people being funnier than me

somber heath
#

The more you understand the basic structure and syntax of a given language, the better you're able to use things you've never used before that are written in that language.

#

Provided it's well-formed.

#

You look at it and go "Ah, this is asking me to use it in this way that is familiar and similar to this this and this thing.

#

Also, yes. Reading the documentation helps.

#

Also, JSON is your friend if you're writing an API.

#

"What makes you that valuable?"
How attached are you to your organs?

#

I give Python lessons as an investment in humanity. I'm not in any particular need of an extra kidney at this point, but I'll keep it in mind.

magic kiln
#

lol okay well im open and if u ever end up needing one i gotcha

somber heath
#

Properly written modules have documentation baked in. Use of the help and dir functions are good to get a handle on.

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 8, in <module>
003 | TypeError: Person.__init__() takes 1 positional argument but 2 were given
somber heath
#

!e ```py
class Person:
def init(self, age):
self._age = age

def get_age(self):
    return self._age

person = Person(30)

a = person.get_age()
b = Person.get_age(person)

print(a, b)```

wise cargoBOT
#

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

30 30
somber heath
#

The a = line way is better.

#

!d sum

wise cargoBOT
#
sum

sum(iterable, /, start=0)```
Sums *start* and the items of an *iterable* from left to right and returns the total. The *iterable*’s items are normally numbers, and the start value is not allowed to be a string.

For some use cases, there are good alternatives to [`sum()`](https://docs.python.org/3/library/functions.html#sum "sum"). The preferred, fast way to concatenate a sequence of strings is by calling `''.join(sequence)`. To add floating point values with extended precision, see [`math.fsum()`](https://docs.python.org/3/library/math.html#math.fsum "math.fsum"). To concatenate a series of iterables, consider using [`itertools.chain()`](https://docs.python.org/3/library/itertools.html#itertools.chain "itertools.chain").

Changed in version 3.8: The *start* parameter can be specified as a keyword argument.
somber heath
#

!e py a = [1, 2, 3] b = sum(a) c = sum(v for v in a) print(b) print(c)

wise cargoBOT
#

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

001 | 6
002 | 6
somber heath
#

!e ```py
my_list = []
for letter in "abc": #second to innermost
my_list.append(letter) #innermost
#equivalent to
my_list = [letter for letter in "abc"]

print(my_list)

wise cargoBOT
#

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

['a', 'b', 'c']
#

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

001 | ['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3']
002 | Traceback (most recent call last):
003 |   File "<string>", line 9, in <module>
004 | NameError: name 'letters' is not defined. Did you mean: 'letter'?
somber heath
#

!e ```py
my_list = []
for letter in "abc": #outermost
for number in "123": #second to innermost
my_list.append(letter + number) #innermost
print(my_list)

#equivalent to

my_list = [letter + number for letter in "abc" for number in "123"]
print(my_list)```

wise cargoBOT
#

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

001 | ['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3']
002 | ['a1', 'a2', 'a3', 'b1', 'b2', 'b3', 'c1', 'c2', 'c3']
somber heath
#

Watch out, because the return of floor division takes its typing cue from the lefthand.

#

!e py a = 5.0 // 2 b = 5 // 2 print(a) print(a)

wise cargoBOT
#

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

001 | 2.0
002 | 2.0
somber heath
#

Since when, Python?

#

Since when?

#

Okay, yeah, that's a version thing.

#

In 3.8 the second one would have been an int.

rustic mantle
#

Hi

shadow tapir
#

@wind raptor broo i cant speak i dont have the perms

wind raptor
#

!voice @shadow tapir @wheat latch

wise cargoBOT
#

Voice verification

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

shadow tapir
#

any one wants to talk to me

#

i want

#

to reach

#

50 message

#

requirements

rustic mantle
#

Yeah

shadow tapir
#

u know the problem

#

ohh sorry

#

1yr

#

reaaly noob

#

yes

#

i do web dev

#

django

#

yahh

#

but i am not really fluent

#

can u guide me

#

django

rustic mantle
#

For Text Classification, Do you have any guidelines?

#

@wind raptor

shadow tapir
#

so what about python

#

i not at it either

#

i forget to solve small pblms

#

what do u mean by db

#

you mean by sql

#

ig

rustic mantle
#

Yeah, NLP

#

I need proper guidelines.

wind raptor
shadow tapir
#

why do we need to learn db before starting django

#

every course teaches db in btw the course

#

they teach the basic of django first

#

and start building some projects and then go in db

#

why?

magic kiln
#

@rugged tundra

shadow tapir
#

lol

#

this doesn't make any sense

#

yahh

somber heath
magic kiln
#

def number_to_string(num):

a = str(12)

print(a)

somber heath
#

!e py v = 5 result = str(v) print(type(result))

wise cargoBOT
#

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

<class 'str'>
somber heath
#

!e ```py
def func():
a = 0

print(a)```

wise cargoBOT
#

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

001 | Traceback (most recent call last):
002 |   File "<string>", line 4, in <module>
003 | NameError: name 'a' is not defined
somber heath
#

!e ```py
def func():
return 5

result = func()
print(result)```

wise cargoBOT
#

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

5
somber heath
#

!e ```py
def func(v):
return v

result = func(5)
print(result)```

wise cargoBOT
#

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

5
somber heath
#

!e ```py
def func(v):
return v * 2

result = func(5)
print(result)```

wise cargoBOT
#

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

10
somber heath
#

!e py v = 12 result = str(v) print(result) print(type(result))

wise cargoBOT
#

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

001 | 12
002 | <class 'str'>
somber heath
#

A way.

#

It might even be a good way.

#

The best? Who can say?

#

But not the one, the only.

magic kiln
#

def number_to_string(num):
num = 1
print(str(num))

somber heath
#

!e py def func(): v = 7 v = 5 func() print(v)

wise cargoBOT
#

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

5
magic kiln
#

def number_to_string(v):
return v*2
result = number_to_string(2)
print (str(result))
print (type(result))

somber heath
#

!scope

wise cargoBOT
#

Scoping Rules

A scope defines the visibility of a name within a block, where a block is a piece of python code executed as a unit. For simplicity, this would be a module, a function body, and a class definition. A name refers to text bound to an object.

For more information about names, see !tags names

A module is the source code file itself, and encompasses all blocks defined within it. Therefore if a variable is defined at the module level (top-level code block), it is a global variable and can be accessed anywhere in the module as long as the block in which it's referenced is executed after it was defined.

Alternatively if a variable is defined within a function block for example, it is a local variable. It is not accessible at the module level, as that would be outside its scope. This is the purpose of the return statement, as it hands an object back to the scope of its caller. Conversely if a function was defined inside the previously mentioned block, it would have access to that variable, because it is within the first function's scope.

>>> def outer():
...     foo = 'bar'     # local variable to outer
...     def inner():
...         print(foo)  # has access to foo from scope of outer
...     return inner    # brings inner to scope of caller
...
>>> inner = outer()  # get inner function
>>> inner()  # prints variable foo without issue
bar

Official Documentation
1. Program structure, name binding and resolution
2. global statement
3. nonlocal statement

magic kiln
#

def number_to_string(1):
return number_to_string

somber heath
#

Parameters go in the parentheses on the def line.

#

Which are variables

magic kiln
#

@somber heath @ebon sandal

ebon sandal
#

lol

magic kiln
#

when kangaroos are threatened by a predator they actually throw their babies out of their pouches and if necessary throw it at the predator in order for the adult to survive.

somber heath
#
Goblins, as the most under-privileged and despised race on the Discworld, encounter the dreadful dilemma so often that they have special traditions and protocols around it, like the special Unggue pot called the soul of tears, "the most beautiful of all the pots, carved with little flowers and washed with tears". One of these would commemorate a Goblin mother's having to eat her baby to survive. To hang, or "survive" is the prime directive of the Goblins, and the most they can hope for. ```
somber heath
#

Like it's more of a dumping than a picking up and hurling.

magic kiln
#

Lol if they hurled them it would be kinda funny to watch

#

But if they just leave em and run off that’s so wrong

somber heath
#

Yes, well. The dreadful algebra of necessity.

magic kiln
#

True If you could be any animal which would you choose? @somber heath

somber heath
warped raft
#

hello @grim fable

grim fable
#

Hello

warped raft
#

how are you doing

#

coiming in qa sec

#

in

grim fable
#

Noting Just Chilling in python

grim fable
warped raft
#

nothing

#

working on a project or what

grim fable
#

I still Learning

warped raft
#

same boat

grim fable
#

Nice

grim fable
warped raft
#

India

grim fable
#

Nice

warped raft
#

where are you from

grim fable
#

Iran

#

Cant Talk

warped raft
#

hi @frozen owl

frozen owl
warped raft
#

how are you doing

frozen owl
#

you can hear me right

warped raft
#

yes

grim fable
#

I don't Have Promession

warped raft
#

sha sha ank

grim fable
#

Lol Yea

#

I'm Doing Good

warped raft
#

!vioce veriffy

grim fable
#

Ok I know

warped raft
#

for me I don't have a mic

frozen owl
frozen owl
warped raft
#

no

#

today

#

i don't see anyone

grim fable
#

I've Been Here Today I think I need To be Here For 3 Days

#

Its 4 Pm For me Atm

#

@frozen owl

#

No I'm in Iran

#

I Will be able to talk soon πŸ˜„

#

@frozen owl What you up Too

#

@formal meteor Hi bro

warped raft
#

hello @somber heath

grim fable
#

@somber heath Hello

warped raft
#

how are you doing

grim fable
#

Everyting good?

#

I did But i need to Send 50 massage

craggy mural
#

hi guys how are you?

grim fable
#

We are Good

warped raft
#

fine how about you

#

@craggy mural

craggy mural
#

im good ty

grim fable
#

Still Less than 50 massage πŸ˜„

#

Omg

#

lol Yeah

craggy mural
#

i got an assignment from a course i am about to start and i got tangeled a liitle bit can anyone maybe give me a hand?

warped raft
#

tell us you probelm

#

problem

grim fable
#

what is Best way to learn Python i Did W3school But I want better way?

warped raft
#

go to internet

whole bear
grim fable
#

I did Learning All Curses But Still Cant Do coding I mean I don't Know How to Start Code

craggy mural
#

i need to build a flask code that print "ron is a master devops!" the python flask application should listen on the port number of my birthday (24/07)

#

should look like this

#

oh god

#

the port number

#

sry

warped raft
#

anyone anyone anyone

somber heath
craggy mural
#

i will

somber heath
craggy mural
#

thank you so much

warped raft
#

sry

#

hello

#

opal which project are you working on

#

@somber heath

#

hello @somber heath

#

yes

#

yes

#

you have a youtube channel

#

tell me the name

#

i want to look at

#

please

#

opal

grim fable
#

lol

warped raft
#

ok

#

opal you know what

#

if you not tell me about that channel

#

i will break my second monitor

#

@somber heath

#

and if mom asks what's the reason

#

the reason will be you OpalMist

#

are you listening to me

#

before you get angry

#

i take my word bak

#

@somber heath

somber heath