#voice-chat-text-0

1 messages · Page 244 of 1

somber heath
#

Generator expressions are. () vs []

ivory stump
#

had to google the equivalent, but yes I would be in college

stark river
#

so better to use mapfilter than list comprehension?

somber heath
#

Also, learning how to wrangle the yield keyword can help if you want to write a generator using def.

ivory stump
#

Well asymptotically yes (ie for big things). For small things the overhead of making and consuming a generator can make it slower than a list comp

somber heath
#

The argument of comprehensions vs map et al rages on.

ivory stump
#

You still have stream perms (if that's what you asked about)

somber heath
#

map was bought in because enough people bugged Guido into it because Perl, as I understand

#

Or something along those lines.

#

I could be completely wrong

ivory stump
#

I'm experienced but perhaps not a genius lol

stark river
#

i'm decent enough with python 🤷 .. although i don't understand why you needed to preface that with "i know you're indian..."

#

yes i know.. abhishai ...

#

it's in your profile

#

anyone can look it up

ivory stump
stark river
#

it seems lc is faster

ivory stump
#

Yes, but eventually generators win out

#

See the last 2 runs

stark river
#

i gtg :bye

ivory stump
#

not hugely, I did play emerald and moon tho

#

Until anything on discord requires my presence somewhere else, or you leave the channel

#

Not particularly, I'm just saying that if I'm alone in vc im supervising absolutely nothing

#

So there's not much reason to stay

#

playing a game of chess would be a step too far on the procrastination scale

#

Since I am actually meant to be working :)

#

idk, why?

#

...

#

...

#

you got a chuckle, I'll give you that

#

hmm, can't think of any rn, if I think of one I'll tell you

#

how do they

#

hmm that one wasn't as good, I was expecting smth python specific

#

also travelling in bite/byte sized chunks ;/ ?

#

Well you said "Python programmer" so I'd hope you aren't programming a snake

#

sure, I can give it a quick look

#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

ivory stump
whole bear
ivory stump
#

👍

#

nothing to be sorry about

#
def generate_code():
    code = []

    for _ in range(CODE_LENGTH):
        color = random.choice(COLORS)
        code.append(color)

    return code
``` I'd suggest a list comprehension here, would make this a one-liner
#
        for color in guess:
            if color not in COLORS:
                print(f"Invalid color: {color}. Try again.")
                break
        else:
            break
``` This is pretty cool, always love seeing someone use `for-else`
#

lol fair enough

#

ah

#

If I miss smth it's because of this

#

Nah my ping is just over 5 seconds

#

Which means I have a bad connection, and might thus miss stuff you say

#

the ms is just how many milliseconds it takes for information to go to the discord server

#

gl with that

somber heath
#

@whole bear 👋

#

@peak granite 👋

brisk bridge
#

hi

slim kiln
#

hey

finite sierra
#

hello

slim kiln
#

hey

finite sierra
#

im good how about you

#

im off school sick today and need to catch up on some python

#

wanna see a script i made?

#

its too big to send here though can i send on priv?

slim kiln
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

slim kiln
#

you can paste large codes here

slim kiln
#

hey

spring river
#

@ebon sandal i understand english but not very well

ebon sandal
spring river
#

thank you

#

how your fast on keyboard

spring river
#

yes

#

i'm hate games

#

there reason

#

for that

#

i was hope i can understand you all words you say sorry but i will planing to that

#

and thank you for your time

ebon sandal
#

dont worry about it

#

its not a big deal

spring river
#

are you now playing?

ebon sandal
#

i was just telling you to pracitise typing wihtout looking at your keyboard

#

i am not playing

#

i am doing some coding

spring river
#

yes thank you

#

my fasting typing is 40

ebon sandal
#

lol

#

its just ok

#

but you can surely make it better

spring river
#

i was learning some python

ebon sandal
#

and?

spring river
spring river
ebon sandal
#

i was talking about programming

#

0_0

spring river
#

and i will control on my time for learning again

spring river
ebon sandal
#

Please learn english too

spring river
#

another some thing learning in python is modul

ebon sandal
#

Also i would suggest you to get voice verified role

#

You can then conversate over the call than texting

#

i am not interested much in texting as i am working here

spring river
ebon sandal
#

ok

#

I am here to talk than text

#

so please get the role asap

spring river
#

and i have vides for learn english

#

offline

#

ok but i can't under stand what i do for get this role

ebon sandal
#

damn

#

read rules of the server maybe

spring river
#

okay Ii will read rules again and traying do it

ebon sandal
#

ok

#

thanks

spring river
#

and nice to meet you realy

spring river
ebon sandal
#

lol

spring river
#

for open my mi

#

mic

obsidian dragon
#

hi

spring river
#

but

obsidian dragon
#

👋🏿

spring river
#

now

#

i will

#

go

#

to

#

my

#

work

#

and

#

i nee

obsidian dragon
#

where do you work

spring river
#

need

obsidian dragon
#

USA

spring river
#

in car wash

obsidian dragon
#

ARABIA

spring river
#

yes

#

look that

#

what i need do it

ebon sandal
#

@leaden comet

#

can you help him

spring river
#

i wont see you again okay @ebon sandal

ebon sandal
#

lol

spring river
#

and will go now and i will back some time and thank you

#

and you and when i'm back , will traying again about this mute mic

brisk bridge
#

hi

obsidian dragon
#

/tts?

brisk bridge
#

?

#

hi @uneven canyon

somber heath
#

@tall monolith 👋

#

@terse viper 👋

peak depot
rugged root
whole bear
rugged root
#

!stream 487549238725836800

wise cargoBOT
#

✅ @winter compass can now stream until <t:1705590543:f>.

noble solstice
#

Hello Guys!

whole bear
#

Good one

noble solstice
#

||I am parker, not spiderman!||

whole bear
noble solstice
somber heath
#

@wet field 👋

wet field
whole bear
#

@raw carbon Hi👋

#

@minor sage YOOOO It's been a while since I've seen you

#

@scarlet halo Yoo

scarlet halo
#

@winter compass try windirstat and delete files you dont need maybe?

whole bear
#

How is my Fav swede doing? 🧢

scarlet halo
#

LOUIE NOOO

#

heres my disk

#

its an nvme drive

mystic lily
scarlet halo
#

45% used on my nvme drive on mountpoint '/' pretty good right?

rugged root
#

Love it

whole bear
#

Yo Hemlock

rugged root
#

Hmm?

whole bear
#

I created Mastermind game yesterday

#

Can I show?

scarlet halo
#

a really cool program that lets you see the biggest files on your drive

whole bear
#

Hey Clari

willow light
#

@rugged root I have started on a new project, I might actually finish this one because I could see myself using it. A recipe app that is also a pantry inventory that autoupdates shopping lists, and when you cook your recipes it auto updates your pantry inventory and your shopping list accordingly. Stretch goal: AI-generated recipes based on current pantry inventory.

scarlet halo
#

󰯈

#

oh

willow light
#

In Sprint Planning, can't join voice rn.

rugged root
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

whole bear
scarlet halo
#

dude i cant wait to get a SCART to HDMI adapter so i can finally use my wii with my monitor

rugged root
#

Wha

#

Wii had a SCART connection?

rugged root
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

scarlet halo
whole bear
#

Yo I'm creating a terrorist organization and I need help coding anyone free?

mystic lily
scarlet halo
#

yeah composite ithink

#

red white yellow yea

#

yeah

#

i have the composite to scart adapter

#

works with my tv

#

but not my monitpr

minor sage
somber heath
scarlet halo
#

so apparently you're not allowed to play NES tetris in class

#

dont ask where i got it from

#

no'nt

rugged root
minor sage
scarlet halo
willow light
#

Oh god that's a lot of site tracking in that url

sturdy panther
#

Not completely random for once.

vernal bridge
#

Bureau

#

Büro

dry jasper
#

u

#

uu

rugged root
#

w

dry jasper
#

u = ü

#

uu = u

vernal bridge
#

VAK

rugged root
#

@vernal bridge I'll miss u

minor sage
#

Твоя мама более использована, чем деревенский презерватив

#

JUST DO IT

rugged root
#

I kind of like the bottom one better

#

The blue is quite pleasing

willow light
#

laughs in ol' reliable

rugged root
#

Sorry, I'm back

#

Had to step away for a sec

#

Back in a sec, again

#

Zoom didn't save the fucking webinar so I'm having to call the folks and see if they have a copy of it

#

I hate Zoom

#

It said it was recording

#

It liiiiieeeeeeeed

stark river
#

discord in ff reader mode thinkmon

whole bear
#

How long have been in the call?

rugged root
#

No idea

whole bear
#

I should've just went afk

hasty orbit
#

@raw carbon i hear the irish in your accent

#

i hear it anyway haha

#

i'd talk but i'm not voice verified

stark river
#

must be on dope

hasty orbit
#

nah

whole bear
#

@scarlet halo My condolences to your grandpa

golden sonnet
#

👋

silent willow
#

Hello,Does anyone here know based on -AI-website that translates pdf files??

#

Hello 👀👀👀👀

rugged root
#

Oh uhhhh

#

That's a good question

#

Maybe pump it through some OCR program so that you can extract the text first and just translate after?

#

Not sure if there's a single one and done thing

#

Not saying there isn't, just that I don't know of any

silent willow
rugged root
#

Yep yep. I feel like people are relying or hoping for AI solutions for everything when it can kind of feel like overkill

#

Especially with things like OCR which are kind of solved

#

Not ripping on you, just thinking

rugged root
#

Bold of you to assume I wasn't lazy before

silent willow
knotty flint
#

BSIT?

knotty flint
#

i am mute in VC 😿

#

okay okay

knotty flint
#

done

golden sonnet
#

my cart database works now py_strong

knotty flint
#

thanks

golden sonnet
#

now cart session :/

rugged root
#

Nice

knotty flint
#

recursion

#

haha say chatGPT for prompt to make prompt to make that more good

golden sonnet
#

prompt: make gpt5

knotty flint
#

haha this make openAI GPT store stop

stuck furnace
#

Yeah, Legaleagle did a video on it.

whole bear
#

ALEX

#

I talked to Cheeki yesterday

#

He was nice

#

Or she idk

knotty flint
#

haha long

silent willow
knotty flint
#

haha after this no one will think 28:48 is big

#

79.5hrs

whole bear
#

I watched longer videos than this

knotty flint
whole bear
#

Ik

#

That's why I reacted cap

silent willow
#

Ohh nice

whole bear
#

@scarlet halo

#

Where are you?

silent willow
#

That carpet looks Arabian 👀👀👀

knotty flint
#

14 injection

#

haha nah that for rabis

#

before

#

but not now

silent willow
#

Wasting a lot of moeny on carpets 😂😂😂 u live in Palace??

#

They're the best carpets for sure ❤️❤️

golden sonnet
#

The song “ətˈæk 0N tάɪtn” from the "Attack on Titan" Original Soundtrack.
Composed by Hiroyuki Sawano. Sung by Mika Kobayashi.
Playlist: https://www.youtube.com/playlist?list=PLvXMARe51eebp4yq5n0Kv3RUdXiru-M75
Buy the soundtrack here: http://www.cdjapan.co.jp/product/PCCG-1351

▶ Play video
silent willow
#

The best quality

golden sonnet
#

mind blown

golden sonnet
silent willow
golden sonnet
#

carpet made by hand?
50% is crazy a lot

#

he must like you very much 😄

silent willow
#

😂😂😂 that's how we get from pet discuss to carpets

peak depot
#

hair/fur

#

also we like to listen @raw carbon talk

silent willow
#

When I want to buy a carpet I need you by my side @raw carbon

echo tartan
whole bear
#

At the Copa

echo tartan
whole bear
stark river
#

the good thing about making my own masks was i could get the size right according to my face

#

bespoke masks

peak depot
echo tartan
peak depot
#

ikea water

echo tartan
#

best thing at ikea

rugged root
#

!stream 243117556729249792

wise cargoBOT
#

✅ @echo tartan can now stream until <t:1705606715:f>.

rugged root
scarlet halo
#

can i stream?

#

my code

rugged root
#

!stream 710856373675491381

wise cargoBOT
#

✅ @scarlet halo can now stream until <t:1705607588:f>.

prisma cobalt
#

Why can't I speak?:/

rugged root
prisma cobalt
#

Ok

rugged root
#

!e

from functools import partial

basetwo = partial(int, base=2)
print(basetwo('10010'))
wise cargoBOT
#

@rugged root :white_check_mark: Your 3.12 eval job has completed with return code 0.

18
prisma cobalt
#

It says I have sent less than 50 messages. Is sending messages here count?

whole bear
#

Yes

#

Don't spam pls

prisma cobalt
#

Sure lol 😆

whole bear
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

whole bear
#

@wind raptor

prisma cobalt
#

Is any data engineer or data crawling experts hère?

rugged root
#
import tkinter as tk
from PIL import ImageTk
    
def show_image(imagefile):
    image = ImageTk.PhotoImage(file=imagefile)
    imagebox.config(image=image)
    imagebox.image = image # save a reference of the image to avoid garbage collection

root = tk.Tk()

frame = tk.Frame(root)
frame.pack()

button = tk.Button(frame, text="QUIT", fg="red", command=quit)
button.pack(side=tk.LEFT)

slogan = tk.Button(frame, text="Hello", command=lambda: show_image("slogan.png"))
slogan.pack(side=tk.LEFT)

other = tk.Button(frame, text="World", command=lambda: show_image("other.jpg"))
other.pack(side=tk.LEFT)

# label to show the image
imagebox = tk.Label(root)
imagebox.pack()

root.mainloop()
#

!kindling

wise cargoBOT
#
Kindling Projects

The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.

wind raptor
#

!stream 717749310518722691

wise cargoBOT
#

✅ @whole bear can now stream until <t:1705608958:f>.

whole bear
#

@jolly path 👋

#

1

wind raptor
#

g2g pick up my kid

left leaf
#

aight sir

whole bear
#

@stuck furnace can I get stream perms?

molten pewter
stuck furnace
scarlet halo
#

gn broskis

whole bear
stuck furnace
#

!stream @whole bear

wise cargoBOT
#

✅ @whole bear can now stream until <t:1705611237:f>.

obtuse grove
#

why can't I talk???

whole bear
#

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

stuck furnace
obtuse grove
stuck furnace
molten pewter
#
stuck furnace
#

!stream 717749310518722691 30M

wise cargoBOT
#

✅ @whole bear can now stream until <t:1705613329:f>.

whole bear
#

@molten pewter Sorry for interupting

stuck furnace
#

Er, sorry I wasn't listening.

#

lol

#

My attention is elsewhere sorry

#

Turn on PTT?

#

What's everyone up to?

#

Yep

#

Ah well, nevermind

#

Erm, not much. Just put together a new monitor stand 😄

#

Amazon Basics 😄 It's actually way sturdier than I thought it would be.

#

Desk pic 👀

#

Yeah. The old monitor stands were taking up like half the desk space.

#

Yep

#

¯_(ツ)_/¯

#

I'm too used to this keyboard to change it lol

#

Ignore the fact that I'm using an apple keyboard on a windows computer.

#

I can't hear it pithink

#

Gotta go cya 👋

whole bear
#

Bye

green bone
#

btw isdigit is evil, use isdecimal instead

#

!e

s = "௫"
print(s.isdigit())
print(s.isdecimal())
wise cargoBOT
#

@green bone :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | True
002 | True
green bone
#

wait... don't use isdecimal

#

what the heck do you use

#

if set(s) <= {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"} 🤓

whole bear
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

!eval [python_version] <code, ...>
Can also use: e

Run Python code and get the results.

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

The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.

If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.

Currently only 3.12 version is supported.

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

spring river
wind raptor
#

str, int, float, list, set, tuple, dictionary

brisk bridge
#

hi

somber heath
#

A dictionary is a collection of items, each item being a key:value pairing. Each value may be referred to by its key. A dictionary may not have duplicate keys.

A dictionary is roughly comparable to a real world dictionary, with keys being the words and the values being the word definitions.

#

!e py d = {'key a': 'value a', 'key b': 'value b', 'key c': 'value b'} print(d.keys()) print(d.values()) print(d.items()) print(d['key b'])

wise cargoBOT
#

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

001 | dict_keys(['key a', 'key b', 'key c'])
002 | dict_values(['value a', 'value b', 'value b'])
003 | dict_items([('key a', 'value a'), ('key b', 'value b'), ('key c', 'value b')])
004 | value b
somber heath
#

@silk crow 👋

whole bear
somber heath
#

!e py a = 'abc' b = 'def' print(id(a)) print(id(b))

wise cargoBOT
#

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

001 | 140603641218624
002 | 140603629464688
somber heath
#

!e py a = [] b = [] c = a print(a == b) print(a is b) print(a is c)

wise cargoBOT
#

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

001 | True
002 | False
003 | True
somber heath
#
(1, 2, 3)```
#
[1, 2, 3]```
#
def func():
    pass```
#
(1 + 2) * 3```
#

!e py print('abc'[0]) print('abc'[1]) print('abc'[2]) print('abc'[-1]) print('abc'[-2]) print('abc'[-3])

wise cargoBOT
#

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

001 | a
002 | b
003 | c
004 | c
005 | b
006 | a
somber heath
#

Subscription by index position. 👆

#

!e py d = {'key a': 'value a'} print(d['key a'])Subscription by key.

wise cargoBOT
#

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

value a
somber heath
#

Subscription is when you have the square brackets to the direct right of an object.

#

!e py d = {1: 2} print(d[1])Also subscription by key.

wise cargoBOT
#

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

2
somber heath
#
() Parentheses
[] Square brackets
{} Curly braces```
#

Patentheses and square brackets mean different things depending on where they are and what's around them.

#

@rigid trellis 👋

#

@whole bear Don't worry about how difficult this all feels now. After a while, this will be stuff you know off the top of your head.

#

@tidal parcel 👋

#

@halcyon summit 👋

halcyon summit
#

Hi

somber heath
halcyon summit
#

I haven't voice verified. Idk why I joined this vc.

forest zodiac
#

@wind raptor

wind raptor
#

Nice. Just checked it out

#

HTMX is so clean

forest zodiac
#

demo

#

if you were doing with some client side library you would be managing 10 states doing client side validation parsing the json

#

bla bla

pine depot
whole bear
#

Hello there!!!

stark river
#

hi

whole bear
#

Hyd???

stark river
#

fine

whole bear
#

Oh..

somber heath
#

@azure elbow 👋

#

@grim lagoon 👋

grim lagoon
#

Hi

somber heath
azure elbow
#

why cant i unmute

somber heath
azure elbow
#

thx

brisk bridge
#

hi

obsidian dragon
#

hi @brisk bridge

somber heath
#

@timber current 👋

timber current
#

Wassup

#

You talk with me?

#

Bro Ur voice.....

#

I don't understand u

#

I want ask

#

U

#

U good at python?

#

Great

#

Can i create Library?

#

In python

#

U creat one ?

#

😂

#

U like my grandfather however thx Mr

somber heath
timber current
#

Sorry but my English is bad

#

It's bad brainmon

somber heath
timber current
timber current
somber heath
#

@whole bear @whole oar 👋

somber heath
timber current
whole bear
echo garden
echo garden
#

1000 times efficiency is an amazing jump

#

the best we can do now is nearly 30%

timber current
#

Why

echo garden
#

riles @timber current

whole bear
echo garden
#

rules

timber current
echo garden
#

yeah but the prevent random noisy people from ruining conversations

whole bear
echo garden
#

everyone has been through theses rules you are not the only one

timber current
#

So Can I spam?

echo garden
#

sure.. but the bots will take that privilege away

somber heath
timber current
whole bear
timber current
#

I didn't see it sorry

echo garden
#

i know

timber current
#

And I heart you

#

🤣

whole bear
timber current
echo garden
#

long enough to know how to read it which is much most other languages

timber current
whole bear
somber heath
whole bear
timber current
whole bear
whole bear
echo garden
#

@whole bear ya know it much like other languages just differnt orders of operation

timber current
#

No, it's easy, just be patient, don't give up

timber current
whole bear
timber current
#

@somber heath bye old man 👋

somber heath
timber current
#

Come on I joke 🤷why u get mad

whole bear
somber heath
whole bear
somber heath
#

@ember dew 👋

somber heath
whole bear
#

I am afraid in voice chat to speak, my English is bad but I am learning with a teacher now, I need it first of all for IT job in the future.

whole bear
somber heath
whole bear
somber heath
#

@lucid wren 👋

#

@misty matrix 👋

#

@shadow tree 👋

whole bear
#

@whole bear wow

somber heath
#

@whole bear 👋

whole bear
#

Are the syntaxes of Java and C++ similar?

#

Hii

whole bear
vocal basin
whole bear
vocal basin
#

C-like syntax

#

{} blocks, ; at the end of lines, () for conditions/loops, ? : ternary
(trying to remember what else they have in common which would separate it from other syntax families)

somber heath
#

@upper epoch 👋

whole bear
#

What language would u choose to start?

upper epoch
#

Hey felas

vocal basin
rugged root
#

something something = New something

vocal basin
#

yeah, type variable thing generally

upper epoch
#

What do u guys think which language will be most wanted in the market after 3 or 4 years

vocal basin
#

English

sturdy panther
#

I am guessing both has potentially ambiguous parsing for >>

whole bear
#

Or he

#

Sorry

rugged root
#

JavaScript, C#, Java, Kotlin, Go

#

Those are still going to be strong for a long while

upper epoch
upper epoch
rugged root
#

Legit thought I typed that one

#

Yeah Python as well

whole bear
#

Is JavaScript similar to Java?

rugged root
#

In name only

vocal basin
#

syntax also

rugged root
#

More or less

dry jasper
#

According to the Animal Aging and Longevity Database, the list of animals with negligible aging (along with estimated longevity in the wild) includes:[12]

Blanding's turtle (Emydoidea blandingii) – 77 years
Olm (Proteus anguinus) – 102 years
Eastern box turtle (Terrapene carolina) – 138 years
Red sea urchin (Strongylocentrotus franciscanus) – 200 years
Rougheye rockfish (Sebastes aleutianus) – 205 years
Ocean quahog clam (Arctica islandica) – 507 years
Greenland shark (Somniosus microcephalus) - 250 to 500 years

vocal basin
#

doesn't it have them?

alpine crow
vocal basin
vocal basin
rugged root
#

Modern JS only technically has classes

#

Everything is still based on Prototypes

upper epoch
rugged root
#

Python

vocal basin
vocal basin
alpine crow
#

It’s similar to python but and u can use for web scripting

#

But python is more useful for client scripting imo

alpine crow
#

U can use node and use it the same as python tho

dry jasper
#

depends, if you want to do anything else besides web develoment, i would say python. If you do webdevelopment, i would say javascript.

upper epoch
#

Why

vocal basin
somber heath
#

@thin tree 👋

dry jasper
vocal basin
upper epoch
#

Guys, what are the odds that chat-gpt will take over developers job in the coming 10 years

vocal basin
#

it's already taking over and actively degrading average code quality

upper epoch
vocal basin
#

AI at its current stage is quite bad at coding

#

it needs guidance from more experienced programmers (like, even a month of experience worth will already outperform GPT at some things),
of which you might become one

upper epoch
vocal basin
#

the thing, that GPT is good at, is replication rather than development:
doing something that has already been solved

vocal basin
upper epoch
vocal basin
#

as for front-end, there are reasons why "centring a div" is such a big meme and an unsolved problem

upper epoch
sturdy panther
#

Can't repro the alt-tab issue

vocal basin
vocal basin
sturdy panther
#

I am still using chocolatey

rugged root
#

That's also dope for sure

exotic moss
#

I just got a YouTube ad that said I could skip in 55 seconds and it was like 7 different ads

stuck furnace
#

hey

alpine crow
stuck furnace
#

yeah I thought you were talking about the water too 😄

somber heath
#

@limber stone 👋

limber stone
sturdy panther
#

There is no particle kinetic energy transfer to get rid of the heat, I think...?

rugged root
#

Yeah that's what I'm thinking

whole bear
somber heath
#

Almost.

stuck furnace
#

Fire actually needs gravity

rugged root
#

Yeeeeep

stuck furnace
#

Or something to keep supplying it with oxygen

rugged root
#

Fuuuuuuuuuu I have to write some more VBA

golden sonnet
#

👋

#

knowladge is infinite
so you can't put it in a finite space

stuck furnace
#

Oh I always assumed it was a reference to those cool images you used to make

rugged root
#

@sturdy panther Whatcha workin' on?

whole bear
#

@karmic cape

rugged root
#

That'll tell you what you need to know about the voice gate

sturdy panther
#

WFH. Fortran. So not even Python related S:

rugged root
#

What's WFH?

#

I'm back, sorry

somber heath
#

grapes

sturdy panther
#

rapeseed

rugged root
#

!source

wise cargoBOT
left leaf
#

The year is 1981, and as a young officer trainee, you are assigned to work at a border post in the mountainous region of Karikatka. Entry into the Acarist People's Republic is strictly regulated by the party and your every move is monitored! The situation at the border escalates when your comrade is killed during one of the interventions...Docum...

Price

$19.99

Recommendations

11750

Metacritic

77

▶ Play video
stuck furnace
#

You know this pings the mods? 😄

#

Maybe I shouldn't reveal that.

alpine crow
#

Yeah lol

#

We were testing what pinged the mods

#

That’s y ppl r saying grape lol

#

To test the regex

#

Mb

#

That 1 was pretty obviously gonna flag

stuck furnace
#

We could probably modify the regex to exclude this one.

alpine crow
#

Oh that one pings it? lol

stuck furnace
#

Yep 😄

alpine crow
#

Ig good test then 😂

stuck furnace
#

Use your new found powers for good!

stuck furnace
left leaf
#

e = 2.7

stuck furnace
#

Although some people interpret that as a dig at Robert Hooke

#

Who wasn't very tall

stuck furnace
#

Kids these days can't even build a pyramid

#

Too busy with their tick tocks

icy axle
#

Speak for yourself, I've made loads of Pyramids

rugged root
stark river
#

pyramid schemes*

icy axle
#

Pyramid schemes are one honking great idea, let's do more of those!

wise cargoBOT
#
Bad argument

Please provide an index between -19 and 18.

icy axle
#

!zen 18

wise cargoBOT
#
The Zen of Python (line 18):

Namespaces are one honking great idea -- let's do more of those!

clear portal
whole bear
#

!how to learn python

wise cargoBOT
#
Discord Bot Hosting

Using free hosting options like repl.it or Heroku for continuous 24/7 bot hosting is strongly discouraged.
Instead, opt for a virtual private server (VPS) or use your own spare hardware if you'd rather not pay for hosting.

See our Discord Bot Hosting Guide on our website that compares many hosting providers, both free and paid.

You may also use #965291480992321536 to discuss different discord bot hosting options.

rugged root
#

@whole bear What was the confusion?

stark river
#

heroku is not even free anymore.. update the text

whole bear
rugged root
#

There's not a free tier anymore?

#

Makes sense, honestly

stuck furnace
#

Swim sideways!

whole bear
stark river
#

not since salesforce(?) bought it

icy axle
#

You can use something like Oracle Cloud Infrastrucutre. Last time I checked they has a free VPS tier

rugged root
stark river
rugged root
#

Interesting

wise cargoBOT
#
Discord Bot Hosting

Using free hosting options like repl.it or Heroku for continuous 24/7 bot hosting is strongly discouraged.
Instead, opt for a virtual private server (VPS) or use your own spare hardware if you'd rather not pay for hosting.

See our Discord Bot Hosting Guide on our website that compares many hosting providers, both free and paid.

You may also use #965291480992321536 to discuss different discord bot hosting options.

left leaf
#

THAT'S DUNKING

rugged root
#

I can hear the need for an inhaler and pocket protector

rugged root
left leaf
rugged root
left leaf
#

me and monkey

#

@whole bear

stuck furnace
#

Those aren't porcini mushrooms!

stark river
#

friday night... time to tweak my logo_vim config

left leaf
#

everyday

#

everysingledamnday

#

you wake up

#

@whole bear

#

remember you're being hunted

#

by me

#

good

#

now we're talking

#

In 1983, Billy Joel released his album An Innocent Man, an album that traces Joel's musical history through his teenage years in the late '50s and early '60s. Watch the official music video for 'Uptown Girl'

Listen to Billy Joel: https://billyjoel.lnk.to/listenYD
Subscribe to the Billy Joel YouTube Channel: https://billyjoel.lnk.to/subscribe
Wa...

▶ Play video
dry jasper
#

@rugged root

stark river
#

🤮

#

wait. what is that?

ivory stump
rugged root
#

How's going

keen tendon
#

a

#

the great ketchupshake

ivory stump
#

Nothing remotely difficult but I'd never actually done a whole deployment so was nice to learn docker etc

#

Now I get to back in a sea of green ticks

ivory stump
#

Skip the middleman and use a baseball bat to the kneecaps

keen tendon
#

@icy axle ay its so tasty

icy axle
ivory stump
icy axle
keen tendon
stark river
#

was ist das

keen tendon
#

also its SHEEP milk if you may

icy axle
#

Gotta go, byesies

ivory stump
#

As soon as vester leaves huh

keen tendon
#

milk

patent meadow
#

hey, wassup?

keen tendon
#

i dip my chicken bones in milk and eat it

ivory stump
#

@icy axle I don't wanna say you have enemies but they all waited for you to leave before joining...

#

<3

patent meadow
#

any body works on yolov5?

rugged root
sturdy panther
keen tendon
patent meadow
icy axle
rugged root
keen tendon
rugged root
keen tendon
#

im releasing a PYSUS hoodie bois

ivory stump
keen tendon
#

PYSUS HOODIE

#

only $6.9 dollars

rugged root
#

Pretty sure the PSF wouldn't be happy with that

keen tendon
#

ayo

rugged root
#

There's certain guidelines you have to use the PSF logo for sale and what not

#

Python Software Foundation

keen tendon
#

this is pysus

rugged root
#

!stream 243117556729249792

wise cargoBOT
#

✅ @echo tartan can now stream until <t:1705685830:f>.

keen tendon
#

o yea resizing images

whole bear
#

lol who left this time

sturdy panther
#

Is border a thing?

ivory stump
#

Adios guys ablobwave

whole bear
#

but im on linux

#

audio shouldnt work

stuck furnace
#

Cya 👋

#

Mayhaps

stark river
#

man i miss darksiders game

stuck furnace
#

What're you working on?

wind raptor
#

This is new

stuck furnace
#

Yeah stats are always useful

#

Like, say you need to prove that the change you made to the front end actually improved the website and the improvement you saw wasn't just due to random chance.

stuck furnace
#

@brittle snow Having issues?

peak depot
mental seal
#

I cannot speak

#

won't let me

whole bear
#

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

whole bear
#

am i breaking rules?

#

inheritance?

#

Im hungry Imma go bye guys

#
class Person:
    def __init__(self, name, age):
        self.name, self.age = name, age
#

Person(name="aspizu", age=19)

#

does this not work for you?

#

i usually just use dataclass

#
>>> class Person:
...     def __init__(self, name, age):
...         self.name, self.age = name, age
... 
>>> p1 = Person("aspizu", 18)
>>> p1.name
'aspizu'
>>> p1.age
18
mental seal
#

class Person:
def int(self, name, age):
self.name, self.age = name, age

Person(name="aspizu",age = 19)

mental seal
#

tysm

peak depot
sage patrol
#

😂

peak depot
#
whole bear
#

its preact

stark river
#

preact + deno

sage patrol
#

code react with PyCharm in a Python voice channel

#

just curious, what do you like about deno

whole bear
#
>>> class Foobar2000:
...   def __int__(self): return 2000
... 
>>> int(Foobar2000())
2000
forest pagoda
#

@stark river you just mentioned that you studied in the UK, right?

forest pagoda
stark river
forest pagoda
stark river
forest pagoda
sage patrol
#

grab some merino wool baselayers

stark river
peak depot
forest pagoda
stark river
whole bear
#

do you have anemia? @left leaf

echo tartan
#

merino wool is goat for snowboarding

sage patrol
#

eeeyy yes

#

life savers

whole bear
#

Sometimes anemia causes coldness and drop in blood pressure, which brings cold in the body

willow light
#

weighted blanket is good too. I use a heated mattress pad. Keeps my cats happy.

echo tartan
#

tru, anything cold and you might sweat

#

better than water bottle

willow light
#

Just temporarily relocate to Phuket or something

whole bear
echo tartan
forest pagoda
stark river
willow light
#

Working on building a recipe app that is also a pantry inventory manager and a shopping list manager. all-in-one.

whole bear
forest pagoda
willow light
left leaf
peak depot
echo tartan
left leaf
#

alright mens

#

im out

peak depot
#

But I need it..

#

To funktion

#

Sleep is good

#

Best thing u can do in bed

wind raptor
#

brb

willow light
short owl
#

musta been a wild party....

whole bear
#

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

humble zinc
#

j

#

@whole bear hi iam here

#

it says You have sent less than 50 messages.

#

so i have to chat 50 mess until unlock voice channel

somber heath
#

!e py print('Hello, world.')

wise cargoBOT
#

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

Hello, world.
somber heath
#

!d print

wise cargoBOT
#

print(*objects, sep=' ', end='\n', file=None, flush=False)```
Print *objects* to the text stream *file*, separated by *sep* and followed by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as keyword arguments.

All non-keyword arguments are converted to strings like [`str()`](https://docs.python.org/3/library/stdtypes.html#str) does and written to the stream, separated by *sep* and followed by *end*. Both *sep* and *end* must be strings; they can also be `None`, which means to use the default values. If no *objects* are given, [`print()`](https://docs.python.org/3/library/functions.html#print) will just write *end*.

The *file* argument must be an object with a `write(string)` method; if it is not present or `None`, [`sys.stdout`](https://docs.python.org/3/library/sys.html#sys.stdout) will be used. Since printed arguments are converted to text strings, [`print()`](https://docs.python.org/3/library/functions.html#print) cannot be used with binary mode file objects. For these, use `file.write(...)` instead.
somber heath
#

!e ```py
def func(parameter):
print(parameter)

argument = 'Hello, world.'

func(argument)```

wise cargoBOT
#

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

Hello, world.
somber heath
#

@fossil compass 👋

#

The common bronzewing (Phaps chalcoptera) is a species of medium-sized, heavily built pigeon. Native to Australia and one of the country's most common pigeons, the common bronzewing is able to live in almost any habitat, with the possible exception of very barren areas and dense rainforests. Its advertising call is an extraordinary mournful whoo...

#

The crested pigeon (Ocyphaps lophotes) is a bird found widely throughout mainland Australia except for the far northern tropical areas. Only two Australian pigeon species possess an erect crest, the crested pigeon and the spinifex pigeon. The crested pigeon is the larger of the two species. The crested pigeon is sometimes referred to as a topkn...

#

!e ```py
def func():
print('Hello, world.')

func()
func()
func()```

wise cargoBOT
#

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

001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
mild quartz
mild quartz
#
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
mild quartz
#
sudo apt-get install build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev
whole bear
#

CYYYYY

mild quartz
#
sudo apt-get install python3-tk 
hardy mist
#

hi

whole bear
#
import random

COLORS = ["R", "G", "B", "Y", "W","O"]
TRIES = 10
CODE_LENGTH = 4


def generate_code():
    code = []

    for _ in range(CODE_LENGTH):
        color = random.choice(COLORS)
        code.append(color)

    return code

def guess_code():

    while True:
        guess = input("Guess: ").upper().split(" ")

        if len(guess) != CODE_LENGTH:
            print(f"You must guess {CODE_LENGTH} colors.")
            continue

        for color in guess:
            if color not in COLORS:
                print(f"Invalid color: {color}. Try again.")
                break
        else:
            break

    return guess

def check_code(guess, real_code):
    color_counts = {}
    correct_pos = 0
    incorrect_pos = 0

    for color in real_code:
        if color not in color_counts:
            color_counts[color] = 0
        color_counts[color] += 1

    for guess_color, real_color in zip(guess, real_code):
        if guess_color == real_color:
            correct_pos += 1
            color_counts[guess_color] -= 1

    for guess_color, real_color in zip(guess, real_code):
        if guess_color in color_counts and color_counts[guess_color] > 0:
            incorrect_pos += 1
            color_counts[guess_color] -= 1

    return correct_pos, incorrect_pos

def game():
    print(f"Welcome to Mastermind, you have {TRIES} to guess the code...")
    print("The valid colors are", *COLORS)

    code = generate_code()
    for attempts in range(1, TRIES + 1):
        guess = guess_code()
        correct_pos, incorrect_pos = check_code(guess, code)

        if correct_pos == CODE_LENGTH:
            print(f"You guessed the code in {attempts} tries!")
            break

        print(f"Correct Positions: {correct_pos} | Incorrect Positions: {incorrect_pos}")

    else:
        print("You ran out of tries, the code was:", *code)


if __name__ == "__main__":
    game()```
hardy mist
#

jesus I need 50 messages to talk?

#

ahh ok

#

Me?

#

I would never

hollow oar
#

what

tidal parcel
#

Is that Server connected by computer?? by ssh??

hollow oar
#

@whole bear if you plan on working on things relating to automation yes learn Python first for learning programming concepts but then you could stretch out to other languages like AutoHotKey which is designed with automations and keyboard shortcuts in mind

#

python though is great because its general purpose and easy to learn

#

for loops are loops with a predefined amount of iterations that itterates over the given object and has a var which is asigned to the index in the itteration

somber heath
#

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

wise cargoBOT
#

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

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

!e py letter = 'a' print(letter) letter = 'b' print(letter) letter = 'c' print(letter)

wise cargoBOT
#

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

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

!e py for i in range(5): print(i)

wise cargoBOT
#

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

001 | 0
002 | 1
003 | 2
004 | 3
005 | 4
somber heath
#

!e py for _ in range(5): print('Hello, world.')

wise cargoBOT
#

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

001 | Hello, world.
002 | Hello, world.
003 | Hello, world.
004 | Hello, world.
005 | Hello, world.
hardy mist
#

this looks so different from js

hollow oar
#

!e ```py
i = 0
while i < len("abc"):
print("abc"[i])
i+=1

wise cargoBOT
#

@hollow oar :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | a
002 | b
003 | c
hollow oar
#

len is short for length

#

it gets the length of the string

#

ex len("abc") = 3

wise cargoBOT
#

@hollow oar :white_check_mark: Your 3.12 eval job has completed with return code 0.

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

!e py print(len('abcd'))

wise cargoBOT
#

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

4
hollow oar
#

of course you would use one in that case

mild quartz
#

@ebon mist ok it worked

#

now

pyenv global 3.11

then

curl -sSL https://install.python-poetry.org | python3 -
somber heath
#

!e py my_list = ['abc', 'def', 'ghi'] length = len(my_list) print(length)

wise cargoBOT
#

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

3
twin tulip
#

Hello! I'm trying an exericse. It goes as follows:
Please write a program which keeps asking the user for words. If the user types in end, the program should print out the story the words formed, and finish. Change the program so that the loop ends also if the user types in the same word twice.
I can't make the second part works. I can't find a way to comprobe if the new input word is already on the variable. Maybe someone can help me

#

word=input('word')
while True:

if 'end' in word:
    break
elif word != 'end':
    word1 = input('word')
    
    if word1 == 'end':
        break
    elif word1 != 'end':
        word = word + ' ' + word1
    elif word1 in word:
        break

print(word)

#

I thought elif word1 in word: would work but i dont know why it doesnt

whole bear
#

Wrong place

mild quartz
#

now

pyenv global 3.11
curl -sSL https://install.python-poetry.org | python3 -
#

@ebon mist

twin tulip
#

ok

hollow oar
wise cargoBOT
#

@hollow oar :white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | abc
002 | def
003 | ghi
hollow oar
#

I dont use Python to much honestly I mainly use RustLang

#

but thanks

somber heath
#

@twin tulip This is not, in point of fact, a wrong place to ask. However, we are in the middle of a discussion in the voice chat, which this text channel is associated with.

twin tulip
#

Sorry...

somber heath
hollow oar
#

@whole bear dont worry about that right now

#

lets focus on python rn

mild quartz
#
from flask import Flask, render_template
app = Flask(__name__)

@app.route('/')
def home():
   return render_template('index.html')
if __name__ == '__main__':
   app.run()
hollow bough
#

import tkinter.ttk
import tkinter.ttk as ttk

mild quartz
hollow bough
whole bear
#

Hi guys 🙂

keen tendon
#

a

brisk bridge
#

hi

#

how are you?

obsidian dragon
#

@silk geyser

#

$10 udsd

silk geyser
obsidian dragon
stark river
#

that's one way to spend the weekend

somber heath
#

@mortal moon 👋

mortal moon
#

hello

somber heath
#

@hollow crystal 👋

hollow crystal
#

heloo

#

i dont have permission

somber heath
#

@west coral 👋

#

@undone smelt 👋

whole bear
#

@pastel solar 👋

somber heath
#

@warm rover 👋

#

@sage patrol 👋

sage patrol
#

Heya

#

Just chilling

somber heath
#

@muted cliff @whole bear 👋

sage patrol
#

The voice verification is scary for introverts like me. Gotta send 50 messages 😦

somber heath
peak depot
somber heath
#

The voice gate provides enough discouragement for those people.

sage patrol
#

I can imagine

#

Very hard to manage people in a channel this big

somber heath
#

It's not that it's big.

peak depot
#

yes u did

#

make the notes that hemlock told u

sage patrol
whole bear
#

Milien

#

Wanna play chess?

sage patrol
#

Cat pics please

peak depot
sage patrol
peak depot
sage patrol