#voice-chat-text-1

1 messages ยท Page 11 of 1

delicate wren
#

there are two test cases which are connected

#

one prints 30, another prints 90 or something like that

#

that's the big hint

#

and 12345 -> 14 is the small hint

stuck bluff
#

@misty sinew ๐Ÿ‘‹

delicate wren
#

making notice linear correlations between input and output

#

I'll put it here too

print(next(c:=map(int,input()))*sum(c))
stuck bluff
#

@blissful ledge ๐Ÿ‘‹

delicate wren
blissful ledge
#

twisty take a break lol

ornate cobalt
#
print(next(c:=map(int,input()))*sum(c))
print((c:=map(int,input()))[0]*sum(c[1:]))
delicate wren
#

you can't [] on map

#

first, move [1:] into sum

#

!e

input = lambda: '12345'
print((c:=map(int,input()))[0]*sum(c[1:]))
coarse hearthBOT
#

@delicate wren :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((c:=map(int,input()))[0]*sum(c[1:]))
004 |           ~~~~~~~~~~~~~~~~~~~~^^^^
005 | TypeError: 'map' object is not subscriptable
delicate wren
#

!e

input = lambda: '12345'
print((c:=[*map(int,input())])[0]*sum(c[1:]))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

14
delicate wren
#

did it succeed

hasty turret
#

hii

#

what are we doing

#

can anyone tell me

blissful ledge
delicate wren
#

reverse mode:
you're given tests that your program needs to pass
you need to figure out what the task is

north nacelle
#

I have work pending, but want to play too ._.(got addicted to this i think)

delicate wren
blissful ledge
#

i'm not a programming genius unfortunately i learned coding for game engines im pretty sure i'll just fail all the time LOL

hasty turret
#

i am unable to log in there

#

can anyone paste question here

delicate wren
#

I think the thing is decryption not encryption

#

+k, I think, is encrpytion

#

@misty sinew in JS you need to mod twice

#

((a % b) + b) % b

#

because negative numbers

#

-4

#

it preserves sign

#

because of how it's done in the CPU, I think

#

C has the same issue

#

you can't measure performance well in this context

#

too much strain on the servers to get valid results

#

fastest needs more complicated tasks

#

yes, btw

#

codewars has vim

#

vim-ish

#

these options

hasty turret
#

dons,krap is done

delicate wren
#

are there any universally hated languages on the list other than VB.NET?

delicate wren
#

I actually lost it too

#

I just pasted 3031290e4cd7b5d68f42d1ae0ab7d7907048662 into one of the earlier results URLs

#

some other people from text chat might choose to join, so posting links for now is preferred

#

@north nacelle it's [team::teams] not [team*teamsize:team+teamsize]

#

they're interleaved

#

I submitted less than a second later

#

I lost to Ruby

#

to conciseness of Ruby

#

wrong word

#

what did the book say

#

concision

delicate wren
#

but I don't remember what it was about

#

either kubernetes or pandas

#

50%*0:52 == 100%*0:26

delicate wren
#

@misty sinew default case for factorial is 0 not 1

#

that might cause issues there

#

0! == 1

#

and negative! is undefined

#

wait, wasn't test 2, like, too big?

#

though it worked

delicate wren
#

it's not python 3.10+

#

ew

#

half the time I was fighting with the editor for one reason or another

delicate wren
#

or at least it argues as if it's sub 3.10

#

epic state machine

#

respectable but for this context is overengineered

#

I think

misty sinew
#

i'll join too

delicate wren
#

I don't like from the correctness point of view this is ideal too

#

if-elif-elif without else is scary even here

#

@crystal aurora I think it shouldn't start in FALSE state

delicate wren
#

eh

#

might be?

#

I kind of understand why it might be

#

nvm, yes, makes sense

#

because it's FALSE for empty sequences

delicate wren
#

also, invited via the site

#

(thrice I guess)

#

I could've saved time but not doing extra imports

#

but, eh, might "show off" library knowledge as well

#

now, I'll write it the way I'd prefer to

#

it's not really a trick
it's quite a common implementation of modulo out of remainder

#

Pascal programmers use that a lot, I think

#
from string import ascii_uppercase as U
def get_table(shift: int) -> dict[str, str]:
    return {U[i]: U[(i-shift) % len(U)] for i in range(len(U)))}
#

@misty sinew you already won in shortest

#

not for this

#

this is how you lose jobs

#

all ingested hormones are all broken down, unlike injected ones

#

@crystal aurora code-golf-ish

from string import ascii_uppercase as U
s = int(input())
p = input()
print(*(chr((ord(c)-s-ord('A'))%26+ord('A')) if c in U else c for c in p),sep='')
delicate wren
#

I didn't know about DOT before

scarlet swan
#

TOC helps in compiler construction

delicate wren
#

I was experimenting with rust-hdl state machines some time ago

#

have you read the fizzbuzz paper?

#

wtf

#

I have no idea what is happening

#

unlike the paper

#

that one is very clear

#

should try translating into python

north nacelle
#

will check it out.

north nacelle
#

i think i am getting different when i am searching fizz buzz, could you share

delicate wren
#

@ornate cobalt it's a bug

#

name, name, first name, last name
Yu, Yu, A, F

#

> not in VC
are you organising a cartel

#

I don't have professional experience

#

but I did participate in comp prog

#

IRL

#

that's not me

#

that's the inventor of turtle language

#

pid ! is syntax from Erlang

#

@crystal aurora I can try

#

I code more properly when I'm tired

delicate wren
delicate wren
north nacelle
#

why my score is 0 though

delicate wren
#

I would use operator and starmap in real code

north nacelle
#

found it ( while doing multitasking)

#

i did not even knew starmap existed

north nacelle
#

soo many replace gave up(
i though you must have used a trick but you went in the simple way)

delicate wren
#

[] -> [[ -> ]]

north nacelle
#

i even did not looked it further

delicate wren
#

!d str.translate

coarse hearthBOT
#

str.translate(table)```
Return a copy of the string in which each character has been mapped through the given translation table. The table must be an object that implements indexing via `__getitem__()`, typically a [mapping](https://docs.python.org/3/glossary.html#term-mapping) or [sequence](https://docs.python.org/3/glossary.html#term-sequence). When indexed by a Unicode ordinal (an integer), the table object can do any of the following: return a Unicode ordinal or a string, to map the character to one or more other characters; return `None`, to delete the character from the return string; or raise a [`LookupError`](https://docs.python.org/3/library/exceptions.html#LookupError "LookupError") exception, to map the character to itself.

You can use [`str.maketrans()`](https://docs.python.org/3/library/stdtypes.html#str.maketrans "str.maketrans") to create a translation map from character-to-character mappings in different formats.

See also the [`codecs`](https://docs.python.org/3/library/codecs.html#module-codecs "codecs: Encode and decode data and streams.") module for a more flexible approach to custom character mappings.
delicate wren
misty sinew
#
@tree.command(
    name="embedtest", description="Embed test",
    guild=discord.Object(id=guildID)
              )
async def first_command(interaction):
    embedVar = discord.Embed(title="Title", description="Desc", color=0x336EFF),
    embedVar.add_field(name="Field1", value="hi", inline=False),
    embedVar.add_field(name="Field2", value="hi2", inline=False)
    await interaction.response.send_message(embed=embedVar)
delicate wren
#

command tree

#

๐Ÿงฑ
^ peak humour

#

don't use debuggers with async

#

await tree.sync()

delicate wren
#

@misty sinew isn't there ?? operator?

#

h[n] ?? n

#

ok, reversed()

delicate wren
#

it's all a trade-off

#

I think [::-1] is faster but I might be wrong

north nacelle
#

what

delicate wren
#

it's a hack but a short one

misty sinew
#

I guess I do have it

#

also didn't meant to reply to this message

delicate wren
#

bp can be generated from pb

#

because the problem implies swap

hearty heath
#

Hello ๐Ÿ‘‹

north nacelle
#

how i have never seen it

hearty heath
#

Oh, codingame ๐Ÿ˜„

stuck bluff
#

Nope. Not my thing.

misty sinew
#

๐Ÿ˜ฎ

delicate wren
#

typesystem-wise it's a catastrophe, so I choose not to

delicate wren
stuck bluff
#

Oh

#

Because 2 characters. I get it.

delicate wren
#

I'll be okay with it if it's segregated into a separate function

#

now the challenge is to come up with a name

ornate cobalt
#
>>> for a,b in [1,2,3,4]:
...     print(a,b)
...
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot unpack non-iterable int object
delicate wren
#

!e

for a, b in "12 34".split():
    print(a, b)
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | 1 2
002 | 3 4
delicate wren
#

how to name this?

def the_function(src: str) -> dict[str, str]:
    return dict(src.split())
delicate wren
#

this is fine

#

brb restarting discord

#

discord gave on the idea of updating without restarting

#

finally

delicate wren
#

for two last updates, it was reloading not restarting

#

when updated using the button

somber rune
#

hi im new here, and im in dire need of help. I applied for an internship for some company and their giving us a puzzle solver problem. I'm somewhat new in coding, I know the basics and stuff. But their problem is bit out of my level. I just recently installed all of the pre requisites and git resources needed for the project.

Upon getting resources, I'm already facing with a lot of problems. I assume these early problems has got to do with the fact that I just recently installed python or visual studio. Idk. All i've done is debugging and trouble shooting with the code. I haven't done any actual work yet.

I just wanna start with the project, do you guys know anyone I can consult with or help me? I dont need someone to complete the project , i still wanna learn. ChatGPT cant help with this one either haha

somber rune
#

VS Code

delicate wren
#

> a lot of problems
it's OK to ask on help for specific problems generally

stuck bluff
hearty heath
#

Back later ๐Ÿ‘‹

delicate wren
somber rune
#

I mean I dont need someone to finish the project, I still wanna learn, through out the project.. it just frustrates me that I havent done any actual work yet because all ive done is debugging :<

stuck bluff
#

What is meant by a puzzle solver? What sort of puzzles?

somber rune
#

They asked us to create a puzzle solver, an algorithm that would solve puzzles. But the puzzles was Unique, i think they created it uniquely for this internship exam .

delicate wren
#

it's not umlaut

#

umlaut would be two dots

somber rune
#

anyways how do you fix importerror

delicate wren
#

incorrect startup, I'd guess

#

I thought of better input checking

#

couldn't come up with anything

north nacelle
north nacelle
delicate wren
#

I'd guess you need to use python -m solver

#

or something similar

somber rune
delicate wren
somber rune
#

python -m solver, then just use this ?

delicate wren
#

try that

somber rune
delicate wren
# somber rune

you've opened the wrong workspace (if this is a screenshot from VC Code)

#

this should probably be the workspace

#

or maybe including src part

#

idk

somber rune
#

How do i correct the workspace , if thats the case?

delicate wren
#

File -> Open Folder

#

Yuu sleeps

delicate wren
#

it wasn;t

#

I've been to university for 4 months

#

at some I should publish almost everything I have onto GitHub
200 repos in one day challenge

#

though I'd have to refactor it all to make it publishable

delicate wren
delicate wren
#

I'd rather not risk running others' code at all

#

not my thing if it's not libraries

#

just WASI it

#

WASM but like Docker

#

for back-end

#

starting when 01:00

#

IQ tests are garbage generally

#

I doubt I can optimise it without some wild data structures

#

@misty sinew new might appear

#

apappleple

delicate wren
#

?

#

@crystal aurora I understand but that doesn't improve time complexity

#

asymptotic rather

#

this problem has two forms to solution

#

"replace while there is something to replace"
"replace while replace changes anything"

#

@crystal aurora you compare length, right?

#

how do you check if it changed?

#

do you compare strings or lengths?

#

it won't when lengths are equal

#

you can compare lengths and be sure

misty sinew
#

new link?

delicate wren
#

previous I coded as well as necessary

#

will start when timer hits 3:30

#

I could've done better

#

in terms of code quality

#

now I'll spend time rewriting it

#

to differentiate them between each other

#

โ„– is from Cyrillic layout though

#

you didn't tie, you lost by less than a second

#

"I don't have IQ, that's a benefit, I guess"

#

Farzin scamming people with false hints

#

@misty sinew you forgot capital letters

north nacelle
#

submitting it got busy somewhere

delicate wren
#

"ChatGPT fucked up" is a normal ChatGPT behaviour

#

selection bias

#

it's good at it

misty sinew
iron shadow
#

Why can't I talk?
I am the brother of Hakimi remember? I can provide a certificate

coarse hearthBOT
#
Voice verification

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

delicate wren
#

!e

def f():
    return
    yield

print(list(f()))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

[]
misty sinew
#

this conversation demonstrates why people voted for Donald Trump.

delicate wren
misty sinew
#

words matter

delicate wren
#

!e

def f():
    return "something"
    yield

print(next(f()))
coarse hearthBOT
#

@delicate wren :x: Your 3.11 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 5, in <module>
003 |     print(next(f()))
004 |           ^^^^^^^^^
005 | StopIteration: something
delicate wren
#

this is where it shows up

#

I wonder

delicate wren
# delicate wren I wonder

!e

def f():
    return "something"
    yield

g = f()
try:
    print(next(g))
except StopIteration as e:
    print(repr(e))
try:
    print(next(g))
except StopIteration as e:
    print(repr(e))
coarse hearthBOT
#

@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | StopIteration('something')
002 | StopIteration()
delicate wren
#

oh, wow

#

it actually does what makes sense

#

can hear

#

!e

def f():
    yield "A"
    return "B"
g = f()
print(g.send(None))
print(g.send(None))
coarse hearthBOT
#

@delicate wren :x: Your 3.11 eval job has completed with return code 1.

001 | A
002 | Traceback (most recent call last):
003 |   File "/home/main.py", line 6, in <module>
004 |     print(g.send(None))
005 |           ^^^^^^^^^^^^
006 | StopIteration: B
delicate wren
#

if it's yielded, it's returned

#

if it's returned, it's raised with StopIteration

#

if StopIteration is raised, it raises RuntimeError

#

chain of translation of concepts

misty sinew
#

@misty sinew You have been assigned to mandatory sensitivity training and social media re-education.

sinful elm
#

@tame sequoia i disagree with ur previous statements though my opinion doesnt matter much

#

the babies statement one, it doesnt just make sense and hurts feelings to some extent

#

yeh lmao

misty sinew
#

Intellectual disability (ID), also known as general learning disability in the United Kingdom and formerly mental retardation, is a generalized neurodevelopmental disorder characterized by significantly impaired intellectual and adaptive functioning. It is defined by an IQ under 70, in addition to deficits in two or more adaptive behaviors that ...

#

@terse osprey

delicate wren
#

are y'all still going on with your accelerationism?

terse osprey
#

idk, they're really on some weird political stuff

delicate wren
terse osprey
#

it's been suggested a few times

misty sinew
sinful elm
#

@misty sinew i just found out that in the coming future words like 'challenged' or 'slower' could become offensive as well .....to which you were referring to earlier

#

kinda absurd right?

#

m not blaming you

#

m just talking about it

#

i agree with you here

misty sinew
#

Intentionality fallacy โ€“ the insistence that the ultimate meaning of an expression must be consistent with the intention of the person from whom the communication originated.

delicate wren
coarse hearthBOT
sinful elm
#

as far as i am concerned

delicate wren
sinful elm
delicate wren
sinful elm
#

i gave it a go

#

seems normal to me sire:]

delicate wren
sinful elm
#

if i am violating any rules (which idts)then please do ping me with the rule number mentioned ty

sinful elm
delicate wren
sinful elm
#

nutrition without meat? hmm sounds inetresting

random minnow
terse osprey
charred dawn
#

not funny

#

out you go

delicate wren
#
def example():
    a = 1
    b = 2
    return lambda: a
#

stack frame, bounding a and return also includes b

#

or if it was function-scope-wise

#

if you already store data mostly on the heap, it might be cheaper to RC the closure

midnight depot
#

A
002 | Traceback (most recent call last):
003 | File "/home/main.py", line 6, in <module>
004 | print(g.send(None))
005 | ^^^^^^^^^^^^
006 | StopIteration: B

delicate wren
#

I'm actively losing the seasonal ranking

#

I was top7

#

I'm top82 now

delicate wren
#

p7
it looks wrong

#

oh

#

ik

#

i saw that

#

tail recursion is a reward of its own?

#

oh

#

.xkcd 1270

ocean orbitBOT
#

Functional programming combines the flexibility and power of abstract mathematics with the intuitive clarity of abstract mathematics.

pale pivot
#

"nope" not "no-op"

delicate wren
#

nooฬˆp

north nacelle
#

I have never built a language on my own , will this book help? crafting interpreters one

delicate wren
pale pivot
#

!e

def foo(n, l):
  if n == 0: return
  l.append(n)
  foo(n-1, l)
res = []
foo(10, res)
print(res)
coarse hearthBOT
#

@pale pivot :white_check_mark: Your 3.11 eval job has completed with return code 0.

[10, 9, 8, 7, 6, 5, 4, 3, 2, 1]
pale pivot
#

no return, not pure

#

by any definition, it literally mutates state

#

what's your definition of pure?

#

returned value of the subcall
there is none

#

(a function that either returns a value) or a "pure*" call to itself

  • returned value of the subcall gets directly returned by the calling thing
    ...

(a function that either returns a value) or (returned value of the subcall gets directly returned)
both of your clauses require a return value

#

"accidentally equal to" lmao

#

in reality the condition is just that you don't need the state of the current function after the recursive call is made

#

my whole point is your insistence on returning

#

you don't need to return the value of the subcall

#

you just need to make sure the recursive call is the last thing you do

delicate wren
#

actual valid example of not returning if you want one

fn f() -> ! {
    f();
}

not these

fn f() -> ! {
    f()
}
fn f() -> () {
    f();
}
fn f() -> () {
    f()
}

(will not delete because this is the first message in this discussion, to which any of the parties involved applied any intelligent thought)

pale pivot
#

wow you really don't like being called out on a technicality, do you?

delicate wren
delicate wren
#

nvm I'll find better stuff to do

ruby island
mild flume
#

!charinfo |

coarse hearthBOT
mild flume
stuck bluff
#

This image satisfies me.

marble sonnet
#

cgv

signal pasture
#

!voice no canal

coarse hearthBOT
#
Voice verification

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

north nacelle
#

.snake card

ocean orbitBOT
#

A wild Lycodon Capucinus appears!

lilac wedge
#

bro im ki

#

hello can u see my chat

#

@crystal aurora

#

im in vc

#

yo

#

i have some question actually

#

like im kinda new

#

sorry i was afk

#

also as i was saying man

#

how do u make those ui with python

#

yeah

#

oh

#

im like in the biginner phase

#

also you are not sharings creen

#

ALRIGHT

#

IS IT LIKE a real website?

#

taught it was just a game

#

LOL

#

heh

#

i dont really know

#

i was following tutorial

mild flume
#
def my_function(x):
  if x == 0:
    return x
  else:
    return x + my_function(x - 1)

result = my_function(4)
print(result)
#

Okay so looking at it here, let's walk through it manually, since that's really the only way to get recursion at first

#

We call my_function with the argument 4 which gets assigned to x. So it goes through the if statement, sees that x != 0, then goes to the else. We're then left with

return x + my_function(x - 1)
# or in this case
return 4 + my_function(3)
#

@ripe acorn with me so far?

ripe acorn
#

just a second just analysing ur prev texts

mild flume
#

Take your time, and don't hesitate to ask questions

ripe acorn
#

Ok got it, next

mild flume
#

So the next thing we do is run my_function(3)

ripe acorn
#

wait is it necessary to be in the vc?

mild flume
#

Nah, you're good

#

I'm happy to explain in chat

ripe acorn
#

Okay thnx

ripe acorn
mild flume
#

We go through the same chain, see that x isn't 0, then we get to:

return x + my_function(x-1)
# so
return 3 + my_function(2)

If we look through the whole thing now, we can think of it as:

return 4 + (3 + my_function(2))
#

We keep running it over and over until we end up at the base condition, the x == 0

ripe acorn
mild flume
#

Bingo

ripe acorn
#

Oh so it's gonna just print 0?

#

Ok no nvm

mild flume
#

Nope, it'll print the 10. Because we're returning back to each level

#
return 4 + (3 + (2 + (1 + (0))))
#

The important part is the base condition. That's the key part that makes recursion work

ripe acorn
#

Thank you understood it!

mild flume
#

We have to have a point where we say "Okay, we can't change this anymore, it can't go any lower, etc."

#

Cool cool

#

Glad I can help! Recursion is tricky, it takes some getting used to

mild flume
#

But the key is just taking your time and stepping through it

ripe acorn
mild flume
#

If you need any more help just let me know

#

Happy to do it

lean zinc
#

Hey

#

I need a bit of help with ML

#

pandas to be particular

ripe acorn
mild flume
copper marsh
#

my firt code


n2 = float(input('second number: '))

s = (n1 + n2)

print(f'The operation is {s}')```
hollow meteor
inland adder
#

hi

blazing garnet
inland adder
#

@blazing garnet hi

mellow dune
#

I can't open a file in my script, it puts me like thisยฒยฒFileNotFoundError: [Errno 2] No such file or directory:

quaint cape
#

pretty cool

sly pond
#

That was quite some time ago

north nacelle
true valley
north nacelle
misty sinew
#

tyo

#

damn

#

i cant even speak

#

sword ani looks cool to me as well

#

agreeed

#

@digital cradle it took you 1 year to learn how to make that? or it took a year to craft it over time

#

ohh

#

touch bar intergration whattttttt

#

an AI LMFAOOOO

#

wtf

#

bitcoin minr uhohh

#

@primal quarry let me make some connections ๐Ÿ™

#

ik there is other programming servers

#

i js cant find any others but here

#

and programmer hangout

#

and people to make friends with because im really trying to learn python

#

oh okay i joined here yesterday

delicate wren
#

there is Rust Community server

misty sinew
#

ye i got a lil plan

#

like

#

python, to JS to SQL

delicate wren
#

what is the issue?

#

other Google APIs might have their own dedicated packages
though, I think, Google focuses more on support for JS/golang rather than Python

shrewd widget
terse osprey
#

127.0.0.1

#

127.0.0.1:8077/index.php

umbral rose
#

!paste

coarse hearthBOT
#
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.

ember snow
#

I didn't know about that

mild flume
#

!stream 380636940078284800

coarse hearthBOT
#

โœ… @bitter raptor can now stream until <t:1682617864:f>.

mild flume
#

@chrome stratus Talk in here so you can get your message count up

#

So what's wrong with the macro?

#

One sec, restarting my rig

chrome stratus
mild flume
#

Which game?

chrome stratus
#

minecraft

chrome stratus
# mild flume Which game?

import pyautogui
#print(pyautogui.size())
pyautogui.moveTo(900, 302,)

pyautogui.click(900 , 302, button='left')
pyautogui.keyDown("D")
pyautogui.mouseDown(995, 490, button='left') that is what i currently got

mild flume
chrome stratus
#

so i should use auto hotkey?

mild flume
#

That's what I'd recommend

stuck bluff
#

I'm given to understand it was originally written to service naval vessels.

#

So does spinach.

unique raptor
mild flume
#

I..... what?

stuck bluff
#

Ah, yes. Foosball. An essential component of any first-aid course.

mild flume
#

Teaches how to be nimble

stuck bluff
#

The spray bottle.

#

SST!

#

"No! Bad! Don't you dare have a heart attack in my classroom."

unique raptor
warm vessel
#

Hello guys! I need some help! How could I use python to ask chatgpt a question and scrape the answear?

raven orbit
misty sinew
#

๐Ÿ™ƒ

warm vessel
#

the api doesnt work for me

#

since is not free anymore

#

and I do not want to pay for it

#

Can I maybe use something else?

#

No..not avoiding payings

misty sinew
#

Look for a free alternative

warm vessel
#

Maybe should I build a model?

#

I have a really good pc, dont worry

young saffron
#

@mild flume sorry, what were you messing up with on that class instance again? you were using a dictionary function to read it and were explaining the reason as to why a parameter had a bunch of numbers on it

warm vessel
#

So I basically want to use ai to give me a different product everyday then give me a short description of it and the price, thats all, nothing hard

mild flume
#

!e

print(int.__dict__)
coarse hearthBOT
#

@mild flume :white_check_mark: Your 3.11 eval job has completed with return code 0.

{'__new__': <built-in method __new__ of type object at 0x7fd957b139a0>, '__repr__': <slot wrapper '__repr__' of 'int' objects>, '__hash__': <slot wrapper '__hash__' of 'int' objects>, '__getattribute__': <slot wrapper '__getattribute__' of 'int' objects>, '__lt__': <slot wrapper '__lt__' of 'int' objects>, '__le__': <slot wrapper '__le__' of 'int' objects>, '__eq__': <slot wrapper '__eq__' of 'int' objects>, '__ne__': <slot wrapper '__ne__' of 'int' objects>, '__gt__': <slot wrapper '__gt__' of 'int' objects>, '__ge__': <slot wrapper '__ge__' of 'int' objects>, '__add__': <slot wrapper '__add__' of 'int' objects>, '__radd__': <slot wrapper '__radd__' of 'int' objects>, '__sub__': <slot wrapper '__sub__' of 'int' objects>, '__rsub__': <slot wrapper '__rsub__' of 'int' objects>, '__mul__': <slot wrapper '__mul__' of 'int' objects>, '__rmul__': <slot wrapper '__rmul__' of 'int' objects>, '__mod__': <slot wrapper '__mod__' of 'int' objects>, '__rmod__': <slot wrapper '__rmod__' of 'int' ob
... (truncated - too long)

Full output: https://paste.pythondiscord.com/sulejakati.txt?noredirect

warm vessel
#

Sorry I might misspell some words since I am eating a yogourt with rice in it and even tho it is healthy it tastes so bad

mild flume
#

All good

warm vessel
#

does instagram still allow automate posts using python?

#

The internet says it might not but I would understand why..

mild flume
#

That I'm not sure. I thought they closed their public facing API

rotund granite
#

hello

warm vessel
#

hmm...I should have looked that up before starting to work on my new idea which is actually based on it oh..

rotund granite
#

am i now allowed to talk or i will be like.....interrupting

mild flume
rotund granite
mild flume
#

I know

warm vessel
rotund granite
#

i dont want to risk get banned of this server

warm vessel
#

no one will ban you just because you wanted to join the conversation

raven orbit
#

Schin op Geul

warm vessel
#

if you are listening and want to join by saying smth meaningful you can do it

mild flume
#

When people bull rush into a room, talk over everyone, continue to talk over everyone after being asked to not...

#

Yeah that ends up getting old

warm vessel
#

Honestly this is such a quality server and getting ban on it would be a shame..

mild flume
#

I appreciate that a lot

rotund granite
mild flume
#

I'm not going to ban unless I have to

rotund granite
#

yes i understand

misty sinew
#

I have a pretty high metabolism. I canโ€™t really gain much weight. Iโ€™m stuck at 165

warm vessel
#

So has anyone tried and used the Open assistent? Basically the alternative of ChatGPT?
I am watching a vid now and I wanted to get some reviews

mild flume
#

Hadn't even heard of it

rotund granite
warm vessel
rotund granite
#

it completeley local free

warm vessel
rotund granite
warm vessel
#

I am barely 130

raven orbit
#

but you're probably also shorter than me

rotund granite
#

no offense

raven orbit
warm vessel
#

but I am also 167cm and just 14 years old(52 kgs)

rotund granite
raven orbit
#

yeah I'm 192 cm

rotund granite
#

i misheard๐Ÿ’€

warm vessel
rotund granite
#

wait you talking in pound or kg

raven orbit
#

a mix

#

I'm 192 cm and 64 kg

rotund granite
#

well im a literal stickman

warm vessel
rotund granite
#

im almost 32 kg ๐Ÿ’€

raven orbit
warm vessel
rotund granite
warm vessel
#

I go to the gym so thats why i am considered skinny and I need to gain weight

rotund granite
warm vessel
rotund granite
#

im treated as a kid here

raven orbit
rotund granite
warm vessel
#

69-64=5

raven orbit
#

^

warm vessel
#

thats why this server doesnt really want 14 year olds in it haha

rotund granite
warm vessel
#

TF

rotund granite
#

better than stackoverflow

mild flume
rotund granite
#

for me

mild flume
#

We want anyone who wants to learn the language

warm vessel
#

Speaking of which, tomorrow I have a math contest

rotund granite
warm vessel
# mild flume We want anyone who wants to learn the language

Ye, tbh everyone has been very polite with me since I got here, even tho I got here when I was just 13 and was probably not really great at programming and not really knowing what I was talking about( not saying that now I am more elevated tho)

rotund granite
#

is it ok to say opinions here or it will be like a twitter thread

warm vessel
#

Whats the max amount of people that this server can have @mild flume

#

Parce-que @unique raptor ?

mild flume
#

The server proper or the voice channel

warm vessel
#

Je ne suis pas franรงais @unique raptor I just speak more languages

warm vessel
mild flume
#

No idea. Pretty much when you start approaching certain amounts you have to give Discord a holler to make sure they adjust it to accommodate the additional users. Or something. Not 100% sure

warm vessel
#

How could I get more roles on this server?

mild flume
#

We have details on the various #roles you can have. Most of them are staff related

warm vessel
#

I am gonna have to wish you all a good night since my wrist watch is indicating the midnight

#

@raven orbit are you autistic and color blinded?

raven orbit
#

yes

mild flume
#

Sleep well

warm vessel
# raven orbit yes

How do you identify yourself as an autistic as you dont mind? i just think you are very normal

raven orbit
#

I don't "identify myself" as such.

#

I was diagnosed as such.

warm vessel
#

Oh f meds honestly

raven orbit
#

I don't take meds.

warm vessel
#

I meant doctors

#

and their diagnosies

raven orbit
#

and just how do you think you can judge if someone is normal through a voice chat?

warm vessel
#

But it is known that autistic people have special abilities as well

raven orbit
#

autistic people are highly overrepresented in programming

#

both in hobby areas and in the industry

warm vessel
#

I just think that autistic people are like normal people as well, I dont really make differences between people

#

of almost any kind

#

And I also think there might be a lot of autisitic people without even knowing they are

#

I think this is a really common scenario

#

alright, take care people!

#

why do you always keep telling him that he is jewish @unique raptor

unique raptor
#

because he has dementia

raven orbit
unique raptor
#

๐Ÿค“

raven orbit
#

maybe he has dementia

#

wus-ter-sher sauce

#

the city is called worcester and pronounced wus-ter
the shire is called worcestershire and pronounced wus-ter-sher
the sauce is called worcestershire sauce and pronounced wus-ter-sher sors

#

@rotund granite

#

you also have
gloucester, pronounced glos-ter
gloucestershire, pronounced glos-ter-sher
leicester, pronounced Les-ter
leicestershire, pronounced Les-ter-sher
bicester, pronounced bi-ster

#

marylebone, pronounced mar-lee-bun

#

hunstanton, pronounced hun-ston

rotund granite
#

!v mute

chrome stratus
#

okay

#

okay

#

okay

#

its time

#

for what

#

i do not know

north nacelle
#

which game you guys are talking about?

stuck bluff
#

@idle crystal @lament badge ๐Ÿ‘‹

lament badge
#

yo!

stuck bluff
#

@raven mantle Down here. ๐Ÿ™‚

raven mantle
#

hey

stuck bluff
#

Yahoy.

raven mantle
#

how are you

stuck bluff
#

Crotchety.

indigo nacelle
#

hello

raven mantle
#

hey

stuck bluff
#

@unreal bison ๐Ÿ‘‹

unreal bison
#

hi

indigo nacelle
#

def press(num):

#

sorry

unreal bison
#

what

#

xD

raven mantle
#

how was everyone's day

indigo nacelle
#

def press(num):
global expression
expression = expression + str(num)
equation.set(expression)

unreal bison
#

fine, learning python today for the first in my life

indigo nacelle
#

can anyone explain this?

raven mantle
raven mantle
indigo nacelle
true valley
#

Good night ๐Ÿ˜ญ ๐Ÿ‘‹

indigo nacelle
#

good morning?

true valley
#

True

unreal bison
indigo nacelle
#

cant understand the function.

indigo nacelle
raven mantle
#

sorry neither can i, all i know is it is doing math.

unreal bison
#

like a minute ago xD

indigo nacelle
#

thank you.

raven mantle
raven mantle
indigo nacelle
#

Jackpot!

raven mantle
#

you get it?

indigo nacelle
#

def press(num) is a function that concatenates the number passed to it as a string to the expression variable and updates the text displayed in the text entry box accordingly.

unreal bison
indigo nacelle
unreal bison
raven mantle
indigo nacelle
unreal bison
raven mantle
#

youtube

#

search tutorials

unreal bison
#

but as i already how to code with c++ im just trying to figure out things that i do in c++ in python xD

raven mantle
#

it sounds silly but it works

indigo nacelle
#

well, good luck learning!

unreal bison
raven mantle
indigo nacelle
unreal bison
#

really? i dont see they are that different

raven mantle
#

they are similar languages, relative to like lua or somthing

raven mantle
unreal bison
raven mantle
#

my friend tried to force me to learn lua so I could make roblox games with him

indigo nacelle
#

Python supports garbage collection. C++ doesnโ€™t support garbage collection, but it can be implemented.

indigo nacelle
unreal bison
raven mantle
#

good night everyone, have a good rest of your days

unreal bison
unreal bison
indigo nacelle
#

good night , I guess?

unreal bison
indigo nacelle
#

y'know it morning here

#

10:42 A.M

unreal bison
#

here 1:12AM

indigo nacelle
unreal bison
#

a batman

#

today is sabado, so everything is okay

#

sunday

indigo nacelle
indigo nacelle
unreal bison
#

how

#

no

indigo nacelle
#

yes its saturday here

unreal bison
#

i was wrong

indigo nacelle
#

india

unreal bison
#

im bad at english

#

its saturday here

#

i thought sunday=sabado

indigo nacelle
unreal bison
#

but i guess sunday is lunes

#

yes is lunes

indigo nacelle
#

portugese?

unreal bison
#

ok im just bad at dates

unreal bison
indigo nacelle
#

ooooh

#

ok

#

And I'm bad at languages๐Ÿ˜…

unreal bison
#

what do you think about the AI to help you code

indigo nacelle
#

also you need basic understanding of python code for you ti understand

unreal bison
indigo nacelle
#

and it only teaches the basics if you ask

unreal bison
#

i dont use it with python because i dont know a thing about python

unreal bison
#

its pretty good, but i notice that if its too advanced it will do a lot of mistakes

indigo nacelle
#

you also need a code before hand

#

to ask doubts and for you to get explanations.

#

I hope you find my opinion helpful! and it's your option!

unreal bison
#

of course that its helpful

indigo nacelle
#

\enjoy learning!

#

@unreal bisongood luck on your future projects!

unreal bison
indigo nacelle
#

gofek?

#

ayo?

#

ok

lament hazel
#

Yo whatsup?

lilac wedge
#

yeah

#

hello

#

YEAH VERshae?

#

is it versh

#

bruh can you see my chat @sterile flax

sterile flax
#

no

#

try chatting harder ig

lilac wedge
#

QUALITY

#

lol

#

YEAH

#

making them overpriced

#

thats why people always want them

#

wwait

#

you dont have ajob?

#

SHE A BDDIE

#

am botta get banedAHHHHH

#

yo also

umbral rose
nimble cosmos
#

parser

quaint cape
indigo nacelle
#

I have a doubt

#

what is tkinter?

#

and tkinter.messagebox

outer reef
#

Yโ€™a des fr ?

stuck bluff
#

@junior totem ๐Ÿ‘‹

stuck bluff
#

@dark swan ๐Ÿ‘‹

#

@misty sinew ๐Ÿ‘‹

#

@elder oxide ๐Ÿ‘‹

dapper valley
#

Hi all
I'm trying to build something similar to profilepicture.ai
Can someone please connect with me? I need a little help?

delicate wren
#

such a weirdly laid out diagram

#

here the equivalent of school finals isn't necessary linked to a school

#

also some teachers are required to take those exams themselves every year

#

"indirectly bullying someone into resignation" plan

true valley
delicate wren
#

I re-joined at some point

#

there do exist good free courses for ML (with somewhat respected certification if you meet some "successfully passed" threshold)
but the only one I took isn't in English

delicate wren
delicate wren
delicate wren
#

!rule 5 @fading totem

coarse hearthBOT
#

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

delicate wren
#

... for reasons

plucky creek
#

Hemlock Im banned?

stuck bluff
#

@devout sedge ๐Ÿ‘‹

devout sedge
#

hi

stuck bluff
#

@wispy flare ๐Ÿ‘‹

wispy flare
frosty scarab
#

hello

stuck bluff
#

@verbal minnow ๐Ÿ‘‹

frosty scarab
#

i think he was trolling

#

i thing i not for sure surten

verbal minnow
#

๐Ÿ‘‹๐Ÿ‘‹

frosty scarab
#

ye i dont mid to write

#

i need a hand

#

i did a lesson whit python and i cant understand time date command

#

yes

stuck bluff
#

!d datetime

coarse hearthBOT
#

Source code: Lib/datetime.py

The datetime module supplies classes for manipulating dates and times.

While date and time arithmetic is supported, the focus of the implementation is on efficient attribute extraction for output formatting and manipulation.

frosty scarab
#

idk that

#

how to use it

stuck bluff
#

!e py import datetime now = datetime.datetime.now() print(now)

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

2023-05-04 19:36:04.245030
frosty scarab
#

so the format is -%d -%m -%Y?

stuck bluff
frosty scarab
#

you save me

#

dont worry you alredy help me a lot

#

how do i get verified to speck to the chats do i need to send some id

#

?

#

hooo

#

okay

#

but dose this count

#

yee i think this is one of the best approce

#

ye but i hate the people who mic spam

#

they called kids

#

well ye it better that way becouse i got a bad mic on my lpatop

#

maibey the create a discord bot

#

no

#

maybe the person who blow in the mic created ca discon bot that send text evry 5 min to bypass the mute and start mic spamming

#

well ye

#

well it easy whit chatgtp

delicate wren
frosty scarab
#

is not magic

#

well it correct my gramma code

delicate wren
frosty scarab
#

i use it for example

#

for use

#

how to i inserc my personal code

delicate wren
#

!code

coarse hearthBOT
#
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.

frosty scarab
#

'''hell'''

#

i got a it keyboard

delicate wren
#

`, not '

#

usually same key as ~

frosty scarab
#

HELLO

#

YEEE

ashen flame
#

โ€˜โ€™Testโ€™โ€™

fair sundial
#

@stuck bluff hi

#

Are you good at math?

#

Simplifying square roots.

#

Lol

#

no

#

this is studying

#

LOL

#

@fierce void

#

I don't they see this chat.

#

I'm just confused how this works.

#

Ok hold up let me show you like what I have so far.

#

omg

#

Phone

#

being stupid

#

ok, uploading

#

I just don't understand how it's combined. I get the factoring.

#

@fierce void

#

I'm a coder not a mathematician. ๐Ÿ˜ญ

#

Wha?

fair sundial
#

yes

#

how did it get to 6 | 3

#

I'm just wondering if the last 3

#

comes from the remainer

#

at the 3 * [3]

#

2^2 * 3^2 * [3]

#

um

#

lets say

#

144

#

AI:


To simplify the square root of 144, we can follow the steps:

Factor 144: 144 = 2 x 2 x 2 x 2 x 3 x 3.
Identify the perfect square factors: 2 x 2 x 2 x 2 = (2 x 2)^2 = 16, and 3 x 3 = 3^2 = 9.
Take the square root of 16 and 9, and move them outside the radical: sqrt(16) = 4, and sqrt(9) = 3, so sqrt(144) = 4 x 3 = 12.
There are no remaining factors inside the radical sign that can be simplified further.
Therefore, the square root of 144 simplifies to 12
#

So

#

lemme do that by hand and see if it matches.

misty sinew
#

duded its so funny listening to both of u yall so confused

stuck bluff
#

@barren steppe Butterscotch schnapps, Bailey's Irish Cream

stuck bluff
#

@misty sinew ๐Ÿ‘‹

frosty scarab
#

hello

misty sinew
#

Hello

frosty scarab
#

what are you up too opalnist?

#

welcome back

#

i makeing some program to practise

stuck bluff
#

@blissful fossil๐Ÿ‘‹

blissful fossil
#

hi

#

why cant i speak

stuck bluff
#

!voice

coarse hearthBOT
#
Voice verification

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

frosty scarab
#

hahahaha

blissful fossil
#

yo thats so annoying tasks

#

okkk

#

so i need whole day

stuck bluff
#

@turbid silo ๐Ÿ‘‹

blissful fossil
#

what are we talking bout?

#

sorry just restarted accidently

turbid silo
#

oh cool ))

stuck bluff
turbid silo
#

I am more interested in talking how AI and data science will effect our general lives

turbid silo
stuck bluff
#

@misty sinew๐Ÿ‘‹

turbid silo
#

oh yeah makes sense

#

I can give one

#

print(print())

stuck bluff
#

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

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

001 | Hello, world.
002 | None
turbid silo
#

Nonetype itself is a class

#

yeah

#

I don't his question tbh

#

can you give a code example or smth ?

#

Thank you

stuck bluff
#

@compact jay๐Ÿ‘‹

turbid silo
#

btw this had me puzzled to this day : print(print()) , will give an op : None

#

the above code will print space and then None

#

why is that ?

stuck bluff
#

!print-return

coarse hearthBOT
#
Print and return

Here's a handy animation demonstrating how print and return differ in behavior.

See also: /tag return

turbid silo
#

yeah print() returns None

stuck bluff
#

!e ```py
def func():
pass

print(func())```

coarse hearthBOT
#

@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.

None
turbid silo
#

Yeah got it @stuck bluff

#

hey what y'll think of these LLM's in the market ?

#

yeah

#

things like that

#

ppl who belive that it will replace coding jobs , I feel they don't have any idea what they are talking about !!

#

yeah that'

#

anoying

#

tbh I have seen exact same answers from stackoverflow given as a res from gpt

#

they have trained all that qna type of thing on stackoverflow , I have seen exact same answers given by ppl on stackoverflow

#

Trickster pithink

#

is everyone comfy If I can ask some questions related to ML pipe line and stuff ?

stuck bluff
#

ANSI control sequence.

#

Colorama

turbid silo
#

oh cooL )

#

are you @stuck bluff into cs stuff ?

#

btw I m to this discord world , so i have couple of questions

#

when I join a voice chat , should I verify that I am not a bot to speak or how it is ?

#

!voice

coarse hearthBOT
#
Voice verification

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

turbid silo
#

You must meet all of the following criteria before you can speak in voice channels:
โ€ข Have over 50 messages in the server.

#

No should I have 50 messages spammed ? ))

#

lol

#

๐Ÿ˜‚

frosty scarab
#

well ye you can great people

turbid silo
#

I wonder what would happen if ww3 happens and it's a nuke one

#

all these tech jobs ? ๐Ÿ˜‚

#

I doing trying to text 50 messages

#

here

#

what keyboard you have ?"

#

does any one has any idea about string theory

warped hornet
#

yes

frosty scarab
#

well if it happen all the tech jobs will scar rocket