#voice-chat-text-0

1 messages Β· Page 141 of 1

whole bear
#

@lavish rover

#

help

wind raptor
#

I'm not that interested in it to go to a private call.

whole bear
#

please i want to talk

#

stop abusing me @wind raptor

wind raptor
whole bear
#

hes abusing me for me not talking

#

its getting annoying

wind raptor
#

guys chill. I was talking to knity in vc0. he wasn't spamming

whole bear
#

talking?

#

or me messaging

wind raptor
#

You're not even in VC man

whole bear
#

i give up

wind raptor
rocky dome
#

πŸ‘‹

#

i have a question

#

i kinda wanna put my sh*t projects on github

#

all of them

#

is it fine to just keep private repos

#

i also wanna practice git with it

#

plus i want that 🟩 streak

#

do people actually care about ur public repos? or they will see the one that are pinned and stuff

#

like i want to put some games i made with lua

#

but i dont want to become a

#

game dev

#

so..

#

nah i dont wanna farm streaks or somethn

whole bear
#

hey

rocky dome
#

@lavish rover i wanted to ask you this question last time (a few days ago) but i was kinda "shy" πŸ’€ πŸ˜…

what was ur roadmap for learning python (im kinda lost) for summer, i have plan to learn matplotlib and stuff
i made projects till oop only, nothing s*xy

#

ah

#

ye, projects help

whole bear
#

@rocky dome

#

hey

rocky dome
#

i think you are right, for my next projecct i need to learn matplotlib @wind raptor

rocky dome
whole bear
#

could you help me

rocky dome
whole bear
#

i am making this my own version

#

not you polic officer

#

what

#

this is a meme

rocky dome
#

alright so...

wind raptor
whole bear
#

sorry

wind raptor
#

No worries

whole bear
#

its an example

rocky dome
#

so... public repos, can i post all the stuff im confident in? like even something that i wont pursue as a career

#

like games

whole bear
#

wanna see my own version the person is my brother

#

discord WHY hack

rocky dome
#

might be re asking

whole bear
#

i need a domain

rocky dome
whole bear
#

free

wind raptor
#

Shop around, there's lots of places to get em... not free though

whole bear
#

i need free

wind raptor
#

You cannot get a domain for free

#

Maybe a subdomain

whole bear
#

whats a subdomain

rocky dome
#

go to netlify

#

or github

#

pages

wind raptor
#

yoursubdomain.somedomain .com

#

github pages is probably the easiest way

whole bear
#

oh wait

#

can do this

wind raptor
#

does tenor give out subdomains?

whole bear
#

idk

wind raptor
#

likely not

rocky dome
#

lol, jounrey to find ur github account @wind raptor
I went to your twitch from your discord then to your twitter account then found a past stream on YT then i tried finding more past streams there, but no hope, at last i just entered your username directly on github and found your account

all the initials steps were kinda useless mate πŸ˜…

wind raptor
#

haha!

#

yeah, I didn't make it too hard to find me

rocky dome
#

🀣

#

i think i will just pin the repos i really wanna show to somebody

#

and upload games, web dev, guis stuff

#

πŸ‘‹ thank you @wind raptor
I will think of more porjects that can make my life easy, it will help me to learn python more, thanks again πŸ‘‹
gonna kill two birds with one stone

vagrant finch
#

What is the topic ?

hidden flower
#

!cban 507176444510601238 homophobia

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @south girder permanently.

small nova
# whole bear free

Try signing up for Git Hub student dev pack, ez just use any educational email ID and some verification

somber heath
#

Hoy hi. Ears are on. Inconvenient to type. Will respond when convenient.

rugged root
#

@north swift And now the talking is here

north swift
#

@rugged root k! i'm here

#

LOL

vocal basin
#

"Feistel" is a German surname so it should be with /aΙͺ/
but there's, like, surprisingly little information on phonetics

somber heath
#

I drink straight black tea by itself all the time.

#

I don't get sick from it.

#

It's our Australian fortitude.

#

Superior. Robust.

patent gyro
#

You re rich

north swift
#

black tea with berry flavors πŸ₯°

#

10/10

rugged root
#

Hell yes

north swift
#

okay, now it's time to boil water and make a cup of cherry flavored tea πŸ₯°

rugged root
#

Make one for me as well

#

WOW I just lost all brain function

#

I butchered that sentence

north swift
#

sorry, only one tea bag has left. i need to order more!

#

haha it's okay, we don't bully people for that

rugged root
#

I bully myself for it

#

@wispy dirge Your mic is stuck open

north swift
#

i'm so jealous of you guys that you have this voice verification 🫠

somber heath
#

Plus, it's just a speedbump, not a brick wall.

rugged root
#

Yeah the time will fly by

north swift
#

yeah, i get it, it's alright! i will patiently wait these 3 days

#

patience is a key

somber heath
#

@lucid blade A whole 4mb. Stand back, everyone. Big man, coming through!

vocal basin
#

GHz frequencies are still quite high

rugged root
#

For sure

vocal basin
somber heath
#

@lucid blade Do you still have it squirreled away, somewhere?

rugged root
#

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

rugged root
#

There's also projects like these

somber heath
#

It is not a warm night.

vocal basin
#

I think it's 2.5 GHz at most

rugged root
#

It's not the number of Hz, it's how you use them

vocal basin
rugged root
#

@north swift So I might have missed it, are you a student or do this for work?

vocal basin
rugged root
#

Student

#

You did say student

#

Jesus I need more caffeine

north swift
vocal basin
somber heath
#

@rugged root You'll appreciate this. I got an sms from the local gp... Not from them directly, this other number...

"Enter your date of birth to confirm your identity"

I ended up ringing them to ask if it was a phishing scam. Because it was like, pretty much exactly what you'd expect a scam to look like.

Vaccination update reminder.

rugged root
#

My unhealthy habits are at least consistent

somber heath
#

Told them, "You know this reads exactly like I'd expect a scam to look like?'

#

The web stuff wasn't even on their domain.

north swift
winter delta
#

Voicecally

rugged root
north swift
rugged root
#

Been dealing with it since 2nd grade. That plus the clinical depression and anxiety disorder stuff. Just how it is

#

@whole egret

old heart
#

hi does anyone know of a way to work with cad, stp or sldprt files using python without requring a license for cad/creo etc?

rugged root
#

I thought there was some open cad stuff

north swift
#

LOL

rugged root
#

Okay, THAT one actually surprised me

vocal basin
#

anagrams in .bash_history

#

alias alisa

rugged root
#

Well did

somber heath
#

!d itertools

wise cargoBOT
#

This module implements a number of iterator building blocks inspired by constructs from APL, Haskell, and SML. Each has been recast in a form suitable for Python.

The module standardizes a core set of fast, memory efficient tools that are useful by themselves or in combination. Together, they form an β€œiterator algebra” making it possible to construct specialized tools succinctly and efficiently in pure Python.

For instance, SML provides a tabulation tool: tabulate(f) which produces a sequence f(0), f(1), .... The same effect can be achieved in Python by combining map() and count() to form map(f, count()).

somber heath
#

There are packages you can install, too, but a web search would be straightforward.

#

re wordlists

#

!d str.join

wise cargoBOT
#

str.join(iterable)```
Return a string which is the concatenation of the strings in *iterable*. A [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "TypeError") will be raised if there are any non-string values in *iterable*, including [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes "bytes") objects. The separator between elements is the string providing this method.
somber heath
#

a function to subtract a group of letters from another group of letters would be advantageous. Proficiency in try/except will also help.

vocal basin
#

I once played someone who I suspected to be a cheater
pretty much the only way I could win was to pre-move the entire openning and win on time eventually

#

Catalan ftw

wind raptor
wind raptor
#

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

real lion
#

heheh hii guys

#

sorry I dont have permission to talk yet

#

yay!

somber heath
#

@whole bear Hoy

#

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

how fix

#

nvm

somber heath
#

Talk or connect?

whole bear
#

connect

#

but it work

#

now

#

!voice

#

how

#

me

#

do voice

#

verify

wind raptor
#

reconnecting 20 times doesn't help

somber heath
#

There's a room linked in the bot message.

wind raptor
somber heath
#

Instructions are within.

vocal basin
#

would be better if Discord just limited the amount of join sounds if the person reconnects a lot

gentle flint
#

cat of the neighbours randomly walked in this afternoon

somber heath
#

API hiccup. I'm just imagining a bee hiccuping.

#

I watched a video of an echidna sneezing.

#

It was predictably adorable.

rugged root
#
>>> aa = "ā"
>>> bb = "ā"
>>> aa == bb
False
>>> 
>>> aa.encode('utf-8')
b'\xc4\x81'
>>> bb.encode('utf-8')
b'a\xcc\x84'
somber heath
#

Primarily rainbow lorikeets.

#

Maybe a Noisy Miner or two, but I'm not sure.

#

A Sulphur Crested cockatoo.

#

The sulphur-crested cockatoo (Cacatua galerita) is a relatively large white cockatoo found in wooded habitats in Australia, New Guinea, and some of the islands of Indonesia. They can be locally very numerous, leading to them sometimes being considered pests. A highly intelligent bird, they are well known in aviculture, although they can be deman...

#

I didn't mean to super react.

#

I don't even know how I did.

#

The rainbow lorikeet (Trichoglossus moluccanus) is a species of parrot found in Australia. It is common along the eastern seaboard, from northern Queensland to South Australia. Its habitat is rainforest, coastal bush and woodland areas. Six taxa traditionally listed as subspecies of the rainbow lorikeet are now treated as separate species (see T...

#

Although there might be another species that I don't recognise as well.

#

You hear a lot of these ones.

#

Bird breeding happens quite frequently. Often in front of our loungeroom windows.

vocal basin
#

there are a lot of characters looking like '

somber heath
#

@rugged root Binary search.

#

Print one half of the document.

vocal basin
#

if it went through word/outlook/etc., it might've gotten replaced

somber heath
#

Print the other half.

#

It's a binary search. It's efficient.

#

Isn't that what we tell people?

#

It may need work.

#

I'm not sure I get it.

#

Ah.

#

Now you've explained it, but given it went over my head...

#

Sure.

#

Is mother in outlaw a thing?

#

Hm.

rugged root
#

@quasi condor Don't think I didn't see you creepin'

somber heath
#

Are there regional attributes attached to enemies?

#

Godville.

#

Like ocean-only?

#

Because card sharks.

#

I do.

#

I do know.

#

You don't have any reason to worry.

#

Yes.

quasi condor
rugged root
#

Just to get my hopes up

somber heath
#

I will tell people if their audio is being obnoxious.

#

There is none that I noticed.

#

Barryometer.

#

Bazza!

#

"Buh buh buh..."
Kubernetes?

#

I love listening to you say that.

#

Kubernetes.

#

I think it's because you enjoy it so much.

#

and it's just...smooth

#

Hemeneglheh?

#

|||||| 🚒

#

Scandinavia.

#

Mekanism progress.

#

Is that what funeral home directors tell their staff to motivate them?

#

"I bereave in you."

pseudo raven
#

Hi

rugged root
#

@hollow sentinel Yo

somber heath
#

Ijes

vocal basin
#

sphinx

hollow sentinel
vocal basin
#

allegedly python 3.11 docs are on Sphinx 6.2

#

instead of 4.5

#

oh, 3.12 is already in beta

#

at some point I somewhat stopped playing games much

#

like
it was more of just grinding one game at a time because it's simpler for my brain to handle

vocal basin
#

(the cyan bar)

vocal basin
#

(maybe that's not how the game was supposed to be played)

#

Hyperbolic navigation is a class of radio navigation systems in which a navigation receiver instrument is used to determine location based on the difference in timing (phase) of radio waves received from radio navigation beacon transmitters.
Such systems rely on the ability of two widely separated stations to broadcast a signal that is highly c...

#

why is this embed preview so wrong

#

it's trying to render SVG and failing

#

oh wait

#

the SVG is just broken

#

the white text shouldn't be the in the first place

#

like

#

it's not visible on the page itself

#

because it's white just like the background

#

I can try to fix it

#

or I can ignore it

desert wolf
#

D. Schinazi

vocal basin
#

insect?

#

or spider-like?

#

there are Opiliones which aren't spiders

#

oh, I forgot the word

#

I remembered the word

#

Scolopendra

#

but that's a centipede

somber heath
vocal basin
#

Scutigera?

#

Scutigera is a centipede genus in the scutigeromorph (house centipede) family Scutigeridae, a group of centipedes with long limbs and true compound eyes (which were once thought to be secondary, re-evolved "pseudofacetted eyes"). It compose of more than 30 species, including the most common and well-studied Scutigera coleoptrata.

#

wow, there's quite a lot of Arachnids which aren't spiders

desert wolf
#

yep

vocal basin
#

first time seeing ? in the wikipedia taxonomy

#

to be uniform with extinct notation

#

no

#

they don't know where to put it

rugged root
vocal basin
vocal basin
# vocal basin first time seeing ? in the wikipedia taxonomy

Xiphosura (; from Ancient Greek ξίφος (xΓ­phos) 'sword', and οὐρά (ourΓ‘) 'tail', in reference to its sword-like tail) is an order of arthropods related to arachnids. They are more commonly known as horseshoe crabs (a name applied more specifically to the only extant family, Limulidae). They first appeared in the Hirnantian (Late Ordovician). Cu...

clear girder
#

hi guys, iam a beginner i want to learn python. which is the best source to learn it? like udemy, youtube etc?

vocal basin
split pilot
#

right what am i supposed to do here again @rugged root

rugged root
#

Chill out and chat

vocal basin
split pilot
#

got it thanks

vocal basin
#

(but they don't look like it)

wise cargoBOT
#

failmail :ok_hand: applied timeout to @split pilot until <t:1685734097:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

The <@&831776746206265384> have been alerted for review.

whole bear
#

ninja technique to get muted

rugged root
vocal basin
#

These particular appendages give it an appearance somewhat comparable to chelicerate arthropods such as arachnids and horseshoe crabs.

#

(about the alien thingy)

rugged root
#

!unmute 845082022213058570

desert wolf
wise cargoBOT
#

failmail :ok_hand: pardoned infraction timeout for @split pilot.

rugged root
#

If you want to get verified, do it legitimately

split pilot
#

thanks again

split pilot
#

really sorry about that

#

what was that?

#

right makes sense

#

are you guys upto something?

vocal basin
#

I avoid insects way more than spiders

split pilot
#

i want to contribute to open source in a worthy python project, i just dont know where to start

vocal basin
vocal basin
#

πŸ“¨πŸ‘Œ looked funnier

rugged root
#

!source

wise cargoBOT
stuck furnace
split pilot
stuck furnace
#

The DM sorry

stuck furnace
split pilot
# wise cargo

can you guys in a short summary tell about this bot

stuck furnace
#

Hullo

#

You ok Fix? πŸ˜„

#

How goes everyone?

#

Not bad

#

Doing a bit of diy

rugged root
#

Oh yeah?

#

Whatcha working on

split pilot
#

are you running it on cloud?

stuck furnace
#

Erm just repairing/repainting some wooden boxing in the bathroom.

split pilot
#

makes sense

#

do you leetcode @somber heath

stuck furnace
#

I think we're hosted by Netcup? πŸ€”

split pilot
#

do you recommend for someone trying to get into fang?

stuck furnace
#

Yeah I think so.

#

Not sure πŸ˜„

split pilot
stuck furnace
#

I'm not really involved

split pilot
#

sure

#

faang

vocal basin
#

faang isn't necessarily the best place to work at
probably recognising that is the first step

split pilot
#

my bad

vocal basin
#

fanga manga

stuck furnace
split pilot
#

do you do leetcode @stuck furnace

vocal basin
#

for those companies leetcode-style interviews are kind of necessity to make filtering easier

split pilot
#

yea but technical interviews are based on leetcode @somber heath

stuck furnace
vocal basin
#

regardless of whether it's a good filter of skill

split pilot
stuck furnace
#

Is it still hidden for some people πŸ‘€

split pilot
#

it failed for me

vocal basin
#

wow, so many opportunities to click "No, thanks"

stuck furnace
#

Ah right, so is says something like #unknown for you?

vocal basin
stuck furnace
#

My cat has evicted my laptop from my lap :C

#

So now it's awkwardly balanced on my knee

#

Fair enough

split pilot
#

how long do you guys think have i joined this VC for? (in minutes)

#

do you think the bot is broken by any chance?

stuck furnace
#

Use the !user command to see how far you are to meeting the requirements.

split pilot
#

!user

wise cargoBOT
#

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

vocal basin
#

(temporarily)

split pilot
#

makes sense

vocal basin
#

I think what !user shows is what the verification uses

stuck furnace
#

Ah you got a 14 day voice mute for spamming!

split pilot
#

i am gonna leave the server now(close discord) and come back and chat for another 10minutes

#

this should do it

#

right i will not leave the server

#

i love you guys

#

and i love python

#

back

stuck furnace
#

I think I'll pardon the voice mute. One sec.

split pilot
#

10minutes starts now

split pilot
stuck furnace
#

I'm going to ask the mod who issued the mute if they're ok with that.

split pilot
stuck furnace
#

You should be able to verify now @split pilot. To be clear, you were muted by a mod for spamming to meet the message requirement.

#

It's the single souless eye that really makes it.

somber heath
#

@lost gorge πŸ‘‹

#

@waxen barnπŸ‘‹

split pilot
surreal epoch
#

@somber heath you kindof sound like Tim Buchalka... If you know him :)

somber heath
#

But thank you for the comparison.

surreal epoch
#

alright, maybe its just me

rugged root
#

Look at this happy little bastard

#

I love him

surreal epoch
#

are you happy too?

rugged root
#

Not at the moment

stuck furnace
surreal epoch
rugged root
turbid sandal
#

@somber heath

rugged root
#

ChadGPT

#

"Sup brah"

somber smelt
#

Super Dev: "Rust is simpler then python" gigachad

rugged root
#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

somber heath
#

Corey Schafer, YouTuber, playlists, python for beginners.

#

@robust bone @surreal epoch

surreal epoch
#

thanks alot

somber heath
#

Also, the downloadable version of the documentation from python.org.

#

There's a zip of pdfs.

#

library.pdf is the Python bible

surreal epoch
#

thank you

#

learning from ATBSWP rn though

somber heath
#

Also...you are here.

turbid sandal
#

can you hear me?

somber smelt
#

no

turbid sandal
#

this stuipid laptop

#

wait...

somber heath
#

I heard you asking hello, but since Hemlock was talking, I didn't respond.

rugged root
#

@grim coyote Yo

#

Sorry, slow to respond

somber heath
#

@waxen barn πŸ‘‹

grim coyote
#

@rugged root I was suppressed in the voice call

somber heath
#

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

rugged root
#

Yeah it's our voice gate. Check out the channel listed in the embed

grim coyote
#

@rugged root thank you

rugged root
#

Hopping off, my head is killing me

stuck furnace
#

Telling him to what? πŸ˜„

turbid sandal
#

lol

stuck furnace
#

Heading off πŸ‘‹

jolly quiver
#

Ah which mods?

#

I am tbh looking for a modpack

#

Ah in general mods, interesting I have heard a lot about create

#

world edit?

#

Pretty sure that is a vanilla feature

jolly quiver
#

3am

whole bear
#

Determinism is a philosophical view, where all events are determined completely by previously existing causes. Deterministic theories throughout the history of philosophy have developed from diverse and sometimes overlapping motives and considerations. The opposite of determinism is some kind of indeterminism and even more so nondeterminism (aka randomness)

jolly quiver
#

Free will is the ability of humans to make decisions or perform actions independently of any prior event or state of the universe.1 Philosophers have offered various accounts of freedom, including the absence of external impediments to an agent doing what they want to do and the power of acting or not acting, according to the determination of the will.0 To believe in free will is to reject the idea that human actions are determined by external conditions or fate. The doctrine that the conduct of human beings expresses personal choice and is not simply determined by physical or divine forces.2

lost gorge
#

Hello

#

I join the discord channel.
expectation:
Listen to the reasoning about the code and life hacks in python.
reality:
"Are you Catholic?"

lost gorge
#

I love lamas

#

I don’t understand English well, but do I understand correctly that the conversation turned from something spiritual into politics, then into LGBT?

jolly quiver
whole bear
#

my internet ded

#

actually discord connection issues

vocal basin
#

@midnight agate
this has an interesting solution in Rust (involving traits for one particular trick)
https://leetcode.com/problems/median-of-two-sorted-arrays/

LeetCode

Can you solve this real interview question? Median of Two Sorted Arrays - Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.

The overall run time complexity should be O(log (m+n)).

Example 1:

Input: nums1 = [1,3], nums2 = [2]
Output: 2.00000
Explanation: merged array = [1,2,3]...

wind raptor
surreal cape
knotty dome
#

#include <stdio.h>

int main() {
int N;
int count = 1;

printf("Enter number of rows between 2 and 9: ");
scanf("%d", &N);

if (N < 2 || N > 9){
    printf("ERROR: enter a number within range.");
    return 1;
} else {

    for (int i = 0; i < N; i++){

        for (int j = 0; j < N - i; j++){
            printf("%2d ", 0);
        }


        for (int j = 0; j < N; j++){
        printf("%2d ", count);
        count++;
        }
        for (int j = 0; j < i + 1; j++){
        printf("%2d ", 0);
        }
        printf("\n");
    }
}
return 0;

}

#

Anyone can help me with this?

cunning monolith
# knotty dome #include <stdio.h> int main() { int N; int count = 1; printf("Ente...

This code generates a pattern of numbers and zeros based on the user's input for the number of rows. It ensures that the input is within the range of 2 to 9. The pattern is constructed using nested loops, with each row consisting of zeros, a sequence of numbers, and increasing zeros. The program prints the pattern and terminates after execution.

vocal basin
cunning monolith
#

0
00
0000
00000

surreal cape
cunning monolith
#

00000
0000
000
00
0

vocal basin
surreal cape
cunning monolith
#
N = int(input("Enter number of rows between 2 and 9: "))

if N < 2 or N > 9:
    print("ERROR: enter a number within range.")
else:
    count = 1
    for i in range(N):
        for j in range(N - i):
            print("{:2d}".format(0), end=" ")
        
        for j in range(N):
            print("{:2d}".format(count), end=" ")
            count += 1
        
        for j in range(i + 1):
            print("{:2d}".format(0), end=" ")
        
        print()
#

Python version of that code

vocal basin
cunning monolith
vocal basin
#

and, given that it's python, why add d?

cunning monolith
#

0 0 0 1 2 3 0
0 0 4 5 6 0 0
0 7 8 9 0 0 0

cunning monolith
vocal basin
#

easy to tell

#

!rule 10

wise cargoBOT
#

10. Do not copy and paste answers from ChatGPT or similar AI tools.

cunning monolith
#

🀨

vocal basin
cunning monolith
#

0 0 0 1 2 3 0
0 0 4 5 6 0 0
0 7 8 9 0 0 0

wind raptor
#

!stream 742046782220927007

wise cargoBOT
#

βœ… @cunning monolith can now stream until <t:1685756250:f>.

vocal basin
#

!e

n = 5
for i, start in zip(range(n), range(1, n * n + 1, n)):
    numbers = [*([0] * (n - i)), *range(start, start + n), *([0] * (i + 1))]
    print(*(f"{x:2}" for x in numbers))
wise cargoBOT
#

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

001 |  0  0  0  0  0  1  2  3  4  5  0
002 |  0  0  0  0  6  7  8  9 10  0  0
003 |  0  0  0 11 12 13 14 15  0  0  0
004 |  0  0 16 17 18 19 20  0  0  0  0
005 |  0 21 22 23 24 25  0  0  0  0  0
surreal cape
#

!e

print('foo')
wise cargoBOT
#

@surreal cape :white_check_mark: Your 3.11 eval job has completed with return code 0.

foo
surreal cape
#

πŸ€” nice

vocal basin
wise cargoBOT
#

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

001 |  0  0  0  0  0  1  2  3  4  5  0
002 |  0  0  0  0  6  7  8  9 10  0  0
003 |  0  0  0 11 12 13 14 15  0  0  0
004 |  0  0 16 17 18 19 20  0  0  0  0
005 |  0 21 22 23 24 25  0  0  0  0  0
vocal basin
surreal cape
#

!e

STOPW = {'a', 'it', 'its', 'an', 'i'}
VSIZE = 25

def convert(text):
    t = text.lower().strip().split()
    m = []
    for i in t:
        if i in STOPW:
            m.append([0 for _ in range(VSIZE)])
        else:
            v = [ord(k) for k in i]
            while len(v) < VSIZE:
                v.append(0)
            m.append(v)
    return m


def recon(m):
    t = ''
    for i in m:
        for j in i:
            if j == 0:
                t+= ' '
                break
            t += chr(j)
    return t.strip()

# Vectorize text
text = 'hello, my name is Bruno'
matrix = convert(text)

for row in matrix:
    print(row)

# Reconstruct matrix of numbers into text string
print(recon(matrix))
wise cargoBOT
#

@surreal cape :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | [104, 101, 108, 108, 111, 44, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
002 | [109, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
003 | [110, 97, 109, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
004 | [105, 115, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
005 | [98, 114, 117, 110, 111, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
006 | hello, my name is bruno
vocal basin
#

probably better to avoid using i for non-numeric indices

#
for word in t:
surreal cape
#

indeed, i was just playing with word2vecs from scratch

vocal basin
#
for row in m:
surreal cape
#

it was not supposed to be beauty

#

just testing

vocal basin
#

I'm wondering if that code can be made less imperative

surreal cape
#

actually I have write this on smartphone in Qpython3

#

thats why I have to use short ugly names for variables

surreal cape
#

write this while I was at the bus backing from work to home

#

was reading a paper about transformers and word2vec formats of input to the networks, and when entered the bus, got nothing so get the smartphone and started to code something like I read at the paper on Qpython

vocal basin
#

I think this version of the recon function is more symmetric to how convert works

def recon(m):
    t = ''
    for i in m:
        for j in i:
            if j != 0:
                t += chr(j)
        t += ' '
    return t.strip()
#

always one space per row

surreal cape
#

nice πŸ‘

vocal basin
#

because convert logic is: if there's no character, write zero
so recon logic becomes: if there's a zero, there's no character

#

which, inlined, looks like

def recon(m):
    return ' '.join(''.join(chr(j) for j in i if j != 0) for i in m)
surreal cape
#

a very good improvement

#

py_strong for a more pythonic implementation

#

an elegant code for a more civilized age

knotty dome
#

for (int j = 0; j < i + 1; j++){
printf("%d ", 0);
}
printf("\n");
}
}
return 0;
}

vocal basin
#

I did some adjustments to my solution by adding more types/impls, now "the hard part" (arithmetic) is simpler
seems to pass the tests

#

2.5 times longer than the Python solution but way cleaner

warped raft
#

hello @lunar haven , @mortal sundial , @spiral sierra

#

how are you guys something

#

stop that

#

what are you guys upto

warped raft
#

my mind is malfunctioning

#

any one has experinece in java

#

hello @wind raptor

wind raptor
#

!stream 299967840289685504

wise cargoBOT
#

βœ… @mortal sundial can now stream until <t:1685801104:f>.

wind raptor
#

!stream 380751137785118730

wise cargoBOT
#

βœ… @spiral sierra can now stream until <t:1685801110:f>.

warped raft
#

what is advent of code @wind raptor

#

hey @spiral sierra did you said that you had experince in java or was it @mortal sundial

#

so can you help me

spiral sierra
#

sure

warped raft
#

@wind raptor can i get permission to share my screen

spiral sierra
#
vocal basin
#

spending same time over a week rather than a day may actually improve results

#

because sleep

warped raft
#

can I get permission to share my screen chris

vocal basin
#

what do you want to show?

wind raptor
warped raft
#

my itellij screen

vocal basin
warped raft
#

i want help from alex

#

yup

wind raptor
#

!stream 959798020919144548

wise cargoBOT
#

βœ… @warped raft can now stream until <t:1685801723:f>.

vocal basin
wind raptor
#

!stream 380751137785118730

wise cargoBOT
#

βœ… @spiral sierra can now stream until <t:1685801750:f>.

warped raft
#

what's wrong with this

vocal basin
#

can you show the method again?

#

in the Main class

#

@lunar haven no

#

I'm asking shashank

#

@warped raft rename the class

#

to avoid name collisions

warped raft
#

which one

vocal basin
#

you have two Mains

#

the inner one

#

@warped raft or replace * with Main

#

ugh

#

weird

warped raft
#

Main is a package

vocal basin
#

yeah, probably better to first rename the Main you're trying to reference

vocal basin
#

shift+f6 for quick renaming

#

(I think)

warped raft
#

i should rename the package

#

or the class

#

or the function

vocal basin
#

package and the class

warped raft
#

@vocal basin i can rename the class

vocal basin
#

check what the error is now

warped raft
#

because it is the public

vocal basin
#

import Recipe.Main

#

@somber smelt no

#

they're using a non-static method

#

see the usage

#

you're making it worse

#

@warped raft
remove static

#

@somber smelt it's not a main class

#

@somber smelt can you just pay attention to the code for a second?

#

like

#

it's not Main

#

that's the whole problem

vocal basin
warped raft
#

yeah

#

how to do that

vocal basin
#

change to Recipe

warped raft
#

did that

somber smelt
#
public class GuiVersion {
    private Main main;

    public GuiVersion(Main main) {
        this.main = main;
    }
}
vocal basin
#

two separate ones

warped raft
#

where should i write suggest reicpe

somber smelt
vocal basin
#

or it is

#

idk

#

why is so weird

#

why is IntelliJ so broken

warped raft
#

i am perplexed

#

confused

#

yeah i agree

vocal basin
#

there may be one

#

but it's weirdly placed

warped raft
#

i want to built the gui version as the extention of the main logic

#

that's why i am importing ti

#

so am i going to die because of this

vocal basin
#

Main currently is containing the main method, right?

vocal basin
#

where is GuiVersion getting instantiated?

warped raft
#

yeah i have a screen shot

vocal basin
warped raft
#

i am a 9th standard student

waxen loom
#

Lol CS slander

warped raft
#

getting this project inside my head

whole bear
#

@vocal basin who's your dad?

vocal basin
warped raft
#

i have made the gui version

#

i know j frame

#

i have a pretty decent knowledge about it

vocal basin
wind raptor
wind raptor
warped raft
#

i was told to change the code because my logic was to coupled around the gui stuff

somber smelt
#
package me.yibtag.batmc;

import java.sql.*;

public class Database {

    private BatMc plugin;

    public Connection connection;

    /**
     * A sql database utility tool.
     * @param plugin (BatMc)
     * @throws SQLException
     */
    public Database(BatMc plugin) throws SQLException {
        this.plugin = plugin;

        connection = DriverManager.getConnection(
                plugin.config.getDatabaseUrl()
        );

        execute(
                "CREATE TABLE IF NOT EXISTS items(uuid TEXT, page INTEGER, slot INTEGER, item BLOB)"
        );
    }

    /**
     * Executes a query sql statements.
     * @param sql (String)
     * @param args (String...)
     * @return result (ResultSet)
     * @throws SQLException
     */
    public ResultSet query(String sql, String... args) throws SQLException {
        PreparedStatement statement = connection.prepareStatement(sql);

        for (int i = 0; i < args.length; i++) {
            statement.setString(i + 1, args[i]);
        }

        return statement.executeQuery();
    }

    /**
     * Executes sql code.
     * @param sql (String)
     * @param args (String...)
     * @return status (boolean)
     * @throws SQLException
     */
    public boolean execute(String sql, String... args) throws SQLException {
        PreparedStatement statement = connection.prepareStatement(sql);

        for (int i = 0; i < args.length; i++) {
            statement.setString(i + 1, args[i]);
        }

        return statement.execute();
    }

    /**
     * Executes sql update code.
     * @param sql (String)
     * @param args (String...)
     * @return result (int)
     * @throws SQLException
     */
    public int update(String sql, String... args) throws SQLException {
        PreparedStatement statement = connection.prepareStatement(sql);

        for (int i = 0; i < args.length; i++) {
            statement.setString(i + 1, args[i]);
        }

        return statement.executeUpdate();
    }
}

warped raft
#

@somber smelt i am not a cs student

vocal basin
#

doesn't for (int i = 0; i < args.length; i++) have a simpler representation in Java?

#

throws is just a worse Result

#

@warped raft can you put all the state into a separate class that's not Main?

wind raptor
#

Looks like there is a foreach:

for (type variableName : arrayName) {
  // code block to be executed
}
vocal basin
whole bear
#

yall hear me?

wind raptor
warped raft
#

i need to to get it right

vocal basin
warped raft
#

bye

vocal basin
#

I saw the setString argument

#

Java has iterators, but they seem uglier

whole bear
#

nawww πŸ’€

vocal basin
vocal basin
whole bear
#

@wind raptor how often do you deal with people like me?

wind raptor
wind raptor
#

We get a lot of trolls here. They get banned quickly so you may not see much.

whole bear
#

has this server ever got raided?

wind raptor
#

Never successfully

#

It's a programming community...

#

Bad target lol

whole bear
#

πŸ—Ώ so it would be pretty embarrassing if it did, huh?

waxen loom
#

is this foreshadowing?

wind raptor
#

Embarrassing for who? We'd just deal with it and move on. I don't see why you think there would be some kind of attached emotion to something happening.

whole bear
wind raptor
#

Usually our bots

vocal basin
#

@toxic zephyr

whole bear
waxen loom
#

bro is surprised the programming discord uses programmed stuff

whole bear
waxen loom
whole bear
#

whats a proper diet for a person who sits all in their chair starring at a monitor

whole bear
#

are there any books on procrastination bro?

waxen loom
#

cant hurt me - david goggins

wind raptor
#

I don't need a book. Just live by the code: "Hard work pays off in the long run but procrastination pays off now."

waxen loom
#

smh its always code with you isnt it

wind raptor
#

I can't help myself 🀣

waxen loom
#

lmao

whole bear
#

.. . _ _ _.

#

aight fellas i gtg

wind raptor
#

Have a good one dad!

vocal basin
#

and ExtendedRecipes being GuiVersion in your case

waxen loom
#

if you get >85 you fail

#

:(

somber heath
#

Howdy.

#

I'm a night owl, what are you talking about?

#

I'm often on around through this time.

#

Yes, they are.

#

I have not used Selenium.

autumn geode
#

are you trying to

#

fulfill the

#

50 message

#

requirement

#

like

#

me

#

i dont know

somber heath
#

@autumn geode No, I'm not trying to fulfill the message requirement

autumn geode
#

how to

#

do

#

the

#

second one

somber heath
#

Did you read the instructions?

#

All of them?

#

Carefully?

autumn geode
autumn geode
autumn geode
#

i'll be back in a bit

somber heath
#

Just casual it.

#

Hmm?

#

What?

#

What?

turbid sandal
#

!code

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

turbid sandal
#
while True:
  if snapshot != live_messages_file:
    snapshot = live_messages_file
    update_display()
somber heath
#

You had me until the end.

#

At all times, you need to be insulating yourself against liability.

#

Sticking your hands up and going, hurrdurr I had a TOS does. not. mean. shit.

#

Do stuff, yes. Learn, experiment, develop.

#

Don't go out of your way to do something which, by your own admission, is improper.

#

Respect yourself more.

#

Care about the things that can go wrong and how they can affect you.

#

By not caring about that, you are disrespecting yourself

smoky veldt
#

dude are we celebrating those kinds of people like the rainbow guys???

smoky veldt
#

alisa are u alking to me??

vocal basin
#

I don't understand why "???"
is it surprise? is it what?

smoky veldt
#

i mean those guys doesnt like go with my attitude @vocal basin

vocal basin
#

"those guys"?

#

...

smoky veldt
#

i am not harrassing u right????????????

#

hey

vocal basin
#

the pride month thing is about treating humans as humans

smoky veldt
#

ok but am i harrassing u??

#

hey dont fade away from my question -_-

vocal basin
#

question is irrelevant to the conversation

smoky veldt
#

ok but am i harrassing or am i being abusive to u???

#

hey

#

i mean forget it

bright shoal
#

d

somber heath
#

Python Discord celebrates diversity and inclusion, and thoroughly rejects bigotry.

vocal basin
#

@midnight agate
how about this? (inorder traversal again)

from functools import partial

class Solution:
    def inorderTraversal(self, root: Optional[TreeNode]) -> List[int]:
        values = []
        def tree_callback(tree):
            if tree:
                callbacks.append(partial(tree_callback, tree.right))
                callbacks.append(partial(values.append, tree.val))
                callbacks.append(partial(tree_callback, tree.left))
        callbacks = [partial(tree_callback, root)]
        while callbacks:
            callback = callbacks.pop()
            callback()
        return values
pale fractal
#

hello

#

hello @turbid sandal

#

@mortal sundial that is just moduls

#

wow

#

what

#

@turbid sandal there is no mod

#

here at least

turbid sandal
vocal basin
#

!e

class TreeNode:
    def __init__(self, val=0, left=None, right=None):
        self.val = val
        self.left = left
        self.right = right

from functools import partial

class Solution:
    def inorderTraversal(self, root: TreeNode | None) -> list[int]:
        values = []
        def tree_callback(tree):
            if tree:
                callbacks.append(partial(tree_callback, tree.right))
                callbacks.append(partial(values.append, tree.val))
                callbacks.append(partial(tree_callback, tree.left))
        callbacks = [partial(tree_callback, root)]
        while callbacks:
            callback = callbacks.pop()
            callback()
        return values

root = None
for _ in range(100000):
    root = TreeNode(0, None, root)
print(len(Solution().inorderTraversal(root)))
wise cargoBOT
#

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

100000
vocal basin
#

I doubt there's any depth to that stack

#

(call stack)

#

all the tree_callback calls are at the same stack level

#

@midnight agate yes

#

callback never calls other callbacks

#

I did a little bit of leetcode on my own (around 30 I think, in last 24 hours)

#

@lucid jolt noise

#

I think "4. Median of Two Sorted Arrays" is mostly about restructuring data

#

importantly, without actually changing how it's stored

#

(given that it requires logarithmic time complexity)

#

tasks says to do it in O(log (m+n))
I think it can be done in O(log min(m,n))

#

(and by "it can be done" I mean my solution seems to be such)

#

30

#

those were mostly easy

#

ah

#

okay, I'll send

#

couldn't hear what was to be sent

vocal basin
#

there was a very unlucky first attempt at solving daily problem

#

but at least I made sure I know how to use ||graphlib|| library

#

but then I started optimising

vocal basin
vocal basin
#

@lucid jolt merging arrays is forbidden

#

read the requirements

whole bear
#

hi

vocal basin
#

you're doing O(m+n)

#

which will fail on large values

#

@midnight agate I wouldn't merge arrays for this task

#

||float∘statistics.median∘heapq.merge|| is trivial and that's totally not what the task asks to do

#

it does pass the tests

#

merging arrays depends on where you merge into

#

merging into an external container is simpler

#

merging sorted is more than just memcpy

#

it's per-element
always

#

depends on usecase

#

that's not what merge function is supposed to do

#

if you go down this path you end up with realloc

#

what does it do? no one knows

#

unless there's a reason to optimise for non-overlapping case, I wouldn't put it

#

I expect the arrays to be overlapping

#

if you want to preserve ordering of non-overlapping sequences, enforce it externally

#

or use a different data structure

#

!d csv

wise cargoBOT
#
csv

Source code: Lib/csv.py

The so-called CSV (Comma Separated Values) format is the most common import and export format for spreadsheets and databases. CSV format was used for many years prior to attempts to describe the format in a standardized way in RFC 4180. The lack of a well-defined standard means that subtle differences often exist in the data produced and consumed by different applications. These differences can make it annoying to process CSV files from multiple sources. Still, while the delimiters and quoting characters vary, the overall format is similar enough that it is possible to write a single module which can efficiently manipulate such data, hiding the details of reading and writing the data from the programmer.

vocal basin
#
1,question A
2,question B
3,question C
hollow yacht
vocal basin
#

transpose the matrix, I'd say

#

at first

#

how many answers does one question have?

#
question number; question text                 ; option A; option B ; option C;
1              ; What is the capital of Sweden?; Oslo    ; Stockholm; Helsinki;
lucid jolt
#

@vocal basin

class Solution(object):
    def findMedianSortedArrays(self, nums1, nums2):
            if len(nums2) < len(nums1):
                return self.findMedianSortedArrays(nums2, nums1)
            
            n1 = len(nums1)
            n2 = len(nums2)
            low = 0
            high = n1
            
            while low <= high:
                cut1 = (low + high) >> 1
                cut2 = (n1 + n2 + 1) // 2 - cut1
                
                left1 = float('-inf') if cut1 == 0 else nums1[cut1 - 1]
                left2 = float('-inf') if cut2 == 0 else nums2[cut2 - 1]
                
                right1 = float('inf') if cut1 == n1 else nums1[cut1]
                right2 = float('inf') if cut2 == n2 else nums2[cut2]
                
                if left1 <= right2 and left2 <= right1:
                    if (n1 + n2) % 2 == 0:
                        return (max(left1, left2) + min(right1, right2)) / 2.0
                    else:
                        return max(left1, left2)
                elif left1 > right2:
                    high = cut1 - 1
                else:
                    low = cut1 + 1
            
            return 0.0

hollow yacht
#

with open("risposte_p.txt", "w") as fp: fp.write("\n".join(str(item) for item in risposte))

lucid jolt
#

binary search

vocal basin
#

did you write it yourself?

lucid jolt
#

ye

vocal basin
#

so, yes, that's kind of the idea

hollow yacht
lucid jolt
#
class Solution(object):
    def findMedianSortedArrays(self, nums1, nums2):
        """
        :type nums1: List[int]
        :type nums2: List[int]
        :rtype: float
        """
        # Ensure nums1 is the smaller array
        if len(nums1) > len(nums2):
            nums1, nums2 = nums2, nums1
        
        # Get the lengths of the arrays
        m, n = len(nums1), len(nums2)
        
        # Define the search space for binary search
        left, right = 0, m
        
        # Perform binary search
        while left <= right:
            # Partition the arrays
            i = (left + right) // 2
            j = (m + n + 1) // 2 - i
            
            # Check if the partition is valid
            if i < m and nums2[j-1] > nums1[i]:
                left = i + 1
            elif i > 0 and nums1[i-1] > nums2[j]:
                right = i - 1
            else:
                # Partition is valid, find median
                if i == 0:
                    max_left = nums2[j-1]
                elif j == 0:
                    max_left = nums1[i-1]
                else:
                    max_left = max(nums1[i-1], nums2[j-1])
                    
                if (m + n) % 2 == 1:
                    return max_left
                
                if i == m:
                    min_right = nums2[j]
                elif j == n:
                    min_right = nums1[i]
                else:
                    min_right = min(nums1[i], nums2[j])
                    
                return (max_left + min_right) / 2.0
vocal basin
#

!code

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

vocal basin
#

and, btw, yes, very suspicious

vocal basin
#

why docstring?

lucid jolt
#

this is apparrently the fastes from leetcode

vocal basin
#

!e

from io import StringIO
import csv
file = StringIO()
fieldnames = ['question number', 'question text', 'option A', 'option B', 'option C']
writer = csv.DictWriter(file, fieldnames=fieldnames)
writer.writeheader()
writer.writerow({
    'question number': '1',
    'question text': 'What is the capital of Sweden?',
    'option A': 'Oslo',
    'option B': 'Stockholm',
    'option C': 'Helsinki',
})
print(file.getvalue())
wise cargoBOT
#

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

001 | question number,question text,option A,option B,option C
002 | 1,What is the capital of Sweden?,Oslo,Stockholm,Helsinki
vocal basin
lucid jolt
#

alisa

#

do you like GameS

vocal basin
#

@lucid jolt GPU mining got outcompeted

#

Bitcoin isn't mined on GPUs anymore

#

Ethereum isn't mined on GPUs anymore either

#

Monero can't be mined on GPUs

#

@midnight agate technologically, the field has some potential but that potential is obviously overhyped

vocal basin
#

you're mixing types

#

float and ints

#

... which is harder in something like Rust

vocal basin
#

also, specification says to return float always

#

return 0.0 is just wrong

#

it shouldn't be there

#

under any conditions

#

@midnight agate when stealing customers' money is only a click away, it's always easy to pay empolyees well

vocal basin
#

not 0.0

#

it breaks so many principles

lucid jolt
#

you are a principle

vocal basin
#

statistics.median deals with it correctly

#

!e

from statistics import median
print(median([]))
wise cargoBOT
#

@vocal basin :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 2, in <module>
003 |     print(median([]))
004 |           ^^^^^^^^^^
005 |   File "/usr/local/lib/python3.11/statistics.py", line 565, in median
006 |     raise StatisticsError("no median for empty data")
007 | statistics.StatisticsError: no median for empty data
vocal basin
#

it depends on which way it's doomed to failed

#

depends on when the project chooses to sacrifice the programming quality for saving the project

lucid jolt
lucid jolt
#

and before that u supposed to solve binary search

vocal basin
#

binary search is everywhere anyway

lucid jolt
#

you are anywhere :3

vocal basin
lucid jolt
#

do in using data structures

vocal basin
lucid jolt
#

without calling functions

#

take pen and paper

vocal basin
lucid jolt
#

paint

vocal basin
#

float∘ is there to meet the spec properly

lucid jolt
#

i used to do reverse engineering . i got used to modify numbers

#

and im obessed by this video

#

In this video we will take an in depth look at the fast inverse square root and see where the mysterious number 0x5f3759df comes from. This algorithm became famous after id Software open sourced the engine for Quake III. On the way we will also learn about floating point numbers and newton's method.

0:00 Introduction
1:23 Why Care?
3:21 The Cod...

β–Ά Play video
#

computers are always calculators. the most fast operation that can do is addition, and subtractions

vocal basin
#

xor is reasonably faster than addition

lucid jolt
#

yes

#

shifting bits

vocal basin
#

with a proper compiler, changing multiplication/division to equivalent bit shifts shouldn't change anything

lucid jolt
#

cause most of the fastest operation are already in libraries

#

xd

#

and compilers

vocal basin
wise cargoBOT
#

Source code: Lib/bisect.py

This module provides support for maintaining a list in sorted order without having to sort the list after each insertion. For long lists of items with expensive comparison operations, this can be an improvement over the more common approach. The module is called bisect because it uses a basic bisection algorithm to do its work. The source code may be most useful as a working example of the algorithm (the boundary conditions are already right!).

The following functions are provided:

vocal basin
#

since 3.10 it has key

#

but idk if problem 4 can be reframed that much

vocal basin
thorny pike
#

guys

vocal basin
#

too lazy to set up translation

#

I know there are tools
(but I don't use them)

#

I played tennis for ~year I think

#

Trie

#

In computer science, a trie, also called digital tree or prefix tree, is a type of k-ary search tree, a tree data structure used for locating specific keys from within a set. These keys are most often strings, with links between nodes defined not by the entire key, but by individual characters. In order to access a key (to recover its value, cha...

jolly quiver
whole bear
#

@whole bear

patent gyro
#

Wut is python

vocal basin
little jay
gentle flint
#

@spark kettle talk here

#

maybe we can get this fixed

gentle flint
#
turbid sandal
#

!code

wise cargoBOT
#
Formatting code on discord

Here's how to format Python code on Discord:

```py
print('Hello world!')
```

These are backticks, not quotes. Check this out if you can't find the backtick key.

For long code samples, you can use our pastebin.

gentle flint
#

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

turbid sandal
north swift
#

lol

bright shoal
#

s

gentle flint
turbid sandal
#

β†―

bold trench
#

Can anyone help me upgrade my openGL to 2.0

patent gyro
bright shoal
#

s

#

s

wind raptor
somber heath
#

.

little citrus
#

from discord_slash import SlashCommand, SlashContext, cog_ext

daring sequoia
#

how do i get the right to speak in vc?

little citrus
#

ModuleNotFoundError: No module named 'discord_slash'

daring sequoia
#

not like i want to say rn just asking

wind raptor
wise cargoBOT
#
Voice verification

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

frosty star
#

hayy

#

hi opal hi chris

#

hi nikita and user

little citrus
#

pip3.10 install discord-py-slash-command

frosty star
#

okey bye guys its my self imposed curfew. Good luck Nikita

serene condor
#

Hey guys tomorow I have a interview do you have any advise for me?

#

@rugged tundra

rugged tundra
serene condor
#

Yep its a dev

rugged tundra
somber heath
#

@turbid sandal I gave you my answer.

#

Also, I'll do as I please.

turbid sandal
#

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

somber heath
#

You're acting as if I said yes to your question.

#

I said no.

#

I won't run your code.

#

Especially after what you told me yesterday.

rugged tundra
# serene condor Yep its a dev

There may be websites that have listed the companies interviewing process for their developer role.

The site may list if they give LeetCodes, what difficulty. And list if they do or do not give a systems design question.

If you cannot find any information about their process, probably assume that they will give LeetCode problemts, so practice LeetCode problems.

serene condor
#

ok thank you verry much πŸ’—πŸ’—

#

@rugged tundra

somber heath
#

You could be vpning it.

slow yoke
#

g-g-granola smoothie

gilded radish
#

Guys, What will be good projects to do with python and valuable current year/future years

somber heath
pallid verge
#

what you guys are working on ?

#

Anyway i just come here to share my experience in creating an IOS application in Python !!

pallid verge
wind raptor
pallid verge
#

ye

#

but some of the features like ...accesing mobile hardware like bluetooth , and some functionality like TTS , STT was kinda impossible with sole kivy

#

cause no library exist for ios

#

so for that i use swift

#

and implement it with kivy

#

thanks to the awesome guy who created the library PythonSwiftLink

wind raptor
#

I've worked with other GUI libraries but never got into Kivy. What does your app do?

pallid verge
#

the application is for a museum actually , it was for helping disable people (blind , deaf) to locate the museum location easily and other stuff

wind raptor
#

Nice!!

pallid verge
#

like STT , and TTS was implemented for communication with user

#

and the museum have ibeacons installed at different location so my app can communicate with those device and can tell where they are right now

wind raptor
#

That's really impressive that you set all that up!

pallid verge
pallid verge
vocal basin
#

I wrote too little of Haskell to be a Haskell programmer

#

like
one file

#

websites are often just easier to use, compared to standalone apps
though for iOS, the permissions difference is quite severe

#

sites can't send notifications on iOS, iirc

#

(they can on Android)

pallid verge
#

@turbid sandal can i try your code snippet ?

#

it seems fun

#

sorry

#

ohh ok

#

no issues

somber heath
#

@turbid sandal Human rights are important for everyone. Where human rights can be trodden on, everyone is at risk, not just the targeted group.

vocal basin
#

shouldn't store "private information" in code