#voice-chat-text-0

1 messages ยท Page 1038 of 1

sturdy panther
#

May be have it as the last point. And short to fit in phone.

  • Sent 50 messages.
    • Not deleted.
    • Not in #...
    • Not in #...
rugged root
#

@sturdy panther How's that

#

Think I'm going with this

broken dagger
#

sounds great!

rugged root
#

Back in a moment

#

Wait, is leetcode only light theme?

rugged tundra
rugged root
#

Marxism

mossy cedar
rugged root
lyric moss
rugged root
rugged root
lavish rover
#

buy cheap 3d printer for $100
print better 3d printer with cheap one
repeat
???
profit

storm anvil
#

i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications

torn grove
#

There should be a header param for the authentication code, check the application API docs for more info

rugged root
#

Jeffrey Lionel Dahmer (; May 21, 1960 โ€“ November 28, 1994), also known as the Milwaukee Cannibal or the Milwaukee Monster, was an American serial killer and sex offender who committed the murder and dismemberment of seventeen men and boys between 1978 and 1991. Many of his later murders involved necrophilia, cannibalism, and the permanent preser...

lavish rover
#

Roadn't

#

what's with the winky face

rugged root
#

The lagomorphs are the members of the taxonomic order Lagomorpha, of which there are two living families: the Leporidae (hares and rabbits) and the Ochotonidae (pikas). The name of the order is derived from the Ancient Greek lagos (ฮปฮฑฮณฯŽฯ‚, "hare") + morphฤ“ (ฮผฮฟฯฯ†ฮฎ, "form").
There are 110 recent species of lagomorph of which 109 are extant, includ...

rugged tundra
rugged root
rugged tundra
lavish rover
whole bear
rugged root
#

Kangaroo rats, small mostly nocturnal rodents of genus Dipodomys, are native to arid areas of western North America. The common name derives from their bipedal form. They hop in a manner similar to the much larger kangaroo, but developed this mode of locomotion independently, like several other clades of rodents (e.g. dipodids and hopping mice).

whole bear
#

Hi :)

#

@rugged root

#

Bem te vi

rugged root
terse needle
torn grove
rugged root
terse needle
rugged tundra
storm anvil
#

hi

mossy cedar
storm anvil
#

i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications

torn grove
storm anvil
#

i am writing a desktop application is there anyway to know a user is authenticated like using jwt for web based applications

rugged root
#

Keasbey Nights by Streetlight Manifesto

#

@rugged tundra

#

So apparently it's a cover of a Catch 22 song

#

Sick

haughty minnow
sand lotus
#

i need help

#

opal

#

my html image wont load

#

<!DOCTYPE html>
<html lang="eng">
<head>
<title>Image</title>
</head>
<body>
<img src="file:///C:/Users/####/OneDrive/Pictures/85246.jpg" alt="85246.jpg">
</body>

</html>
#

do u think u can help me opal

#

dangit

#

ive been searhing all day

#

ig ill try

neat acorn
#
class Solution {
public:
    vector<int> twoSum(vector<int>& nums, int target) {
        if(nums[] + nums[] = target)
        {
            return 
        }
    }
};
wind raptor
#

@whole bear hey, can you post in here please

whole bear
#

yes

#

_PyEval_EvalFrameDefault returned NULL without setting an error

#

the problem is the thing i am running this off of is obfuscated

#

and i cant edit the code

wind raptor
#

Can you post the full error/traceback?

#

What is on line 3?

#

Oh... What is CloudAim? Is this an aimbot?

somber heath
#

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

wise cargoBOT
#

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

001 | a
002 | b
003 | c
wind raptor
#

Upon doing a quick Google search, this appears to be an aim bot. We do not provide help with cheating here.

wind raptor
whole bear
#

I sure will : D

somber heath
#

!e py if True: #Always triggers print("Hello") print("Bye")

wise cargoBOT
#

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

001 | Hello
002 | Bye
willow lynx
#

import random
x=random.choice('head','tail')
print(x)
somber heath
#

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

wise cargoBOT
#

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

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

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

wise cargoBOT
#

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

001 | 5
002 | 6
003 | 7
004 | 8
005 | 9
006 | 10
somber heath
#

!e py text = "abcd" result = len(text) print(result)

wise cargoBOT
#

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

4
somber heath
#

!e py text = "abcd" for i in range(len(text)): print(i)

wise cargoBOT
#

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

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

!e py text = "abcd" print(text[0])

wise cargoBOT
#

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

a
somber heath
#

!e py text = "abcd" for i in range(len(text)): print(text[i])

wise cargoBOT
#

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

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

!e py text = "abcd" for i in range(len(text)): print(i, text[i])

wise cargoBOT
#

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

001 | 0 a
002 | 1 b
003 | 2 c
004 | 3 d
somber heath
#

!e py for a in range(3): for b in range(3): print(a, b)

wise cargoBOT
#

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

001 | 0 0
002 | 0 1
003 | 0 2
004 | 1 0
005 | 1 1
006 | 1 2
007 | 2 0
008 | 2 1
009 | 2 2
somber heath
#

!e py text = "abc" for i, v in enumerate(text): print(i, v)

wise cargoBOT
#

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

001 | 0 a
002 | 1 b
003 | 2 c
somber heath
#

@autumn forge ๐Ÿ‘‹

wind raptor
#

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

autumn forge
wind raptor
#

Hello!

autumn forge
#

But I do not have permission to speak .

#

The most importance in python is OOP. Do you have any suggestion for starting learning it?

somber heath
#

I refer beginners to Corey Schafer's Youtube playlist for Python Beginners.

wind raptor
#

Heading to bed. Have a great night/day all!

#

๐Ÿ‘‹

somber heath
#

!e py text = "Hello!" result = text.upper() print(result)

wise cargoBOT
#

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

HELLO!
autumn forge
#

thank for your sharing. Everything in python is object, Right ? in your example text is String built-in classes

#

๐Ÿ˜„

somber heath
#

!d str

wise cargoBOT
#
str

class str(object='')``````py

class str(object=b'', encoding='utf-8', errors='strict')```
Return a [string](https://docs.python.org/3/library/stdtypes.html#textseq) version of *object*. If *object* is not provided, returns the empty string. Otherwise, the behavior of `str()` depends on whether *encoding* or *errors* is given, as follows.

If neither *encoding* nor *errors* is given, `str(object)` returns [`type(object).__str__(object)`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__"), which is the โ€œinformalโ€ or nicely printable string representation of *object*. For string objects, this is the string itself. If *object* does not have a [`__str__()`](https://docs.python.org/3/reference/datamodel.html#object.__str__ "object.__str__") method, then [`str()`](https://docs.python.org/3/library/stdtypes.html#str "str") falls back to returning [`repr(object)`](https://docs.python.org/3/library/functions.html#repr "repr").
somber heath
#

!e py text = "abc" result = type(text) print(result)

wise cargoBOT
#

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

<class 'str'>
autumn forge
#

๐Ÿ˜„

#

tks a lot

#

I hope i can contribute for sharing about technical while learning ๐Ÿ˜„

fickle crater
#
import socket

s = socket.socket()
print("Socket created")

s.bind(("localhost", 9999))

s.listen(3)
print("Waiting for connections")

while True:
    c, addr = s.accept()
    name = c.recv(1024).decode()
    print("Connected with ", addr, name)
    while True:
        c.send(bytes(f"Hello, {name}, welcome to the world of coding", "utf-8"))
        output = c.recv(1024).decode()
        print(output)
        if int(output) < 12:
            print(f"Client {name} not eligible")
            c.send(bytes("Folks it looks like your age is a bit lower than expected.", "utf-8"))
        else:
            print(f"Client {name} with age: {output} accepted")
            c.send(bytes("Folks your age is enough to countinue."))
        c.close()

#

Error:

#
Socket created
Waiting for connections
Connected with  ('127.0.0.1', 52248) Vivek
Traceback (most recent call last):
  File "C:\Users\Pytho\IdeaProjects\socks\server.py", line 19, in <module>
    if int(output) < 12:
ValueError: invalid literal for int() with base 10: '\x00\x00\x00\x00\x00\x00\x00\x00\x00'
#

Client Side code

#
import socket
c = socket.socket()
command = ""
c.connect(("localhost", 9999))
name = input("Enter your name: ")
c.send(bytes(name, 'utf-8'))
print(c.recv(1024).decode())
age = int(input("Age: "))
c.send(bytes(age))
empty gorge
#

hi

#

opal could you help me?

#

with start programing in python

#

i am begginer

somber heath
#

Corey Schafer, YouTuber. Playlist for Python Beginners.

empty gorge
#

ok

#

i have another question?

#

is thonny good program

#

ok

willow ruin
#

wait what

#

are you saying somethign @somber heath

#

okay what is that

#

some animal >

#

?

#

okay

somber heath
willow ruin
#

yea

#

i have it

#

your accent is bit hard for me

#

sorry

#

it's just accent man np

#

yea first one was better

#

haha

#

lol

#

๐Ÿ˜‚

#

okay gotta go guys

#

cya

#

need to study haha

empty gorge
#

ok i am back

#

how to connect thonny and QT designer

somber heath
dapper peak
#

can i call you opal

#

you are funny man

#

so i finished something like Corey Schafer, i know the basic now and oops

empty gorge
#

ok

#

i go

dapper peak
#

right now i am trying to learn django and go projects in django

empty gorge
#

cya

#

yes

dapper peak
#

i am stuck with something dont know what to do next

#

its something like this

#

yes i wanna add something more but little confuse

#

also should i learn machine learning ?

#

like what

#

other things?

#

actually i dont know much bro i started this week only

#

haha

#

ok ok

#

i am good with maths

#

data science channel u said right?

#

hmmmm

#

thanks for help i will go study now

#

it was fun listening to you ๐Ÿ˜„

#

Hooroo

#

mate

#

haha

fickle crater
#

@peak ice come to a help channel

#

i will come there

fiery bone
#

Hey

#

Nice to meet you sir

#

I wish to

#

I got type 50+

#

To accomplish

#

Voice verification

#

Me

#

I wish to talk

#

Yep

#

Hold on brb

somber heath
#

Lingering.

whole bear
#

can I talk to ya?

warped raft
#

@somber heath baby

somber heath
warped raft
#

what

#

did

#

what did you mean

somber heath
#

Why did you say baby? Are you referring to a baby? A baby animal? Are you referring to me as baby? Are you calling me a baby?

warped raft
#

and the answer is babay

somber heath
#

What riddle?

warped raft
#

i got confused

somber heath
#

I posed no riddle.

#

But very well. Though I'm curious as to what you thought the riddle was.

warped raft
#

@lavish rover i will use this chat

#

ok

#

ok

#

ok

#

what is your ping

#

@timid mossfa

#

do you use

#

arduino

#

@lavish rover do you use arduino

#

do you use arduino @lavish rover

#

sorry

gentle flint
#

Pitcairn Island

somber heath
#

There's a Korean version of Tahiti. Keketi.

#

Tee hee.

lavish rover
#

very amusing.

#

ass burgers?

#

it's called butt sandwiches now.

flat sentinel
gentle flint
#

Asperger syndrome (AS), also known as Asperger's, was the name of a neurodevelopmental disorder no longer recognised as a diagnosis in itself, having been merged into autism spectrum disorder (ASD). It was characterized by significant difficulties in social interaction and nonverbal communication, along with restricted and repetitive patterns of...

gentle flint
#

Asperger syndrome (AS), also known as Asperger's, was the name of a neurodevelopmental disorder no longer recognised as a diagnosis in itself, having been merged into autism spectrum disorder (ASD).

flat sentinel
#

remove the whole thing and put it on your door

gentle flint
#

nein

flat sentinel
#

y

gentle flint
#

bcuz bathroom

somber heath
#

Is vegan chicken substitute called chicant?

sweet lodge
lavish rover
somber heath
#

I missed it.

sweet lodge
lavish rover
#

O pal, mist the joke.

somber heath
#

ALDI's

lavish rover
#

Aldis jokes are tiring me.

lavish rover
flat sentinel
gentle flint
#

these fuckers glued this thing on the ceiling

lavish rover
#

.ipa = iphone application file

#

backronym:
best available comeback killing random online noobs, yo mama

gentle flint
rugged tundra
#

Arbyโ€™s and Old Spice are launching a collab of epic portions. To announce the meatiest, unsweatiest partnership of all time, weโ€™ve created an Arbyโ€™s commercial thatโ€™s an Old Spice commercial thatโ€™s an Arbyโ€™s commercial thatโ€™s an Old Spice commercial thatโ€™s an Arbyโ€™s commercial. Did we mention itโ€™s an Old Spice commercial?

โ–ถ Play video
gentle flint
somber heath
#

Boba Confetti.

gentle flint
somber heath
#

Elevator toilets. There's a notion.

#

Ding! "I'm poopin'!"

lavish rover
rugged root
#

Right?

woeful salmon
#

@amber raptor how do you feel about web 5

lavish rover
#

web 2: runs on central servers
web 3: runs decentralized
web 4: runs only on iot devices
web 5: doesn't run at all

woeful salmon
#

๐Ÿคฃ

gentle flint
amber raptor
woeful salmon
#

don't think you'd be caring for a while now then meanwhile web 10 will come out

amber raptor
#

Iโ€™ll care when itโ€™s proven we have moved on.

quaint monolith
#

@amber raptor what do you think about andrew yang

mossy cedar
#

whats the topic here

#

TOPIC

#

actually don't need a topic i like this already

sand lotus
#

can somone please help me

#

i cant uplaod an image in html

#

<!DOCTYPE html>
<html lang="eng">
<head>
<title>Image</title>
</head>
<body>
<img src="file:///C:/Users/ghp/OneDrive/Pictures/85246.jpg" alt="85246.jpg"/>
</body>

</html>
#

can anyone let me know if i did something wrong

amber raptor
#

His points about technology just removing jobs and not replacing them might be right.

#

If so, this is going to be bad.

mossy cedar
mossy cedar
sand lotus
#

so hw do i fix it

mossy cedar
#

@sand lotus there just write the directory ( file address) in proper formate

sand lotus
#

ohhhhh

#

ok thanks

mossy cedar
#

yeah it was a formate mistake don't worry i recommend you just coppying it instead of typing it out

#

i mean the address

#

like from your own pc. ( i didn't mean you to coppy my text)

quaint monolith
amber raptor
#

I supported Bernie in primaries

quaint monolith
amber raptor
sturdy panther
#

I thought cats walk themselves!

#

Mm. Very different to cats around here then.

#

Never had a cat.

#

We did have a visiting cat.

woeful salmon
#
class Particle {
  constructor(ctx, x, y, size) {
    this.ctx = ctx;
    this.x = x;
    this.y = y;
    this.size = size;
    this.xVel = this.getRandomVelocity();
    this.yVel = this.getRandomVelocity();
    this.color = this.getRandomColor();
  }

  getRandomVelocity() {
    let vel = Math.random() * 10 - 5;
    (function () {
      console.log("normal function");
      console.log(this);
      console.log("\n");
    })();
    (() => {
      console.log("arrow function");
      console.log(this);
      console.log("\n");
    })();
    return vel !== 0 ? vel : this.getRandomVelocity();
  }
}
gentle flint
#

I've had multiple

#

they are killer machines

#

our first one caught mosquitoes midair which was kinda practical

sturdy panther
#

That would be quite amazing!

#

A very handy cat to have around.

gentle flint
#

jumped up in the air and caught them in his paws

sturdy panther
woeful salmon
#

which again for your browser is window and for node.js is global

gentle flint
#

I need to go

#

I'll speak to y'all on Sunday if you're online

#

cya

sturdy panther
#

Take care!

#

So this is determined when the arrow function is called, and not when it is defined?

#

Ah okay.

#

Good to know!

#

So it keeps a reference to the object.

rugged tundra
sturdy panther
#

Eeh..

#

Does it, like, error if you try?

#

Or just have no effects?

#

Adding edge cases to edge cases.

#

Just to make sure, you are are using Python, right?

#

Ah..

#

I think you have to special case 12 first before adding.

#

That might not pass the given examples

woeful salmon
#

!e

for i in range(10):
    print((i + 1) % 4)
wise cargoBOT
#

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

001 | 1
002 | 2
003 | 3
004 | 0
005 | 1
006 | 2
007 | 3
008 | 0
009 | 1
010 | 2
woeful salmon
sturdy panther
#

Sorry. Bluetooth headphone out of battery.

#

12PM would give 12+12, which mods to 0. But the question wants 12

rugged root
zenith radish
zenith radish
lavish rover
rugged root
lavish rover
#

Can you search for "3 demons through the looking glass"

trail mural
#

Hi

lavish rover
rugged root
#

@trail mural How've you been?

quasi condor
#

QUIC from 2013
GRPC from 2015
HTTP/3 from 2018

rugged root
#

Huh

#

QUIC = Quit Using It, Charlie

quasi condor
#

tell that to google

#

and the entire rest of the internet

rugged root
#

GRPC = Go Read Pratchett, Charlie

quasi condor
#

fine

#

you win

#

I'll do it

trail mural
rugged root
#

@burnt rampart If you're wondering why you can't talk, check out the #voice-verification channel

#

That'll tell you what you need to know

trail mural
#

Im trying to avoid vc0 chats I feel creepypasta vibes starting from this

#

ai creating cursed images that humans have never imagined before

rugged root
#

That's the best kind

#

It's also why I don't have images and videos auto load

trail mural
#

do fire dragon

#

and fire dragon sword

rugged root
trail mural
#

ty

zenith radish
trail mural
#

...

zenith radish
#

Look at the selected answer

trail mural
#

I was typing that

#

;-;

rugged root
trail mural
#

I like this!

rugged root
# rugged root

Top left and middle right both have watermarks or signatures marked out

#

Strange

terse needle
#

it's not wrong

trail mural
#

needs more wrinkles

#

;-;

#

Clyde

#

let me post

#

reeeeeeeeeeee

rugged root
#

Send it to me

trail mural
#

Hemlock some of those nuts you showed me are fleshy o.o

rugged root
#

Well, given the input...

quasi condor
trail mural
rugged root
#

I think top right really fits it

trail mural
#

when the picture is more vague its easier to fill it in in your head

rugged root
#

Yep!

quasi condor
#
hearty thistle
#

cute cat

zenith radish
#

A memory-mapped file is a segment of virtual memory that has been assigned a direct byte-for-byte correlation with some portion of a file or file-like resource. This resource is typically a file that is physically present on disk, but can also be a device, shared memory object, or other resource that the operating system can reference through a...

hearty thistle
#

Linked listhyperlemon

quasi condor
hearty thistle
#

zucc moment

amber raptor
somber heath
#

@teal flower If you're talking, I can no longer hear you.

fickle crater
#

@somber heath can you help me with socket, I will send you the code: Server Code ```py
import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print("Socket Created")
s.bind((socket.gethostname(), 1234))
s.listen(5)
print("Socket is now listening")
while True:
client_name, addr = s.accept()
questions = ["Name: ", "Age: ", "Country: "]

def send_message(message:str):
    client_name.send(bytes(message, "utf-8"))
    print(f"sent message to client: {client_name, addr}")

for question in questions:
    send_message(question)
#

Client Code :

#
import socket
import time
c = socket.socket()
command = ""
c.connect((socket.gethostname(), 1234))
print("Connected successfully")
while True:
    question = c.recv(20).decode()
#

I expect it too well say questions one by one

#

@somber heath perhaps I will do it myself like I used to before having discord.

#

yes the third option

peak ice
#
class Hashtable:
    def __init__(self):
        self.max = 10
        self.arr = [[] for i in range(self.max)]

    def get_hash(self, keys):
        sum = 0
        for c in keys:
            sum = sum + ord(c)
        return (sum % self.max)

    def __setitem__(self, key, val):
        h = self.get_hash(key)
        found = False
        for index, element in enumerate(self.arr[h]):
            if element[0] == key and len(element) == 2:
                found = True
                self.arr[h][index] = (key, val)
        if not found:
            self.arr[h].append( (key, val))

    def __getitem__(self, key):
        h = self.get_hash(key)
        for i in self.arr[h]:
            if i[0] == key:
                return i[1]
        return self.arr[h]

    def __delitem__(self, key):
        h = self.get_hash(key)
        for index, element in enumerate(self.arr[h]):
            if element[0] == key:
                print(f"delete element in {index}")
                del self.arr[h][index]

    def avg_temp(self,firstdays,lastday):
        total=0
        try:
            for i in range(firstdays,lastday):
                total=total+self.arr[i][1]
        except IndexError:
            pass
        avg=total/lastday-firstdays
        return avg

    def max_temp(self,firstday,lastday):
        temp=0
        max=0
        for i in range(firstday,lastday):
            if self.arr[i][1]>self.arr[i+1][1]:
                max=self.arr[i][1]
        # a=max(self.arr[firstday:lastday][1])
        return max


filename='nyc_weather.csv'
f=Hashtable()
count=0
with open(filename,'r') as fileobj:
    for line in fileobj:
        try:
            date,temp=line.split(',')
            temp = int(temp)
        except TypeError:
            pass
        except ValueError:
            pass
        else:
            f.arr[count] = (date, temp)
            count += 1
print(f.arr[0])
print(f.avg_temp(0, 7))
#print(f.max_temp(0, 10))
#

hello @somber heath

#

how are you

#

opal my debugger is not stopping on breakpoint

#

this one?

#

ok thanks for the direction

peak ice
#

hy @somber heath

peak ice
#

hello @somber heath

#

i am in library can't talk

#

need your help

#

are you familiar with Hashtable

#

i went but couldn't find any

#

ok give it a try

peak ice
#

sorry thy this

#

*try

#

i want only temp to be printed

#

@somber heath

#

yes but the assignments are based on hash values

#

ok no problem

#

i think i am on my own today

#

๐Ÿ˜ฉ

#

by @somber heath

#

take care

warped raft
#

@somber heath hello

#

how are you doing

mystic geyser
#

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

molten pewter
#

The legality of abortion in the United States is subject to individual state laws. In 1973, Roe v. Wade made the first abortion case to be taken to the Supreme Court, which had made it federally legal. In 1992, Roe was partially overturned by Planned Parenthood v. Casey, which stated that states cannot place legal restrictions posing an undue bu...

mental seal
#

Hello

molten pewter
#

Hi Percy

#

Renowned Italian tenor Pavarotti (1935โ€“2007) sings the aria from the final act of Puccini's opera Turandot, live in concert with The Three Tenors in Los Angeles in 1994. Watch the full performance, newly available in digital video: https://w.lnk.to/The3TenorsLY

The Three Tenors (Josรฉ Carreras, Plรกcido Domingo, and Luciano Pavarotti) are joined ...

โ–ถ Play video
somber heath
#

What happens in Vagus stays in Vagus.

molten pewter
#

Food is awesome, however still in quarantine, won't be out till the 6th

lavish rover
#

at least you have good food in quarantine, that's something

molten pewter
somber heath
#

Guwuafiks

molten pewter
#

Guwuafiks?

#

Is that the uwu-ification of Graphics?

quasi condor
#

.uwu graphics

viscid lagoonBOT
#

gwaphics

molten pewter
#

gwafiks?

quaint oyster
#

-1 points to prose

molten pewter
#

Molasses () is a viscous substance resulting from refining sugarcane or sugar beets into sugar. Molasses varies in the amount of sugar, method of extraction and age of the plant. Sugarcane molasses is primarily used to sweeten and flavour foods. Molasses is a major constituent of fine commercial brown sugar. It is also one of the primary ingredi...

#

opal keeping it ๐Ÿ’ฏ

somber heath
molten pewter
quasi condor
#
molten pewter
#

those look reasonable.

whole bear
quasi condor
molten pewter
#

@midnight agate did you want to schedule time to go through the book?

fickle parcel
#

hi there

molten pewter
#

Ctrl+shft+N opens a new window in VS

#

do you have the ability to set a schedule?

#

oh....

fickle parcel
#

do u have an idea of cool coding project for a college portfolio?

molten pewter
#

What would be a day of the week that you would want to set a schedule to.

#

?

quaint oyster
#

in the terminal in vscode you can go to a directory and type the command code . to open a new workspace window in that directory

molten pewter
#

I know. I will try to keep up, if you want to do it everyday.

quaint oyster
#

What rust book is it

#

shit we're not invited to the kool kids klub

molten pewter
#

it is less of a cool kids club, and more of a place to wait until people with open mikes leave.

quaint oyster
#

sounds like a cult to me

#

jk

molten pewter
#

it could also be a cult.

#

serls

#

is this the one?

quaint oyster
#

join back @zenith radish

trail mural
#

Nice work coffee

#

Hi!

#

trying to fix it

#

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

distant bough
#

Can someone help me, pls?

#

disclaimer: my english is not very good

clever relic
#

anyone here?

quaint monolith
#

hiii

#

I don't have permission to speak

#

whatchu doinnn

hearty thistle
#

You need fifty messages and three days on the server.

quaint monolith
#

i think it's been a year since i've been here

#

still not 50 messages

#

no i really don't have 50 messages on here

#

i haven't been on much

#

anyway you guys talk, i'll just listen

#

question

#

how do i get a job in one month

hearty thistle
quaint monolith
#

yesss sir

#

sophomore year

hearty thistle
#

Just graduated or currently in-school?

hearty thistle
#

I doubt you can currently get an internship since it's the middle of summer.

quaint monolith
#

just started my sophomore year

hearty thistle
#

Try reaching out to professors or grad students regarding research opportunities.

quaint monolith
hearty thistle
#

Or try finding a part-time internship.

#

Assuming you're in the US.

#

If you're in a pretty big uni, you should have a good amount of resources for research opportunities.

#

Try emailing grad students regarding possible projects they're doing and how you can contribute.

quaint monolith
#

would it be a good idea to learn react and laravel during my break and apply for an internship or an entry level job in a month?

hearty thistle
hearty thistle
#

Unless you're taking a gap semester for a full time internship, stick to a part time one during the school year.

#

I'd assume you'd do a full-time internship during the summer.

quaint monolith
#

okay okay part time

hearty thistle
#

Are you located in the US or elsewhere?

quaint monolith
#

I'm actually not in the US

hearty thistle
#

Got it.

quaint monolith
#

my break is only for a month

quaint monolith
hearty thistle
#

Paid research is a possibility as well.

#

If you have the skills, part-time internship shouldn't be an issue.

quaint monolith
#

i get too distracted

hearty thistle
#

Heck, if you know your basic data structures and programming conventions, you should be fine.

quaint monolith
#

i did this one Facebook clone with php and mysql a year ago

hearty thistle
#

As long as you're willing to learn and you can show some results with past projects, you should be fine.

quaint monolith
#

i am dedicated

#

passionate

#

and if you give me a chance, i will learn anything you need me to

#

does that sound too desperate?

hearty thistle
#

Kind of?

#

Not too sure, upper-classmen can help with applications and stuff.

quaint monolith
#

bruh mannnn

#

I'm not sure if i remember correctly

#

but

#

umm

#

i think i heard you and someone else talking in a voice channel

#

yesterday

#

about python?

hearty thistle
#

Prolly not me.

quaint monolith
#

okay yeah prolly not

#

anyway what are you doing

#

can i be of any help to you?

#

are you learning any new technologies?

#

thanks a lot for talking bruh-man... I'm a lot closer to getting voice verified

#

woohoo

hearty thistle
quaint monolith
#

what is itttttt

#

flex on meeee

#

come on

hearty thistle
gentle flint
#

happy now?

paper pivot
#

@lavish rover yo, question

#

so im doing a test on if my webpage is responsive to different resolutions

#

and

#

and how much inches does ur monitor have?

#

๐Ÿ‘Œ inspect element

#

yeah

#

alright , thanks!!!

gentle flint
#

@warped raft we generally type here

#

I'm fine, hbu?

warped raft
#

ok

#

i'm doing fine

gentle flint
#

excellent

#

I'm eating lunch rn

warped raft
#

in india it's snack time aka evening

gentle flint
#

aha

#

here it's 14:01

warped raft
#

17:31 on my side

#

what are you eating

gentle flint
#

sandwiches

#

this one has peanut butter

warped raft
gentle flint
#

anyway, it is very quiet, so I think I'll be off

#

bye

warped raft
#

bye

#

@dapper peak hello

dapper peak
#

helllo

warped raft
#

how are you doing

dapper peak
#

not that good bhai

warped raft
#

kya hua

dapper peak
#

trying to learn django in 2 days and do a invoice system tracking project haha

#

going crazzzzy here

warped raft
#

bro you are done

dapper peak
#

but enjoying it

warped raft
#

seriously in 2 days

dapper peak
#

haha i know right last week he python chalu kiya hae maine

#

dard he dard hae xD

warped raft
#

maine bhi pichle tuesday hi start h

dapper peak
#

haha niceeee

#

kaha se padh rahe ho app

warped raft
#

youtube

dapper peak
#

i mean python kaha se chalu kiya

#

youtube mae kaha se

warped raft
#

ke channel

#

se

dapper peak
#

ohh nice keep it up bro

warped raft
#

you also

dapper peak
#

chalo milte hae fir kabi back to django

warped raft
#

@teal flower hello

warped raft
#

@low basin we are doing fine

low basin
#

why is no one talking

warped raft
#

I don't have a mic

low basin
#

oh

#

do you have linux by any chance

warped raft
#

no windows

low basin
#

ok

warped raft
#

@wind raptor good

#

how about you

#

what did yo just ask

#

trying to make rocket fuel

#

on a small level

#

to fly rocket

#

why would you ask that

#

no

#

trying first

#

time

#

yep

#

from pvc

#

wine glass

#

i cut out the tip

#

yep

#

you can use it multiple times

#

6 years ago

#

tutorial

#

i'm going afk

#

i'll be back soon

somber heath
#

@dark lotus In here. ๐Ÿ™‚

dark lotus
#

hii

#

oo

#

hii

#

opalMist

#

you want talk to m

#

me

#

yes

#

why you muted my mic

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.

dark lotus
#

i have no permission to unmute my mic

somber heath
#

If McDonald's became a publishing company, would Apple sue?

#

"Introducing the McBook"
"LAWYER'D!"

#

@opal mulch Your auto quality sounds like it's suffering from network jitter or audio processing issues.

whole bear
#

hi opal,mindful,programmer

whole bear
#

hehehehehe

mossy cedar
#

web scrapping is cool

#

we scrapped our school exam paper that way last year :>

#

beautifulscoup and some danjo

opal mulch
#

p = process(["gdb","./otp"])
p.recvuntil("(gdb)")
p.sendline("break strncmp@plt")
p.recvuntil("(gdb)")
chars="0123456789abcdef"
sofar=""
for j in range (100):
     for i in chars:
         p.sendline("run "+sofar+i+"1"*(99-j))
         p.recvuntil("(gdb")
         p.sendline("x/s $rsi")
         first=(p.recvuntil("(gdb)"))
         p.sendline("x/s $rdi")
         second=(p.recvuntil("(gdb)"))
         if first [18+j]==second[18+j]:
             sofar += i
             print(sofar)
             break```
#

this is the code

#

and the error is

#

if first [18+j]==second[18+j]: IndexError: index out of range [*] Stopped process '/usr/bin/gdb' (pid 17433)

on line 17 btw

mossy cedar
#

if first [18+j]==second[18+j]:

opal mulch
somber heath
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.

terse needle
opal mulch
jagged island
#

@rugged tundra Craig is super cringey though

rugged tundra
jagged island
#

the man with the wig

#

XD

#

except for apple supposedly

#

@rugged tundra yeah but google's main source of revenue is ads whereas apple has built itself on the premis that it is a privacy first focused company

mossy cedar
jagged island
#

question what editor do you guys use?

mossy cedar
#

studio*

#

visual*

jagged island
#

I use vscode + vim emulation

mossy cedar
#

y vim

jagged island
#

cause its faster to edit with imo

#

than constantly having to go back and forth between mouse and key board

mossy cedar
#

oh and i also use codeblocks for c and c++

jagged island
#

yeah I use visual studio for c/c++ I hate it though

mossy cedar
#

same thats why i don't

#

gcc sometimes glitches

#

vsc is trash for c c++

jagged island
#

yeah but im kind of forced to use it since my company uses it

mossy cedar
rugged tundra
jagged island
#

thats google

#

satya nadella

#

yep

wind raptor
#

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

jagged island
#

you @wind raptor any chance you can hook me up with that voice verification XD?

#

yow*

jagged island
#

ah i see

wind raptor
#

You have 18/50 msgs

jagged island
#

guess i need to hit the message count

whole bear
wind raptor
whole bear
#
def q(spam):
    print(", ".join(spam))
    for i in range(len(spam)):
        if i == len(spam) - 1:
            print("and " + spam[i])

q(["moose", "dog", 'cat','mouse'])


wind raptor
#

Just talk in here

whole bear
jagged island
#

you are printing the list items joined by comma space and in you loop you are only handling the last item. what you want is maybe drop the print at the begining and just add an else

#

clause

#

in your for

whole bear
#
def q(spam):
    print("\'")
    print(", ".join(spam))
    for i in range(len(spam)):
        if i == len(spam) - 1:
            print("and " + spam[i])
    print("\'.")
q(["moose", "dog", 'cat','mouse'])
jagged island
#

you can drop the for loop all together

#

by subsetting your spam list

#

in your join

#

spam[:len(spam)-1]

wind raptor
#

my_list[1:7]

jagged island
#

yep

#

or -1

wind raptor
#

[:-1]

whole bear
#
    print(", ".join(spam[:len(spam) - 1]))
#

right?

jagged island
#

yep

#

but your implementation still uses a bit more memory than you need

#

you could simply print that

#

good job

whole bear
#
print(", ".join(spam[:-1]) + " and " + spam[len(spam)-  1])
jagged island
#

you could use -1

#

its a shorthand

#

no not really since the minus 1 thing can mess you up

#

and have some weird indexing issues

whole bear
#
def q(spam):
    print("\'")
    print(", ".join(spam[:-1]) + " and " + spam[-1])
    print("\'.")
    
    

q(["moose", "dog", 'cat','mouse'])```
peak copper
whole bear
jagged island
#

so you can just handle that case with an if guard

#

try is much slower

#

than if

#

around 200 times or so

#

if i remember correctly

whole bear
#
def q(spam):
    print(", ".join(spam[:-1]) + " and " + spam[-1])
    if spam(len) < 0:
        print("Your list has no values")

q([])

jagged island
#

actually not sure about the 200 times thing would be interesting to do a quick bench on like 1 million elements to see

#

brb

wind raptor
#

!e

print(bool([1, 2, 3]))
print(bool([0]))
print(bool([]))
wise cargoBOT
#

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

001 | True
002 | True
003 | False
whole bear
#

?

wind raptor
#

The truth value of an empty list is False

whole bear
#

Oh

#

Wait

#

I did it

#

look

#
def q(spam):
    if len(spam) < 1:
        print("Your list has no values")
    else:
        print(", ".join(spam[:-1]) + " and " + spam[-1])

q([])


jagged island
#

actually it could

#

using a for loop

#

nothing

#

thats the point

#

it also teaches you more instead of over reliance on python functions

sturdy panther
#

What does it want for a list with one item?

peak copper
#

!e ```py
def q(spam):
if len(spam) < 1:
print("Your list has no values")
else:
print(", ".join(spam[:-1]) + " and " + spam[-1])

q([1])

terse needle
whole bear
#

hu

jagged island
#

pps running the bench on the try vs if

terse needle
#

!e

def q(spam):
    if spam:
        print(f"\'{', '.join(spam[:-1])} and {spam[-1]}\'.")
    else:
        print("Your list has no values")

q([])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

001 | Your list has no values
002 | 'Apple and Pineapple'.
003 | 'Apple, Pineapple and Blueberry'.
jagged island
#

also never realized until now how long it takes for you to send 50 messages

terse needle
#

!e assert None

wise cargoBOT
#

@terse needle :x: Your eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "<string>", line 1, in <module>
003 | AssertionError
whole bear
#
def q(spam):
    if spam:
        print(f"\'{', '.join(spam[:-1])} and {spam[-1]}\'.")
    else:
        print("Your list has no values")

q([])```
jagged island
#

btw it isn't good practice to name your function single letter names or your variables for that matter

#

you should use descritptive names

#

so def commaCode(inputList):

terse needle
#

!e

def q(spam):
    if len(spam) == 0:
        print("Your list has no values")
        return

    print("\'", end="")

    if len(spam) > 1:
        print(f"{', '.join(spam[:-1])} and ", end="")
    
    print(f"{spam[-1]}\'.")

q([])
q(["Apple"])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

001 | Your list has no values
002 | 'Apple'.
003 | 'Apple and Pineapple'.
004 | 'Apple, Pineapple and Blueberry'.
peak copper
terse needle
#

!e

def q(spam):
    buffer = "\'"

    if len(spam) > 1:
        buffer += f"{', '.join(spam[:-1])} and "
    
    if spam:
        buffer += f"{spam[-1]}\'."

    if len(spam) == 0:
        buffer = "Your list has no values"

    print(buffer)

q([])
q(["Apple"])
q(["Apple", "Pineapple"])
q(["Apple", "Pineapple", "Blueberry"])
wise cargoBOT
#

@terse needle :white_check_mark: Your eval job has completed with return code 0.

001 | Your list has no values
002 | 'Apple'.
003 | 'Apple and Pineapple'.
004 | 'Apple, Pineapple and Blueberry'.
woeful salmon
#

@terse needle backend ? go : javascript

whole bear
#

ty for the help

terse needle
woeful salmon
#

go is just as easy but much faster so i'm now almost always using go

wind raptor
#

!e

def q(spam: list):
    if spam:
        print(f'{", ".join(map(str, spam[:-1]))}{" and " if len(spam) > 1 else ""}{spam[-1]}')
    else:
        print("N/A")


q([])
q(["apple"])
q(["apple", "banana"])
q(["apple", "banana", "cherry"])
q([1])
q([1, 2])
q([1, 2, 3])
wise cargoBOT
#

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

001 | N/A
002 | apple
003 | apple and banana
004 | apple, banana and cherry
005 | 1
006 | 1 and 2
007 | 1, 2 and 3
woeful salmon
#

either golang with gin or nest.js with javascript

terse needle
#

I prefer the map here

wind raptor
#

Hmm, not sure here

woeful salmon
#

way to make python look like a lisp

#

i just mean so many parehthesis there :x

terse needle
#

I wish python have good lambdas and nice maps

wind raptor
#

I don't mind python's. I like them better than JS's

terse needle
#

so much worse than rusts

wind raptor
#

Ahh

terse needle
#

clojures in rust are so neet too

#
let my_lambda = |x| x + 1;

is the same as

my_lambda = lambda x: x + 1
woeful salmon
#

i prefer javascript syntax over either of them as map is supposed to be for functional programming and simple and that's what the js version is

terse needle
#

look how clean the first one it

#

I would prefer lambda calc lambdas though \x. x + 1

woeful salmon
#

js

terse needle
#

better than python imo

woeful salmon
#

agreed

terse needle
#

worse than rust

woeful salmon
#

wanna see c# btw? ๐Ÿ˜„ (x) => x + 1

terse needle
#

ewww

#

I think haskell does them nicely

woeful salmon
#

lol no its not that

#

there

#

its same as javascript

#

also for either the () around the x are optional

terse needle
#

they're not awful but you have to curry them I think

jagged island
#

anyone up for some typeracer

#

?

woeful salmon
#

i still like to have it as to my brain its easier to see oh that's a parameter list

terse needle
#

maybe I am crazy biased to rust

#

you know what

#

js and c# are fine

#

ocaml is nice too fun x y -> x + y

woeful salmon
#

also i don't think there's any currying involved

terse needle
woeful salmon
#

๐Ÿ˜ข ??

terse needle
#

I said true in curried lambda calc

woeful salmon
#

ah lol i thought that was another esoteric language

woeful salmon
#

you can even do classes

const myClass = class { ... }
quasi condor
peak copper
woeful salmon
#

@rugged tundra >-> btw i use doom emacs

#

i don't think i promote it at all

#

i do help people who wanna use it get it

#

but don't go on promoting it without reason

#

the cult shall grow passively ducky_devil

steady acorn
woeful salmon
#

to be fair i'm not fully dedicated to it yet xD i switch back and forth between neovim and doom emacs depending on how big the project i'm working on is

peak copper
woeful salmon
#

@peak copperhttps://ms-paint-i.de/

steady acorn
#

echo {code} >> code.ext is the best ide

sturdy panther
#

"It looks like you are in Pain[...]"

molten pewter
#

"Planned Features
MS Paint IDE is rapidly growing, with many planned features along the way. The following are just a few of the planned features for the IDE.

Gradle/maven support
Improving PaintInjector to provide with an image modification API
Live debugging with line highlights from MS Paint
Autocompletition
Auto updater/checker
Acquire JetBrains"

peak copper
woeful salmon
molten pewter
jagged island
#

got a bounce see ya

woeful salmon
#

@molten pewter Actually i change my answer
my prefered language is the one that gets a particular job done fast but robust way

#

which for me usually ends up being typescript and golang

trail mural
#

Hi VC0

quaint oyster
#

one thing i hate in windows is the user management system

trail mural
gentle flint
#

and dead flies

gentle flint
#

now I'm curious what you were going to type @vivid palm

vivid palm
#

oh lol

#

i did not realize i was typing here

gentle flint
#

ah

vivid palm
#

but hi!

gentle flint
#

hiya

vivid palm
#

i am currently working out pylint

gentle flint
#

aha

vivid palm
#

pylint Attempted relative import beyond top-level package Pylint (E0402:relative-beyond-top-level)
even though the import works just fine

#

soooo i'ma just ignore this error in the settings

gentle flint
#

that's always the easiest solution

vivid palm
#

i kinda hate it

#

but

#

if pycharm isn't yelling at me

#

i think vscode should not be allowed to :P

gentle flint
#

fair enough

#

sometimes restarting also fixes it

#

vscode has weird cache issues

vivid palm
#

it's not that this time

#

i've disabled this specific error, but this is my proj structure

gentle flint
#

I see no great weirdnesses

whole bear
#
       
       if answerNumber == 1:
           return 'It is certain'
       elif answerNumber == 2:
           return 'It is decidedly so'
       elif answerNumber == 3:
           return 'Yes'
       elif answerNumber == 4:
           return 'Reply hazy try again'
       elif answerNumber == 5:
           return 'Ask again later'
       elif answerNumber == 6:
           return 'Concentrate and ask again'
       elif answerNumber == 7:
           return 'My reply is no'
       elif answerNumber == 8:
           return 'Outlook not so good'
       elif answerNumber == 9:
           return 'Very doubtful'
flat sentinel
gentle flint
#

mydict = {1: 'It is certain', 2: 'It is decidedly so'}

#

return mydict[answerNumber]

flat sentinel
summer pulsar
#

@errant sand we can't talk in a voice chat ???

peak ice
#

@peak ice

#

hy @tidal rapids

somber heath
#

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

trail mural
#

Beautiful episode

#

I remember it vividly

restive cliff
#

@rotund dagger

#

here ig

rotund dagger
#

Okay

#

So

restive cliff
#

so

rotund dagger
#
  1. create a Human class that creates a dict human and gives it an address, phone number, profession, and a random RFP
  2. create the classes Woman and Man, respectively, inherited from the Human class, which should add the first name, last name to human
    3 the Human class must have a show_info method that will display all the information in a readable form. Important! the show_info method should not throw an error, no matter where and when I use it
    The readable view is something like
    Name: ...
    Address: ....
#

I only start to work with OOP and donโ€™t know any thinks how to do

#

So maybe u can help ?

#

@restive cliff u help ?

#

Yea

#

Also all of info like adress and other

#

U can take from Faker

#

It must be done before 15:50

#

Plssss

#

20 minutes

#

Now

rotund dagger
#

Yes

restive cliff
#
class A:
    pass
class B(A):
    pass```
rotund dagger
#

Yea I do that

#

Yes

#

One nimnute

somber heath
#

!class

wise cargoBOT
#

Classes

Classes are used to create objects that have specific behavior.

Every object in python has a class, including lists, dictionaries and even numbers. Using a class to group code and data like this is the foundation of Object Oriented Programming. Classes allow you to expose a simple, consistent interface while hiding the more complicated details. This simplifies the rest of your program and makes it easier to separately maintain and debug each component.

Here is an example class:

class Foo:
    def __init__(self, somedata):
        self.my_attrib = somedata

    def show(self):
        print(self.my_attrib)

To use a class, you need to instantiate it. The following creates a new object named bar, with Foo as its class.

bar = Foo('data')
bar.show()

We can access any of Foo's methods via bar.my_method(), and access any of bars data via bar.my_attribute.

mystic kernel
#

hi

#

I dont understand the code jam qualifier

#

alright thanks

rotund dagger
#

from faker import Faker
fake = Faker('uk_UA')

class Human:
def init(self):
self.human = {}
self.human['ะฐะดั€ะตั'] = fake.address()
self.human['ั‚ะตะปะตั„ะพะฝ'] = fake.phone_number()
self.human['ะฟั€ะพั„ะตััะธั'] = fake.job()
self.human['ะ—ะŸ'] = fake.random_int(500, 100000)
Man.mname()
Woman.wname()
def show_info():

class Man(Human):
def mname(self):
self.human['ะœ.ะ˜ะผั'] = fake.first_name_male()
self.human['ะœ.ะคะฐะผะธะปะธั'] = fake.last_name_male()

class Woman(Human):
def wname(self):
self.human['ะ–.ะ˜ะผั'] = fake.first_name_female()
self.human['ะ–.ะคะฐะผะธะปะธั'] = fake.last_name_female()

rotund dagger
mystic kernel
#

what exactly is async

#

where can it be used for?

rotund dagger
#

I donโ€™t know what I may to put in show_info

#

How to print dict

#

I donโ€™t understand some of u say, Iโ€™m from Ukraine

restive cliff
#

self.human["xyz"]

#
print("xyz:", self.human["xyz"])```
rotund dagger
#

Okay

restive cliff
restive cliff
rotund dagger
#

So how can I call show_info ?

#

And where

restive cliff
#
async def foo():
    await asyncio.sleep(5)
    print("hello after 5 seconds")
rotund dagger
mystic kernel
#

like what does it do

mystic kernel
#

is there a difference between a function as asnyc function?

#

async*

forest zodiac
#

synchronous and asynchronous functions are different stuff

mystic kernel
#

but i dont understand what makes them different

trail mural
#

when you started saying what is self

forest zodiac
#

first you need to understand what synchronous is and what asynchronous is

rotund dagger
#

@restive cliff I do that thank

#

How can I print dict and some of keys on new line ?

mystic kernel
#

print(dict.keys()) ?

somber heath
#

!e ```py
#The meaning of self
class MyClass:
def find_self(self):
return self

mc = MyClass()
print(mc)
print(mc.find_self())```

wise cargoBOT
#

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

001 | <__main__.MyClass object at 0x7efcb8f01c30>
002 | <__main__.MyClass object at 0x7efcb8f01c30>
rotund dagger
rotund dagger
#

So standard text only add /n

somber heath
#

Were I to create another instance

mc2 = MyClass()
print(mc2)
print(mc2.find_self())``` would print a different address.
mystic kernel
#

how about

#

print(f"this is the dict{dict}\n these are the dict keys{dict.keys()}")

rotund dagger
#

My Programm Print like this :
Name: Alex, Female: Depp, Adress: Mayami โ€ฆ

#

But I want

#

Like this

#

Name: Alex,
Female: Depp,
Adress: mayami

mystic kernel
#

ohh

rotund dagger
#

How ?

somber heath
#

You can do multiline f-strings.

mystic kernel
#
    print(f"{i}: {dict[i]}")```
somber heath
#

!e py name = "Alex" age = 18 food = "apples" result = f"""Name: {name} Age: {age} Food: {food}""" print(result)

wise cargoBOT
#

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

001 | Name: Alex
002 | Age: 18
003 | Food: apples
mystic kernel
#

!e

wise cargoBOT
#
Missing required argument

code

#
Command Help

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

*Run Python code and get the results.

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

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

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

mystic kernel
#
"Female": "Depp",
"Address": "mayami"
}

for i in dict:
    print(f"{i}: {dict[i]}")```
somber heath
#

Though docstrings (multilines) can be awkward to do this with in functions.

mystic kernel
#

this should word

#

work*

wind raptor
#

@ebon cradle There's quite a bit of background noise coming through your mic. Can you adjust your sensitivity, enable Krisp noise suppression or use push to talk please.

forest zodiac
#

!e```py
import time
time.sleep(5)
print("done")

quasi condor
woeful salmon
#

@lavish rover they did get rid of it

#

you now need to use their api

#

they're just trying to make people use their api

restive cliff