#voice-chat-text-0

1 messages · Page 978 of 1

wise cargoBOT
#

@remote jacinth :white_check_mark: Your eval job has completed with return code 0.

ee
unreal anvil
#

!e def fun(a, /): pass

brave steppe
#

-> #bot-commands is better

devout heath
#

haha clojurscript is a thing now

#

I thought about using it for a minute

#

too small community 😦

stuck furnace
#

!source eval

wise cargoBOT
#
Command: eval

Run Python code and get the results.

Source Code
devout heath
#

js still inspired by scheme

unreal anvil
#

what's with php? is it back?

devout heath
#

php never left

unreal anvil
#

exactly

#

pascal hurts my brain

devout heath
#

it's /(cake|symphony|laravel|wordpress|dangerous\sCrap)/now

#

no I would draw demarcation at OOP stuff

#

anything where I felt like python OOP was useful I would force myself to move it into go

#

because I know that OOP is going to force me into stupid questions about platonic atomicity like "what is a chair"

#

like, is a thing you can sit on? something made to sit on? something you can optionally sit on?

#

is it overloaded for holding other shit?

#

go and other languages solve this with receiver methods, interfaces and "duck typing"

#

which allows you to minimize those decisions

unreal anvil
#

what's ruby do

devout heath
#

ruby runs github

unreal anvil
#

have you seen that wat video?

devout heath
#

you shut your trap

#

it better not die

#

gitea, gitlab not good enough yet

#

I want everything in go

#

but I'm a shill

#

unpaid shill

unreal anvil
#

go has a GC, so it's automatically bad

devout heath
#

that's so mean

#

but it does invalidate it for some uses

#

anything where you need deterministic time

#

networking, drivers, os, etc

#

it's made for rest apis at the end of the day

#

great for microservices

unreal anvil
#

nah, I think for system programming, it's got a faster development time than rust / c++, so I would use go

devout heath
#

kubernetes, docker were written in go

unreal anvil
#

nodejs / python can be too slow for microservices at scale

brave steppe
devout heath
#

yes

#

but this is just go vs ts in node

#

or js in node? I dunno, maybe both thumbnail deceptive maybe

unreal anvil
#

nodejs solves a ton of use cases, but go was created for a reason

devout heath
#

exactly

#

google recruited ken thompson and rob pike and a few other rockstars to work on something to replace harsh bloat in concurrent java and c++ code

#

so it does that one thing astoundingly well

#

turns out, that's like the whole web

#

more or less

unreal anvil
#

I would use python because of the library support. like I can't build a data analytics platform as easily with go

devout heath
#

yeah go is not at all good at that, python is great at a lot of data science and ETL, hands down

#

I don't even use the go template system because it's not html sanitizing

#

I just use APIs and host static content

unreal anvil
#

learning libraries are a valid difficulty in picking up a new language

devout heath
#

it's worth noting you can go look at examples of the basic thing you're trying to do in each language

unreal anvil
devout heath
#

you might want to bust out a calculator and determine in dollars and cents how much replacing python would be

devout heath
#

not intended as burn

#

yeah if you can't see an obvious upside, pick what everyone knows or go with what your gut says

#

flip a coin yeah

#

exactly

unreal anvil
#

a donkey stands between two stacks of hay. it can't chose one to eat. it starves to death

devout heath
#

2ez to analysis paralysis

#

walk away from the computer

#

man elephant better be in a freezer

#

I want a chainsaw

#

can we cook it in a pit and share it

#

damn

unreal anvil
#

I always pick the language that my coworkers know since I know they're gonna be the ones to fix it

devout heath
#

can we cook and eat the PHP elephant?

remote jacinth
remote jacinth
#

lol

#

sadly

devout heath
#

tell them to hire another coder

unreal anvil
#

tell him to use ubuntu

devout heath
#

or you're going to start using lots of open source code from your own github

#

so other people can review it

#

and stop you from dunce move

#

like me

#

that's why I like to put stuff on GH anyway

#

people love making code more beautiful

#

so much they'll do it for free

#

but you have to share

unreal anvil
#

tell him to try shutil.copyfile

#

nvm tell him to use os.rename. I bet copyfile is calling a kernal

#

command

devout heath
#

no

#

I let go mod handle crap

unreal anvil
#

python dependency managing is a pain

#

submodules are sucky too though, so idk

devout heath
#

go modules are a huge step up from the original version

#

but I don't really understand it

unreal anvil
#

package managers in generally are getting really good

#

cargo is amazing

devout heath
#

I just let dependabot tell me what to do

#

pay github $2/mo

#

did you know that docker was announced at PyCon in 2013?

#

python dependencies so bad they just went back to the drawing board

unreal anvil
#

haha so docker is a package manager?

devout heath
#

hahahahahahahaha

#

always was

unreal anvil
#

they're like were just gonna have prebuilt operating systems instead

devout heath
#

ye

remote jacinth
unreal anvil
#

@brave steppe what are you working on

remote jacinth
#

the story of docker

devout heath
#

man

#

I had some bash files made for macos

#

and a docker compose that I wanted to run in linux

#

nope

#

still huffing copium over that

unreal anvil
#

what is that for?

devout heath
#

it was the localdev environment for my last job

#

only guy who made it, who knew what was going on left for CircleCI

#

and then nobody was maintaining it

unreal anvil
#

so it's one of your bots?

#

gotcha, neet

unreal anvil
devout heath
#

you wanna know what I recommended to boss?

#

"let's stand up centos vms next to the centos boxes we're mocking so we don't have to deal with WAN db latency"

#

researched it after leaving that job

#

and that's what google and netflix do

#

go figure, eh?

unreal anvil
#

haha my first experience with docker was being confused by that. running lots of production web servers in linux docker containers

#

gn

brave steppe
#

👋

devout heath
#

hi

#

@velvet urchin

#

well, an effective ghost ping

#

I have another discord account

#

bye

formal horizon
#

huh

#

just got pinged lmao

terse schooner
#

good hby

#

has to be also 3 days aswell

whole bear
#

suppressed lmao

#

yes

#

no prob no prob

#

i was just like if anybody is there because

thick swan
#

i just got voice verification lmao

whole bear
#

lmao

#

yes yes ik

#

oh python assignment

#

well ik a little bit

#

yes

#

yes

thick swan
whole bear
#

yes yes understandable

#

how many are there ?

#

yes

#

damn

#

yes yes it's fun

#

yes

thick swan
whole bear
#

yes it's little bit hard to understand for me

#

yes

#

yes

#

yes

#

yes yes now it is understandable

#

thanksssss

#

yes

#

1<

thick swan
#

1<

whole bear
#

no no

#

lmao

#

yes

#

yes

#

error

#

yes

#

logical ?

#

done done

#

yes

thick swan
whole bear
#

yes

#

yes

#

still trying to understand 😂

thick swan
whole bear
#

yes

#

understandable

#

yes

#

yes counter

#

means like you said count

#

not the element but

#

it's count

#

??

thick swan
whole bear
#

your voice

#

i think your internal mic is off

thick swan
#

OHHHH

whole bear
#

still

#

nop

#

yes

#

lmao

#

yes yes

#

lmao

#

dunno

#

yes in my uni

#

they literally taught us just syntax 😂

#

so we have to just do it on our own

#

same

#

lmao

#

yt ?

#

gimmme

thick swan
whole bear
#

thankssss

#

yes

#

ok i will tell

#

i'm gonna just start from begging

#

yes

#

no not now

#

but

#

i will ask

#

yes

#

for all ?

#

my ?

#

yes

#

1 min

#

see

#

this kind of

#

it's kinda too easy compared to yours

#

yes

#

lmao

#

damn

#

random.randint

#

yes

#

that's what i'm saying

#

but always

#

depend on functions that's not good either

#

like your's one is more practical

thick swan
whole bear
#

yes

#

never mind

#

i have to go now

#

yes

#

sure

#

ik just verified 😂

#

then seee ya

candid isle
#

did u guys know how to code c++ at visual sutdio code?

#

or u guys code c++ using codeblocks>?

versed comet
#

hello

#

how are you

robust quiver
#

At gulmarg❄️🌨️☃️

robust quiver
whole bear
gentle flint
#

he said it was in gulmarg

whole bear
#

I didn't read the chat

#

xD

gentle flint
#

lol

#

I think gulmarg is in jammu & kashmir

#

not sure

whole bear
#

hey

#

yo

gentle flint
#

hi

whole bear
#

Good morning guys

#

I'm forcing my girlfriend to learn Python, but she wants to learn Javascript shipit

gentle flint
#

well let her learn js if she wants

#

who cares

#

she'll learn better if she wants to

whole bear
#

xD yeah

#

I guess so

#

you guys working on something new?

gentle flint
#

nah, setting up my new phone

whole bear
#

learning python3

whole bear
whole bear
#

not rly but yeah

#

xD

#

I had studied python for 1 year

#

but I left it

#

oo

#

im getting bored

#

i am working on something but i don't want to continue it now

whole bear
#

are you a professional programmer? @whole bear

#

nah

#

started 1-2 years ago

#

ah

#

by yourself?

#

yeah

#

oh nice dude

#

how old are you?

#

wht made you want to learn Python?

whole bear
whole bear
#

with youtube

#

oh nice, that's cool
I started with YouTube too

whole bear
#

haha how old are you

#

11

#

Jesus, that's a rly nice Age to start learning stuff, like, programming or computer science in general

#

yeah :D

#

if you get a, Idk, junior level as a programmer in some years (2 or 3) , you would be a nice programmer

#

xD

#

rly?

#

haha I'm not 100% sure but that's wht I thnk 😊

#

just put your passion on it

#

:D

#

I'm a sysadmin

#

what

#

system administrator

#

i figured that

#

but I wanna be a programmer xD

#

but what does it mean

whole bear
#

oo

#

i get it

#

but I'm getting tired of tht
I wanna try something new

#

learn python

#

or if you want to make games, try something like c++

#

haha nah, I'm rly into python now 🤣

#

oh

#

alright, i gotta go now

#

it was nice talking with you :)

#

cya

#

yeah same
have a nice day pithink

whole bear
#

hey

#

yo!

#

so how ya ?

whole bear
whole bear
#

my code is not workinnn

#

fck me

half silo
fading mason
#

yo

pallid hazel
#

rawr!

quasi condor
zenith radish
earnest laurel
#

yes

zenith radish
earnest laurel
#

it was nice

zenith radish
earnest laurel
#

this one was easy

#

as a portuguese its easy to see languages like spanish and so on

storm nexus
#

Hey all

#

helper point?

#

what is it?

zenith radish
#

God damn it I leave for 10 mins to cook edamame and Maro is already talking about helper points

#

smh

#

I'll be on in 5 mins

wind raptor
#

!e

for x in range(6):
    if x == 3:
        print(x)
print(x)
wise cargoBOT
#

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

001 | 3
002 | 5
storm nexus
#

I agree with @midnight agate. I tried it on first day of learning loops

#

yes

#

3.4 too

rugged tundra
#

gibs helper coin

storm nexus
#

garbage collector comes when a variable is not used else where.

#

i think garbage collector delete variable from memory when not used else where. i think soo... plz let know if wrong.

#

ohh. I get it. Thanks

terse schooner
#

hi guys

storm nexus
#

Noo

terse schooner
#

Does anyone mind helping me with something? Im sure you guys know a lot more than I do

storm nexus
#

according to that definition all are biased

rugged tundra
storm nexus
#

they were able to survey😂 😂😂

opal bear
#

i cant vc

#

lol

#

like unmute my mic

wind raptor
#

!voice @opal bear

wise cargoBOT
#

Voice verification

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

opal bear
#

thanks

wind raptor
#

No problem

stuck furnace
#

LP, how are you finding it? Have you moved yet?

storm nexus
#

expenses out country are also taxed

cunning lake
#

@stuck furnace YOU CAN GIVE THE VIDEO ROOLE FOR SOME TIME >?

cunning lake
#

CODING PROBLEM

stuck furnace
#

Erm, like a problem you'd like help with?

cunning lake
#

YES I NEED HELP

stuck furnace
#

Btw, why are you typing in all-caps?

storm nexus
#

ukrain is not part of nato?

stuck furnace
#

Erm, alright.

#

!stream 335393324573655043

wise cargoBOT
#

✅ @cunning lake can now stream until <t:1645383416:f>.

cunning lake
#

thx

stuck furnace
#

There are lots of nice cities in the US

quasi condor
stuck furnace
#

:sadcat:

storm nexus
#

St. Louis is also good. if don't like guns.

quasi condor
#

The median income is the income amount that divides a population into two equal groups, half having an income above that amount, and half having an income below that amount. It may differ from the mean (or average) income. The income that occurs most frequently is the income mode. Each of these is a way of understanding income distribution.
Medi...

woeful ember
#

so i should send 50 mes to be able to talk :/

stuck furnace
rugged tundra
stuck furnace
#

They have to be legitimate messages.

woeful ember
#

alright then

stuck furnace
#

You also have to be a member of the server for 3 days.

woeful ember
#

sure i will

#

is anyone in voice reading this so i can contribute from here?

#

apparently not

quasi condor
stuck furnace
#

Studio means literally one room.

#

And maybe a bathroom.

#

Maybe 😄

#

In London, I wouldn't be surprised if not.

#

Would any of you move to Edinburgh? 👀

gentle flint
#

bought a new phone today

gentle flint
earnest laurel
gentle flint
#

if there was a good job which took care of visa and made it worthwile I would

gentle flint
stuck furnace
#

Ah that sucks.

earnest laurel
#

i would like to go to Switzerland

#

to work

#

or just remote work and move to a good city in my country, i live in a island just imagine the things that i would like to do and i cant because of the limit

stuck furnace
earnest laurel
#

ahahaha

amber raptor
#

amount of tech degree options are crazy

#

like looking at nearby school, there is 8 BS computer degrees

quasi condor
#

I like that the blatant lie of I don't give advice was accepted

amber raptor
#

by BS I don't mean bullshit but Bachelor of Science

earnest laurel
#

yea

amber raptor
#

if you throw in minors, it's crazy

stuck furnace
#

Verboof, what is your current job title? 👀

#

Roughly

amber raptor
#

Music Technology Minor?

quasi condor
#

@zenith radish want to do more geoguessr?

#

if so, do you want to move to the next channel

earnest laurel
#

i still dont know to which BS computer degree i am going to, i have +-4 months to decide

amber raptor
#

my hold up in college was always math

zenith radish
#

@quasi condor

#

yes

stuck furnace
#

Study (good old fashioned) AI. You get a bit of:

  • psychology
  • philosophy
  • computer engineering
  • linguistics
  • economics
  • mathematics
#

And with applications.

quasi condor
#

@anyone-else-who-wants-to-play-geoguessr

zenith radish
earnest laurel
quasi condor
#

in vc-1

stuck furnace
#

Buhbuy

woeful ember
signal zodiac
#

can anyone help me with my python homework. I am just starting and not sure how to continue on it

woeful ember
#

guys do you work as a developer professionally?

earnest laurel
signal zodiac
#

really?

woeful ember
stuck furnace
#

Hey Cheeki. I didn't know you were a Brit 😄

ivory stump
#

words['data']

stuck furnace
#

Hello hello 👀

#

Erm @cunning lake, I'm really sorry but I have to go eat now, and our current policy is to require a mod to be in a channel while someone is streaming.

#

Unless it's someone with the permanent video role.

#

Would you mind ending your stream?

#

Sorry about that. I'll be back in about 30 mins.

#

!unstream 335393324573655043

wise cargoBOT
#

❌ This member doesn't have video permissions to remove!

#

@cunning lake's stream has been suspended!

storm nexus
#

that act of war

#

pure and simple

rugged tundra
#

!voice @wind tide

wise cargoBOT
#

Voice verification

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

lime spire
#

war is comming

storm nexus
#

😂 😂 😂 😂 😂

#

I understand😂😂😅😅

#

i know

#

Recursion in python

remote jacinth
#

found the hotel i stayed at

#

10/10 place

storm nexus
#

@fast umbra 👏👏👏👏 can you share webinar link

storm nexus
#

it sound interesting.

fast umbra
#
storm nexus
#

i lost in half way.😅

#

leave it

rugged tundra
#

!voice

wise cargoBOT
#

Voice verification

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

storm nexus
#

write down each steps. hope that make it easy

rugged tundra
#

If anyone is looking to help with code, there are people seeking help in the Code/Help voice channels.

storm nexus
#

stream right are given by mods and up

#

india

#

if you completed core concepts. then you need a job.

#

@thick swan exactly

storm nexus
#

@molten widget you are confused about direction. I think that are facing

#

i know basics

#

call it self within it self

cunning lake
storm nexus
#

it is not a error

#

this is warning by ide

#

👏👏

#

sorry i can't code at this time.

versed comet
#

hello

blissful fog
#

how can I verify?

#

the voice

wise cargoBOT
#

Voice verification

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

blissful fog
#

it says I can't because I'm less than 50 messages

#

can we chat here till I get 50? I'm currently on 37

#

I need like 13 more

#

I got 39 now

#

ok thanks

#

no problem

#

cool

#

and

#

now

#

thats 46

regal bolt
#

hi man

arctic ledge
#
import sys
sys.path.insert(0,'.')
regal bolt
#

bye guys, thanks

whole bear
#

Hello guys, can you give some advise for beginner ^^

#

Pycharm or anaconda?

#

I don't know, i just like python, its feels simple for complete beginner

#

Yes, i generate data every day, i think python can help to control and sort my data is it true?

somber heath
# whole bear Pycharm or anaconda?

Pycharm and Anaconda achieve two different things, as I understand it. Pycharm is an IDE where you write and test code. I find it to be unneccesarily heavy and I bear a personal grudge against it, but many people like it. There are other IDEs available. The best IDE is the one you like the best.

Anaconda is, as I understand it, a package management system. A lot of people who I speak with find it to be overbearing, but don't let that discourage you from experimenting.

Python is generally considered at the forefront of data science programming. Be sure to check out the #data-science-and-ml channel and its pins. Of course, it depends on what sort of data you're working with, but things like Pandas is often used in that arena, though I'm more into Numpy and Scipy.

You may like to investigate a databasing solution for data storage and management. Python comes with its own, lightweight database solution, but you may find you'll require something a bit more heavy duty. See the #databases channel pins on that subject.

devout heath
#

hi

#

who said that?

#

I can't use my mic

#

sorry

#

well, I probably can. but I don't want to work out a realtek driver when one didn't just work

#

in fact, if I had my mic still plugged in I would probably waste too much time on discord

#

but was it you that asked what everyone was doing?

#

I'm working on learning some "Effective Go" and I plan on doing some leetcode because I've finally given into the peer and industry pressure

#

but I'm also working on learning Visual Basic because I might have an opportunity in Automation Engineering

#

apparently those huge insdustrial arms that cost 3 or 4 car's worth all run on windows server or desktops

#

but I have to install windows on some machine in order to use the simulation software

#

oh yeah, all of customer-facing business here is windows

#

creatives use mac but developers do too

#

on discord I've found an increasing number of people moving to linux

#

it warms my soul

#

can you repeat that for me rechenwerk?

#

I took too big of a hit

#

I use ubuntu, which is a debian descendent

#

and I'm running windows inside oracle virtualbox

#

so that I can use visual studio community to learn visual basic

#

yeah

#

it's somewhere between C# and COBOL and I can't tell how much I should hate it yet

#

I know that I should count myself lucky I've heard nothing about access integration

#

yes

#

not microsoft SQL, the funny app on the desktop that half resembles excel

#

I've heard that VB + Access is very annoying because my uncle was in QA at big bank

#

no, the reason they did it was because of the visibility the desktop app gives you in tandem with Active Directory permissions system

#

huh?

#

yeah I've heard of the LDAP protocol but I know 0 about it

#

I think I've heard it called that. at least I have in my head

#

and when two people intuitively *land on something, it's by far and away likely that it's general consensus

#

yeah last software gig they distributed window laptops

#

I was given a 64gb 8th gen mobile i7 dell latitude

#

but it still didn't like docker, docker compose specifically

#

but we were trying to mock a centos server that did not at all know about docker

#

and we could have used Ubuntu or like

#

probably fedora

#

it's great if you can deliver in the containers, because then someone had to answer to them

#

problem is we had fallback development systems, and the guy who initially build the whole local dev thing left to work at CircleCI

#

so it just broke

#

let alone the fact that it was dog slow because we had to deal with WAN latency for individual SQL queries

#

kubernetes is such a high paying skill, I'm only somewhat familiar with dockerization but I'm strongly eyeing the minikube tutorial

#

haven't jumped in yet

#

but anyway, I told boss, lead dev of team, other team members, guy who was supposed to be fixing the local dev thing all about a simple idea: instead of sharing a single dev server for each production server, why don't we replace them with one server the has a copy of each of the services from all of the production servers

#

we could all turn on just the pieces we need

#

automation of the dev server provisioning would look a hell of a lot like a rollout to production

#

and you would no longer face WAN latency for db queries, just for SSH and webpage loads, etc

#

guess what I found out after I quit and did some googling?

#

this is what google themselves and netflix do

#

because it's deadly simple

#

I mean, literally as simple as you can make it

#

and the best code is no code

#

and this is as close to nothing additional you can really get

#

that's why even though I know docker, I use systemd

#

it's good enough

#

if I need to scale, I can work in identifiers for layer7 proxy logic to multiple servers, point at a separate database that can be sharded for scaling

#

posgres and simple routing interception goes a very long way

#

right, if you need to make this happen automatically

#

and you cannot at all cope with your load beyond what you have to pay for

#

then yes, use kubernetes, use helm. use istio, but stay on top of all of that

#

because you will eventually forget how to start it "manually"

#

I'm sorry I was typing in another chat

#

what did you say again?

#

this place I was working at had almost 0 profiling of code

#

and it was all perl

#

they used a monolithic system that scaled vertically very far

#

but not inifinitely

#

businesses get away with unthinkable bs

#

it was the integration system for everything here

#

and it's aim as a language was not integration, it's basically ETL (extract, transform, load)

#

so there were things with the name "service" prepended

#

or "manager" appended

#

and everything was 1 of 12 obscure oop patterns because objects in perl are obscenely abstract

#

$objRef->can('method_name')

#

told you whether a method was there

#

reflection is not something you should need in a dynamically typed language

#

luckily I didn't see that often

#

but there was one really bad ultra mega makes-you-wanna-huff-copium patter was absolutely everywhere. couldn't walk across the room without landing on it

#

misused error levels

#

only use "strict"; was enforced behavior

#

if you ever turned on use "warnings"; the console was suddenly a possible bottleneck in the execution of the code

#

so if you turned on use "diagnostics"; you might was well consider yourself a pioneer

#

and that inspired a github gist I'll link

#

decent perl generally becomes java-like

#

I am not happy when I am not learning and having an impact at a job

#

so learning the ins and outs of perl closely was a nice reprieve from the dreaded support ticket queue

#

have you ever heard of mulesoft?

#

it's very strange

#

gui programming for APIs

#

sort of microservice architecture that's run inside a black box JVM app

#

it's ugly and obtuse, or so I heard

#

I refused to learn about it because I knew it must be dog water

#

I have an axe to grid against oop and this cranks "our programmers can't be trusted to code" to 11

#

I had other things that were productive to do

#

a lot of my work off the queue was speeding up code that desperately needed a kick int the butt

#

I don't know any purely functional languages

#

started learning lisp and decided if I wasn't even finding a real community for clojure.js I probably wouldn't really find one

#

haskell, lisp, scheme, clojure are all sort of the (((((())))))) languages in my brain

#

dunno

#

there's a strong academic community behind it

drifting atlas
#

Hey can anyone here help me with if statements nesting

devout heath
#

but when I learned F# in college I took it on myself to implement an imperative procedural language solution for the same thing and it was too much faster for me to not care

#
if var > 9: 
  if var < 100: 
    do_something()

these?

drifting atlas
#

Uhh kind of

#

Can u talk?

devout heath
#

this in particular is the equivalent of if var > 9 && var < 100: but sometimes you have to do something before you make the second decision

#

I cannot talk

#

but I sure can type

drifting atlas
#

Nice pfp great movie btw

#

Office Space rifht

#

Right

devout heath
#

it's a harbinger, a canary

#

movie is so cathartic now

#

I worked in one of those damn cubes where I should have been able to see out a window

drifting atlas
#

I understand basic if nesting but i have this tricky question

devout heath
#

what's that?

drifting atlas
#

i dont know how to make it check

#

for like if there are at least one of each category

#

im completely lost

#

idk if im just no seeing the basic solutio

#

solution

#

just not seeing**

devout heath
#

I'm not going to give you code for it because that's what you're trying to learn

#

but I can frame it a little

drifting atlas
#

Yeah i want to learn it i dont want the code

devout heath
#

you want to check that you've got more than 1 of all three

#

and then you want to check for the smallest number in them

#

that's how many meals you've got

#

you need to price the meals first, removing that inventory from the rest of the order

drifting atlas
#

I would have to make a nested if statement similar to the one i made right

devout heath
#

you can nest it or use and

drifting atlas
#

Yeah im new to this and tried using and but im using it wrong

#

Can you explain the and function to me

#

and

#

Idk how to make it code font

#

!and!

devout heath
#

`

drifting atlas
#

Thanks

devout heath
#

```python starts a block of python highlighted code

#

``` ends it

#

it also works for bash, perl, go, javascript, java, everything I've tried

drifting atlas
#

Im just doing python

devout heath
#

right but I was explaining why ```python works

#

making it a more general concept for you

#

because leaving something specific is a crime

#

or something

#

who

drifting atlas
#

Would ‘if x>2 and y>2’:
x + 2
‘else:’
y + 2

#

Be like a way you could use it

devout heath
#

yes

#

back tick is at the top left

drifting atlas
#

Okay cool

devout heath
#

the ~ is called a tilda

drifting atlas
#

Yep

devout heath
#

backticks in programming generally denote "templates" or "interpolation" of a string with variable values

#

js uses them that way, anyhow

#

the tilda gets used in bash to reference the current user's home folder path

#

but everything gets repurposed everywhere anyway

#

I'm sort of surprised there was 0 curriculum in my high school typing class about all the symbols

drifting atlas
#

How would i check for the smallest number

#

Of the 3 variable

#

In my problem thats what i guess im stuck on

#

*variables

devout heath
#

well you can make your own function that compares two numbers to see which is smaller

#

then for three it's min_of(min_of(x,y),z)

drifting atlas
#

So like another separate nested if statement im assuming

devout heath
#

no, a separate def min_of(a, b): function

#

return which is larger

#

yes

#

am buntu user

drifting atlas
devout heath
#

damn

#

I could have helped guy

drifting atlas
#

Let me just test it hold up

devout heath
#

now he has to go to reddit

drifting atlas
#

Wym

#

You did help

devout heath
#

you weren't listening to the other conversation

drifting atlas
#

A lot lol I appreciate you

devout heath
#

happy to

drifting atlas
#

I was

devout heath
#

guy popped in

#

"can haz help wiith libre office"

#

my brain: why that's on my computer

drifting atlas
#

Ohhh ur talking about someone else

devout heath
#

tries to flag them down

#

can't

#

r.i.p.

drifting atlas
#

Do i need to import math to use the min of function

devout heath
#

if you want to use the min function from the standard library I guess

#

I was telling you how to make your own because it's pretty trivial

#
def min_of(a, b): 
  if a < b: 
    return a
  return b
#

that's it

#

and so to find the minimum of a list of 3 things you can call min_of(min_of(a, b), c)

#

because the min of a and b will get compared against c

#

I had the returns flipped

#

if you copied it, copy it again

drifting atlas
#

Yeah i got you ill see what u mean but ill just use the import math

#

Hold up ima try and solve this and ill get right back to you

devout heath
#

!e

def min_of(a, b): 
  if a < b: 
    return a
  return b
print(min_of(min_of(-5,3),1))

wise cargoBOT
#

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

-5
devout heath
#

thanks, python bot

#

!e
a = 1
b = -1
c = 3
print(a if (a < b if b < c else c) else b)

wise cargoBOT
#

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

-1
devout heath
#

0 people were impressed

#

nested ternaries hard man 😢

#

too early in the morning

drifting atlas
#

finally got it

#

i over looked the code and forgot to += for the final calculation

#

took like a good 15 minutes to catch but i honestly really like finding the mistakes and fixing them

devout heath
#

somtimes the explicit x = x + 1 makes sense

drifting atlas
#

satisfying to see it work

devout heath
#

I like += more for strings

#

that's why we write code man

#

it's not when you've shattered the code and you're not sure you can fix it

drifting atlas
devout heath
#

it's for those little moments of success

#

+= replicates the behavior of var = var + 1 or whatever you're adding if it's not 1

drifting atlas
devout heath
#

that's why we have the debugger

#

and print :^)

#

in go I know /(log|fmt)\.(S)?Print(f|ln)/ functions very well

#

so like log.Printf or fmt.Println

#

learned the format for a lot of types, can use it more easily, goes a very long way

#

fuck the debugger who needs it

#

compiler is good enough for me

#

false. it is 1 am 😄

#

eastern time pleb

#

I should be in that time zone but I'm not

past elk
#

est > everything else

#

try me

#

🙂

devout heath
#

yeah that's why they have to say 9 eastern, 8 central when they announce new prime time tv show pilots and stuff

#

because only the eastern time zone matters

#

arizona tells the rest of us to get wreckd when it comes to daylight savings

past elk
#

well, like 80% of the US population lives here, so

devout heath
#

the rules are all made up

#

80% does not live on the east coast

past elk
#

rough estimate

devout heath
#

the density center of the country is in missouri, genius

#

37.415725 N, 92.346525 W,

past elk
#

36% lives in EST

devout heath
#

that's not a majority

past elk
#

more than other time zones i think

devout heath
#

that's called a plurality

past elk
#

ok

devout heath
#

the census changes that point on the map each time

past elk
#

heres a nice graphic

devout heath
#

you're forgetting alaska and hawaii

#

but sure

#

I'm not super surprised

past elk
#

i only care about continental us

#

jk ofc

devout heath
#

I doubt you care about anyone outside your family

past elk
#

ive been to hawaii, its really nice

devout heath
#

yeah

#

very nice, very nice and very expensive

past elk
#

yes

devout heath
#

nightmarish expensive

past elk
#

indeed

devout heath
#

I just wanted to point out that my zip code would like to fight you

#

we count too

#

we watch tv

#

cause there's nothing else to do

past elk
#

alr, i really gotta get some sleep, see ya later

#

o/

devout heath
#

later

signal sand
#

? @whole bear

#

yeah

#

yeah

#

Your voice is not clear

#

@whole bear text here...

#

I know python!

#

Sorry, I can't understand you properly...

#

Oh god it's not you @whole bear , where is voice coming from...

#

@shy elk , it is matheo I guess...

#

Easy way is use vs code... it has cool gui tools...

#

What?

#

merge confict?

#

I just use vs code gui tools for that...

#

Built in

#

np

woeful ember
#

where can i send spams to verify voice?

#

guess i better not spam

whole bear
#

@brave steppe may i ask you something i have wome troubles with? (i have not verified my voice yet since this is a new account)

brave steppe
#

You can use the help channel system, no?

whole bear
#

thanks!

#

@brave steppe after how much time will the helpers reply to my question?

brave steppe
whole bear
#

gotchya

woeful salmon
#

@sturdy panther hey have you tried yew?

#

😮 i just looked into it today and it looks fun

sturdy panther
#

Ah, no. I remember being recommended that. Bookmarked it.

silent copper
#

im suspended

sturdy panther
#

As with all bookmarks, they get forgotten.

woeful salmon
#

ah xD

#

its rust front end framework using web assembly

#

supposed to be the rust react alternative

#

kinda

silent copper
#

who said my name?

woeful salmon
#

i 've only looked at a few examples yet gonna try it out after my current game jam is over xD

sturdy panther
#

It does look neat, yea.

woeful salmon
#

@brave steppe which ones have you tried?

brave steppe
#

I don't like the idea of ORM at all, I've used SQLAlchemy, Tortoise and one for JavaScript

woeful salmon
#

i agree with not sqlalchemy but orms like hybernate(java) or entity framework (c#) are pretty nice

woeful salmon
brave steppe
#

I know enough SQL and I know exactly what I want the query to be

brave steppe
#
select(SomeTable.field1, Sometable.field2).where(Sometable.field2 == Sometable.field1)

-VS-

#
SELECT field1, field2 from Sometable WHERE field1 = field2;
whole bear
#

🙂

brave steppe
woeful salmon
#

@stuck furnace 👋

stuck furnace
#

o/

#

Hello 👋 What're you working on?

#

Ah, Wumpy

#

Erm, I think we're currently working on an abstraction layer, which should simplify contribution.

#

For some of the parts that are common to all of the bots.

#

Oh right

#

We'll definitely be moving over to one of the forks soon.

#

Not sure if we reached a decision about which one.

#

I mean, it's inevitable that we will, so I don't think I'm revealing any information pithink

#

Erm, I'm not sure pithink

whole bear
#

@brave steppe nobody's replying to my question, are you like a little experienced with js?

stuck furnace
brave steppe
stuck furnace
#

Erm, back later 👋

woeful salmon
#

instead of the promise syntax

brave steppe
timid knot
#

!voiceverify

stuck comet
#

argh i have to send 50 chats in order to voiceverify

#

srsly

wind raptor
#

Back in a bit

stuck comet
#

i

#

am

#

just

#

what

#

i am just

amber raptor
stuck comet
#

so what i have to do then

#

steve chop down some trees

dense ibex
#

@rugged root

stuck comet
#

i need some wood broski

#

@quasi condor i love your accent

#

is it british?

#

@amber raptor u in machine learning?

#

stuff

quasi condor
stuck comet
#

where is india LOL

rugged root
stuck comet
rugged root
#

Don't need to apologize, just explaining the system

stuck comet
#

@dense ibex what OS is it man?

dense ibex
#

here's my neofetch

quasi condor
#

sure

#

but

#

yer bad

sweet lodge
#

no u

stuck comet
#

cool

#

@dense ibex what u working on?

sweet lodge
#

fuzzy is good

rugged root
#

Oh right, they just changed the name to fuzzy right?

sweet lodge
#

don't know
just lazy typing

tidal shard
#

been coding for about 2 years, still haven't tried object-oriented python

forest zodiac
#

wow

tidal shard
#

started with Automate the Boring Stuff with Python by Al Sweigart

#

You guys know any resources that would be good to learn OOP Python from?

sweet lodge
#

We did the "code inside the cap of a coke bottle" promotion
And I used fuzzy to help the help desk see if there was a similar code that the customer might be mistyping

sturdy panther
#

Voice chat seems to always bug out the first time I join.

stuck comet
rugged root
sweet lodge
#

Why Parrot?

tidal shard
#

I'm quite familiar with it

stuck comet
tidal shard
#

but not writing my own OOP code from scratch

stuck comet
tidal shard
#

sorry, I think I misheard - which text channel can I find those OOP resources from? 😅

sweet lodge
#

Is turning your head to the right for Jolly Ranchers?

sturdy panther
#

Last time I had problems turning my neck, turned out to be a liver / kidney problem. Sounds so unrelated to me.

tidal shard
#

oooh got it! keanuthanks

#

I always use f strings

#

they're hella useful

sweet lodge
#

Always

tidal shard
#

or use .format() which is worse IMO

#

lmao

sweet lodge
#

f"{getenv('BW_HOST')}/api/beta/orders/{order_number}"

#

Always use fstrings

tidal shard
#

maybe it's just me - I get super confused with how .format() strings end up looking

#

f-string all the way

sturdy panther
#

Probably want to clone headers in line 13?

tidal shard
#

I thought you always need to import asyncio to use async

#

guess that goes to show how much more I need to learn lol

#

or does aiohttp take care of that?

#

that's my favorite film @zenith radish

#

The Big Short

zenith radish
#

^ it's so good

tidal shard
#

I didn't end up finishing Uncut Gems

#

very suspenseful

#

the film does suspense really well

#

like I remember the scene where that basketball player had his hands on the glass

#

looking at jewelry and stuff

#

I also work in FinTech @quasi condor

#

lmao

#

Ben Affleck

#

Nicolas Cage

#

wish I could join the conversation but I just (re)joined the Discord lmao

quasi condor
#

can't speak for at least 2 more days iirc

rugged root
#

Need at least 3 days in the server

tidal shard
#

lmao

#

more

#

I tried absinthe once. once

dense ibex
#
Spirytus
High-proof alcohols can legally go up to 192 proof in the United States. The strongest liquor you'll find on a shelf in the United States is the Polish vodka, Spirytus, coming in at 192 proof or 96 percent alcohol. For reference, this is an even higher alcohol content than Everclear, which contains 95 percent alcohol.
tidal shard
#

lmao

#

accurate

zenith radish
#
# Local
export PATH=/usr/local/bin:$PATH
export PATH=$PATH:$HOME/.local/bin
# Neovim
alias vim="nvim"
# Emacs
export PATH=$PATH:$HOME/.emacs.d/bin
# Rust
source $HOME/.cargo/env
# Go
export GO111MODULE=on
export GOPATH=$HOME/.go
export GOROOT=/usr/local/go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
quasi condor
#

alias terraform="/bin/terraform0.13.2"

zenith radish
#

sudo mv /bin/terraform0.13.2 /bin/terraform

tidal shard
#

what's nvim

#

ooooohhh

#

same question

#

here in SEA, we experience a lot of typhoons

#

Philippines

#

I'mma try this hehe. Thanks!

surreal kite
#

<@&831776746206265384> I cannot speak in voice channels

woeful salmon
rugged root
woeful salmon
#

or look at #voice-verification

quasi condor
#

.

dense ibex
#

!user

wise cargoBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

woeful salmon
#

@zenith radish 🤔 can you try 1 thing for me?
run a command that needs sudo but do

command || sudo $$

never tried so wanna know if you can make a failed command try again with sudo like that

tidal shard
#

as a beginner programmer, LISP looks incredibly alien to me

zenith radish
somber heath
#

()(())()()((()()()())) Boom. Programing language invented.

rugged root
#

What the magical hell

woeful salmon
rugged root
#

No

#

No no no no no

#

No

#

NO

#

I forgot that existed

somber heath
#

heh

tidal shard
#

whoa

dense ibex
#
{{([]([[]]([[[]]]([[[[]]]]{{[[[]]][]}{[[]]{[[[]]][[[[]]]]}}}))))([]([[]]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[][[]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}))}{{([]([[]]([[[]]]([[[[]]]]{{[[[]]][]}{[[]]{[[[]]][[[[]]]]}}}))))([]([[]]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[]{[][[]]}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}))}([[[]]]([[[[]]]][[[[]]]]))}}
quasi condor
#

!e

class Stuff:
    def __init__(self, thing1, thing2):
        self.thing1 = thing1
        self.thing2 = thing2

    def stuff(self):
        return self.thing1+self.thing2

my_thing = Stuff('Hello', ' world')
print(my_thing.stuff())
woeful salmon
wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

Hello world
zenith radish
#
class Stuff:
    constructor(self, thing1, thing2):
        self.thing1 = thing1
        self.thing2 = thing2

    stuff(self):
        return self.thing1+self.thing2

my_thing = new Stuff('Hello', ' world')
print(my_thing.stuff())
#

^ LPython

#

constructor(address: string) {
    this.ymirAddr = address;
    this.remoteStream = new MediaStream();
    this.peerConnection = new RTCPeerConnection({
      iceServers: [{ urls: "stun:stun.l.google.com:19302" }],
    });
}
#

"Prettier config"

quasi condor
#

!e ```py
from dataclasses import dataclass

@dataclass
class Plane:
lat: float
lng: float
number_plate: str

@property
def hemisphere(self):
    return "I'm not writing logic here, but you *could*"

my_plane = Plane(30.2, 0.3, "USFD333")
print(my_plane)
print(my_plane.hemisphere)

#

!e ```py
from dataclasses import dataclass

@dataclass
class Plane:
lat: float
lng: float
number_plate: str

@property
def hemisphere(self):
    return "I'm not writing logic here, but you *could*"

my_plane = Plane(30.2, 0.3, "USFD333")
print(my_plane)
print(my_plane.hemisphere)

wise cargoBOT
#

@quasi condor :white_check_mark: Your eval job has completed with return code 0.

001 | Plane(lat=30.2, lng=0.3, number_plate='USFD333')
002 | I'm not writing logic here, but you *could*
dense ibex
#
@3
@2
@1
def hello() -> None:
  pass
zenith radish
#
api := webrtc.NewAPI(webrtc.WithMediaEngine(mediaEngine), webrtc.WithInterceptorRegistry(interceptor));

    peerConnection, err := api.NewPeerConnection(config);
    if err != nil {
        return nil, err;
    }

LPGoWithSemicolons

quasi condor
#

the semicolons add literally nothing right?

#

why add them?