#voice-chat-text-0

1 messages ยท Page 355 of 1

vocal basin
#

I remembered why first isn't a thing

#

so that there is explicitly no equivalent of last

#

first, if symmetric, would mean doing
next_back repeatedly until it's empty

#

are values treated as Iterator or IntoIterator?

verbal zenith
#

Iterator

#

intoiterator implies consumption does it not?

sweet sorrel
#

init.py

from .vote_commands import register_vote_commands
from .moderator_commands import register_moderator_commands
from .creator_commands import register_creator_commands
from .ping import register_ping_commands
from .chat_commands import register_chat_commands
from .chat_commands import register_chat_commands

def register_commands(bot):
register_vote_commands(bot)
register_moderator_commands(bot)
register_creator_commands(bot)
register_ping_commands(bot)
register_chat_commands(bot)

#

def setup(bot):
bot.add_cog(RoleManagement(bot))

vocal basin
#

missing async on setup
missing await on add_cog

#

why do you have from .chat_commands import register_chat_commands twice

#

it does not matter

#

but still

#

unrelated

#

it does not influence the runtime

#

yes

#

only re-assigns

#

!e

def f():
    yield 1
    yield 2
    yield 3

assert 2 in f()
assert 4 not in f()
wise cargoBOT
vocal basin
#

!e

def f():
    yield 1
    yield 2
    yield 3

assert 1 not in f()
wise cargoBOT
vocal basin
#

in works on generators

#

it will do a different error I think

#

!e

def f():
    yield 1
    yield 2
    yield 3

x = f()
assert 2 in x
assert 3 in x
assert 1 not in x
wise cargoBOT
vocal basin
#

hmm

#

nvm seems to work

#

does not destroy the thing

#

!e

def f():
    yield 1
    yield 2
    yield 3

x = f()
assert 4 not in x
assert 4 not in x
wise cargoBOT
vocal basin
#

!e

def f():
    yield
x = f()
next(x)
try: next(x)
except: pass
try: next(x)
except: pass
wise cargoBOT
vocal basin
#

wait no

#

!e

def f():
    yield
x = f()
next(x)
try: next(x)
except StopIteration: pass
try: next(x)
except StopIteration: pass
wise cargoBOT
vocal basin
#

!e

def f():
    yield 1
    yield 2
    yield 3

x = f()
assert 2 in x
print(*x)
wise cargoBOT
vocal basin
#

!e

def f():
    yield 1
    yield 2
    yield 3

x = f()
assert 3 in x
print(*x)
wise cargoBOT
vocal basin
#

!e

def f():
    yield 1
    yield 2
    yield 3

x = f()
assert 4 not in x
print(*x)
wise cargoBOT
vocal basin
#

those panic if you ask for a next item after return

#

(includes polling async fn/async {} futures after they're done)

#

missing comma => infringes on Oracle's intellectual property

verbal zenith
#

print(*iter("Hello world!"), sep="")

vocal basin
#

!e

print(*iter("Hello world!"), sep="")
wise cargoBOT
vocal basin
#

python even allows customising match behaviour

#

the same way you do iterators ig

#

just get next until it mismatches or aligns

#

too few/too many => error

#

that's what python does

#

and then recurse if patterns are nested

#

a, *b, c

#

call next for a

#

put everything in b

#

then take from the back of b

#

and have an optimisation for when the right side is a double-ended iterator

#

next_back directly into c

#

and then also, if you know the length, you can pre-allocate b of the correct size

#

depending on how much you trust the length, you can do an optimisation for parsing c:
as soon as b runs out by length, switch to next'ing for c

verbal zenith
#

but then b still needs to be resized

vocal basin
#

error if the length isn't what it's promised to be

#

or resize, yes

#

"depending on how much you trust the length"

#

jims really should talk to 4984

#

@hallow warren you can further reduce that to 3-SAT

#

and then into a graph colouring problem

#

and now cryptobros are willing to invest into your stupid 0KP startup

#

sounds like a business plan

#

3-SAT is actually quite fun to convert to from arithmetic and other schemes

whole bear
hallow warren
vocal basin
whole bear
#
#include <iostream>
int main(){std::cout << "Hello worlds\n";return 0;}
hallow warren
#

#include <iostream>

int main()
{
std::cout << "Hello world\n"; // Using '\n' instead of std::endl to avoid unnecessary buffer flushing
return 0;
}

vocal basin
#

implicit return 0; is part of the standard and, under some configuration, doesn't get warned against

#

though that might be in C

whole bear
#

.

hallow warren
#

...

whole bear
#

...

hallow warren
#

..

whole bear
#

..

hallow warren
#

. . .. ... ..... ........ ?

whole bear
#

. .. . ... .. ... .. .. .. ... ?

#

it says -2+2=5 which is false
we can prove this because
-2 and 0 have a differential of -2
2 and 0 have a differential of 2
since -2 and +2 are of same value when looked at in modelus, for example |-2| = |2|
we can say that the only difference is the sign (+ and -)
proven by the axiom of
๐’ฑโ‚ = -2
๐’ฑโ‚‚ = +2
|๐’ฑโ‚| = |๐’ฑโ‚‚|
sooooo
basicly they are equal
further proving it by the axiom of:
โˆ“๐’ฉ+๐’ฉ = ๐Ÿ˜
SOOOO
Now we know that -2+2 is 0
now what we are given is โˆ“๐’ฉ+๐’ฉโ‰ 5
SOOO
Now we can prove that if ๐’ฉ=2 and the result is 5, using the formula we should be able to have a difference of ๐•’๐•Ÿ๐•ค-0=0 when applying the formula โจ(๐“ƒ) = โˆ“๐“ƒ+๐“ƒ, so โจ(2) should be 0, so if ฤต = โจ(2) then ฮ”ฤต = 0, ฮ”ฤต - ฤต should be 0 but instead its 5!!!!
SO THE ANSWER IS WRONG
๐”“๐”ฏ๐”ฌ๐”ณ๐”ฆ๐”ซ๐”ค ๐”ฌ๐”ซ๐” ๐”ข ๐”ž๐”ซ๐”ก ๐”ฃ๐”ฌ๐”ฏ ๐”ž๐”ฉ๐”ฉ ๐”ฑ๐”ฅ๐”ž๐”ฑ -2+2 ๐”ก๐”ฌ๐”ข๐”ฐ ๐”ฆ๐”ซ๐”ก๐”ข๐”ข๐”ก, ๐”ฒ๐”ซ๐”ก๐”ข๐”ฏ ๐”ž๐”ซ๐”ถ ๐” ๐”ฆ๐”ฏ๐” ๐”ฒ๐”ช๐”ฐ๐”ฑ๐”ž๐”ซ๐” ๐”ข๐”ฐ ๐”ž๐”ซ๐”ก ๐”ฌ๐”ฒ๐”ฏ ๐” ๐”ฒ๐”ฏ๐”ฏ๐”ข๐”ซ๐”ฑ ๐”ฒ๐”ซ๐”ก๐”ข๐”ฏ๐”ฐ๐”ฑ๐”ž๐”ซ๐”ก๐”ฆ๐”ซ๐”ค ๐”ฌ๐”ฃ ๐”ช๐”ž๐”ฑ๐”ฅ๐”ข๐”ช๐”ž๐”ฑ๐”ฆ๐” ๐”ฐ, ๐”ก๐”ฌ๐”ข๐”ฐ ๐”ซ๐”ฌ๐”ฑ ๐”ข๐”ฎ๐”ฒ๐”ž๐”ฉ 5!

vocal basin
whole bear
#
@__import__("fishhook").hook(object)```
#

@vocal basin

#

WHAT is it

vocal basin
#

!pypi fishhook

wise cargoBOT
#

Allows for runtime hooking of static class functions

Released on <t:1712268639:D>.

whole bear
#

can I do @__import__("random")

vocal basin
#

!e

@__import__("contextlib").contextmanager
def ignore():
    try:
        yield
    except:
        "lmao"

with ignore():
    1 + "2"
wise cargoBOT
vocal basin
#

okay, now that I have finished making tea (priorities (!!)), time to get back to stdout discussion

#

!e

from subprocess import check_output
print(check_output(["echo", "test"]))
wise cargoBOT
# vocal basin !e ```py from subprocess import check_output print(check_output(["echo", "test"]...

:x: Your 3.12 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(check_output(["echo", "test"]))
004 |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
005 |   File "/lang/python/default/lib/python3.12/subprocess.py", line 466, in check_output
006 |     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
007 |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
008 |   File "/lang/python/default/lib/python3.12/subprocess.py", line 548, in run
009 |     with Popen(*popenargs, **kwargs) as process:
010 |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/6STQQAGAVO3CPEI7MNTVE5D3IE

vocal basin
#

great

#

!e

from subprocess import check_output
from system import executable

print(check_output([executable, "-c", "print(123)"]))
wise cargoBOT
vocal basin
#

it's named sys

#

!e

from subprocess import check_output
from sys import executable

print(check_output([executable, "-c", "print(123)"]))
wise cargoBOT
vocal basin
#

!e

from subprocess import check_output
from sys import executable

print(check_output([executable, "-c", "print(123, file=__import__('sys').stderr)"]))
wise cargoBOT
vocal basin
#

and now we make that into a test

whole bear
#

!e

@__import__("random")

print(random.randint())
wise cargoBOT
vocal basin
#

!e

from subprocess import check_output
from sys import executable

assert check_output([executable, "-c", "print(123)"]) == b"123\n"
assert check_output([executable, "-c", "print(123, file=__import__('sys').stderr)"]) == b""
wise cargoBOT
#

:x: Your 3.12 eval job has completed with return code 1.

001 |   File "/home/main.py", line 3
002 |     print("Hello world")
003 |     ^^^^^
004 | SyntaxError: invalid syntax
vocal basin
#

@ in Python is for decorators and __matmul__

whole bear
#

!e

@__import__("random")

print("Hello world")
wise cargoBOT
vocal basin
#

you're trying to apply it to a non-decoratable statement

wise cargoBOT
#

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     __import__("random");print(random.randint())
004 |                                ^^^^^^
005 | NameError: name 'random' is not defined. Did you forget to import 'random'?
vocal basin
#

!e

@lambda x: print(x)
def _():_
wise cargoBOT
whole bear
#

!e

__import__("random");print(random.randint())
wise cargoBOT
# whole bear !e ```py __import__("random");print(random.randint()) ```

:x: Your 3.12 eval job has completed with return code 1.

001 | Traceback (most recent call last):
002 |   File "/home/main.py", line 1, in <module>
003 |     __import__("random");print(random.randint())
004 |                                ^^^^^^
005 | NameError: name 'random' is not defined. Did you forget to import 'random'?
vocal basin
#

!e

@print
@__import__("operator").call
@__import__("operator").attrgetter("random")
@__import__
@__import__("operator").attrgetter("__name__")
def random():_
wise cargoBOT
vocal basin
#

is it roughly the type of weird code you're trying to make?

whole bear
#

I just thought that __import__("lib or smth") was a import method

#

was not sure

whole bear
vocal basin
#

!e

@print
@__import__("operator").methodcaller("randrange", 100)
@__import__
@__import__("operator").attrgetter("__name__")
def random():_
wise cargoBOT
vocal basin
whole bear
#

ok

#

I see

#

so what do the others do?

#

๐Ÿค”

vocal basin
#

!d operator.attrgetter

wise cargoBOT
#

operator.attrgetter(attr)``````py

operator.attrgetter(*attrs)```
Return a callable object that fetches *attr* from its operand. If more than one attribute is requested, returns a tuple of attributes. The attribute names can also contain dots. For example:

โ€ข After `f = attrgetter('name')`, the call `f(b)` returns `b.name`.

โ€ข After `f = attrgetter('name', 'date')`, the call `f(b)` returns `(b.name, b.date)`.

โ€ข After `f = attrgetter('name.first', 'name.last')`, the call `f(b)` returns `(b.name.first, b.name.last)`.

Equivalent to:
vocal basin
#

!d operator.methodcaller

wise cargoBOT
#

operator.methodcaller(name, /, *args, **kwargs)```
Return a callable object that calls the method *name* on its operand. If additional arguments and/or keyword arguments are given, they will be given to the method as well. For example:

โ€ข After `f = methodcaller('name')`, the call `f(b)` returns `b.name()`.

โ€ข After `f = methodcaller('name', 'foo', bar=1)`, the call `f(b)` returns `b.name('foo', bar=1)`.

Equivalent to...
vocal basin
#

!d operator.call

wise cargoBOT
#

operator.call(obj, /, *args, **kwargs)``````py

operator.__call__(obj, /, *args, **kwargs)```
Return `obj(*args, **kwargs)`.

Added in version 3\.11\.
primal shadow
#

A software license is a legal instrument governing the use or redistribution of software.
Since the 1970s, software copyright has been recognized in the United States. Despite the copyright being recognized, most companies prefer to sell licenses rather than copies of the software because it enables them to enforce stricter terms on redistribut...

vocal basin
vocal basin
#

that's why operator.call is not always useful for funny code

#

@hallow warren Apache-2.0? iirc that one has a nuance about patents

#

from what I remember it is:
if you use this,
I can't sue you for the fact of using it based on patents,
you can't sue me for patented work based on my work

but I am not sure, so triple-check

whole bear
#
random = __import__('random'); print(getattr(random, 'randint')(1, 100))```
vocal basin
#

btw, there do exist languages with @import syntax

#

CSS and Zig

hallow warren
#

๐Ÿ’•

vocal basin
#
// using Rust highlighting because Zig not supported yet
const std = @import("std");
@import url layer;
#

idk how I feel about Zig not going all the way on making all declarations be of const form

#

functions are declared the usual way

vocal basin
#

because somehow it's still on 3.10

#

isn't that tax-free not interest-free?

#

(borrowing to avoid it being taken as income)

whole bear
hallow warren
wise cargoBOT
#

:incoming_envelope: :ok_hand: applied timeout to @whole bear until <t:1726105903:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).

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

sour imp
#

@lavish rover

somber heath
#

@vestal zenith @tranquil dew ๐Ÿ‘‹

#

@deep storm ๐Ÿ‘‹

deep storm
#

@somber heath JoeWave

lavish rover
somber heath
#

@bronze axle ๐Ÿ‘‹

bronze axle
#

Hi ๐Ÿ‘‹๐Ÿฝ

somber heath
#

@candid hull ๐Ÿ‘‹

candid hull
#

๐Ÿญ

#

@somber heath

#

it's talk on voice it's about api?

#

+/-?

somber heath
#

We were on the subject of generative AI.

candid hull
#

oh

#

ok srry my eng not bad

#

but i know many words )

#

i see @obsidian dragon so cute )

obsidian dragon
#

oh thanks @candid hull

sour imp
#

! WARNING CLOWN !

somber heath
#

@dull nexus ๐Ÿ‘‹

dull nexus
somber heath
#

@bright ibex๐Ÿ‘‹

bright ibex
#

I can't speak!!!!

somber heath
bright ibex
#

I have to s3nd 50 messages ohh goddd

#

This sucksss

somber heath
#

Baelnorn.

quartz beacon
somber heath
#

@cosmic copper๐Ÿ‘‹

cosmic copper
#

I have no mic

somber heath
cosmic copper
#

i do not have the hardware xS

#

xD

#

Yes that's a good idea

#

I just wanted to check what's going on

#

How is it going Opal

somber heath
#

It goes.

#

I don't have much to report.

cosmic copper
#

@quartz beacon are you ukranian?

somber heath
#

I did washing, today.

#

That's about as exciting as it got.

cosmic copper
quartz beacon
somber heath
#

I mean, a washing machine is automation enough.

cosmic copper
#

What;s the best library for gui desktop apps

cosmic copper
#

I have used tkinter a lot

#

lately customtkinter

#

way better

somber heath
#

tkinter is standard library, but it's pretty bog basic standard

cosmic copper
#

On graphics

somber heath
#

shop around for things

#

try different ones

#

see what works for you

#

brb

cosmic copper
#

What about kiwi

#

He didn't got any response xD

#

404

#

@peak depot Hi
I do not have a mic btw

#

Do you guys play any game online?

#

I play to

#

Since 2013

#

Albania

maiden beacon
#

@somber heath hlo their wsup

#

long time

cosmic copper
#

Here we have all kind of religions

#

It's fair for every one

#

They converted as muslims on Ottoman Empire era

#

We were catholics

#

Before

#

The country

#

After Ottomans conquered the whole balkans, they forced everyone to convert

somber heath
#

I return.

cosmic copper
#

Those who didn't want had hight taxes

somber heath
#

๐Ÿ‘‹ @woven siren

maiden beacon
# somber heath I return.

noice...
btw have you worked on image processing or anything similar before?
if yes, then what's your opinion about having to finetune models from pretrained models .. is it time consuming and hard for a college dude?

somber heath
#

Image processing yes, AI models no.

#

@karmic needle๐Ÿ‘‹

karmic needle
#

Yeah, @somber heath

maiden beacon
wet scroll
#

hallo!!

somber heath
#

@whole bear๐Ÿ‘‹

quartz beacon
#

@somber heath we're not agruing

#

sowwy

#

or did you go eeping

quartz beacon
#

kaksteist kuud

vocal basin
#

tbf given how much "6 months" is a meme subsitute for "I can't be bothered doing it", not surprising

quartz beacon
bleak copper
hasty geyser
#

Can someone help I'm in everlasting depression now

quartz beacon
vocal basin
#

@quartz beacon (they're not in the VC)

#

from what I've seen, libre- prefix has been around for a long time in software

quartz beacon
vocal basin
#

@steep vortex so they question is about the Django machinery not how to fit those architecturally into the app, right?

quartz beacon
vocal basin
#

> aborted connection for safety
do you have a redirect to HTTPS?

#

you don't need it if you use HTTP

#

so you likely have a different issue

#

are there any logs of why it fails?

#

also

#

I highly suggest not doing WebSockets with POST requests

#

to my knowledge, that is wrong, very

#

@steep vortex don't pay

#

use letsencrypt

#

free

#

just use GET and send request data in the first message

#

RFC 6455

#

those skip numbers sometimes

#

if you want to pass extra data before starting the websocket handshake, you have:

  • URL path
  • query string
  • headers
  • cookies
quartz beacon
vocal basin
#

@steep vortex I'm quite sure Language H is unironic too

#

COBOL isn't that bad

#

I mean modern COBOL

#

2023 version

#

in Language H you don't say "PLEASE", you say "OBEY"

#

JWT

#

use that

#

or whatever else

#

and just pass the thing in first WebSocket message

vocal basin
# vocal basin <@471093405246554114> I'm quite sure Language H is unironic too

READ, PRINT, PUNCH, NUMBER, MAX, BEING, FROM, CHANNEL, DIGIT, STERLING, CHARACTERS, UP, TO, RADICES, QUANTITY, DECIMAL, POINT, INADMISSIBLE, INPUT, CONTROL, ERROR, SEEN-CHARACTER, OPERAND, CALCULATE, HOLD, OFF, ON, SEE, AT, POSITION, PLACES, FILE, GET, AGAIN, WITH, FINISH, REEL-END, UNOBTAINABLE, END-OF-FILE, MARKER, BRANCH, OR, GET-AGAIN, ACCORDING, SEQUENTIAL, FILING, DUMP, DATA, PROCESSING, PROGRAM, FOR, CHAPTER, NOTE, IN, OBEY, AND, ARE, AT, BY, IN, IS

#

^ keywords

bleak copper
#

from django.contrib.auth.mixins import LoginRequiredMixin

vocal basin
#

^ this I'd expect to use cookies

#

I've done this sort of middleware for another framework, and there i used cookies

#

if you use JWT it's just:

who
until when
random garbage
-- signed by server plz trust

#

idk if LoginRequiredMixin combines well with JWT

bleak copper
#

use like so:
class MyChannelWhateverAfterLogin(LoginRequiredMixin):

vocal basin
#

there are also decorators for routes

bleak copper
stoic chasm
vocal basin
#

you can make gravatar default and only option for pfps if you want to shove the avatar storage problem away

#

@earnest echo do any errors appear?

#

if you're pushing

#

what's the error?

earnest echo
#

To black_jack
! [rejected] main -> main (non-fast-forward)
error: failed to push some refs to 'black_jack'
hint: Updates were rejected because a pushed branch tip is behind its
remote
hint: counterpart. If you want to integrate the remote changes, use 'git pull'
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

vocal basin
#

git pull --rebase

earnest echo
#

You are not currently on a branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details.

git pull <remote> <branch>
vocal basin
#

git pull --rebase -u origin main

#

@bleak copper
that error does not appear when you're not in a repo

vocal basin
#

-u is short for --set-upstream

#

no mods in VC, can't share screen

vocal basin
#

ah

whole bear
#

My system is crap!
Is there a way to code on cloud ?
So it won't consume my system CPU or GPU?

vocal basin
#

git pull --rebase --set-upstream origin main

#

-u works on push only ig

earnest echo
#

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

vocal basin
#

what does running git remote show?

#

if anything

whole bear
vocal basin
#

git remote add origin <url to your repository on github>

placid kernel
vocal basin
#
git push --set-upstream origin main
earnest echo
vocal basin
whole bear
#

git remote -v
git remote add origin
SSH -T git@github.com
git fetch origin

vocal basin
#

that doesn't sound like that'd work

whole bear
#

I have crap phone so please pardon my typo

vocal basin
#

can you show local git log output?

earnest echo
#

usage: git remote add [<options>] <name> <url>

-f, --[no-]fetch      fetch the remote branches
--[no-]tags           import all tags and associated objects when fetching
                      or do not fetch any tag at all (--no-tags)
-t, --[no-]track <branch>
                      branch(es) to track
-m, --[no-]master <branch>
                      master branch
--[no-]mirror[=(push|fetch)]
                      set up remote as a mirror to push to or fetch from
#

PS E:\Python\git_and_github> git log
commit 7a88c933dc3b47b346dc1f5cad15d9bbbb4b7a84 (HEAD)
Author: Pranavteja tejapranavr@gmail.com
Date: Thu Sep 12 17:33:05 2024 +0530

test

commit d971010ebc038c09c0cb80812aae20f30a14f875
Author: Pranavteja tejapranavr@gmail.com
Date: Wed Sep 11 20:25:15 2024 +0530

test

commit 421cbf3d2ffbfa4664ab60006738cc5829c42aae
Author: Pranavteja tejapranavr@gmail.com
Date: Wed Sep 11 18:44:05 2024 +0530

test

commit bc2a15b0839f070a2678faa1ffe292198542d592
Author: Pranavteja tejapranavr@gmail.com
Date: Wed Sep 11 17:34:12 2024 +0530

test

commit 2a91901ce75b76af6064fe47a467e4f924e5572b
Author: Pranavteja tejapranavr@gmail.com
Date: Tue Sep 10 16:43:36 2024 +0530

vocal basin
#

I'll check if it diverges from remote

whole bear
#

Could you share your screen in VC?

#

It would be much better

vocal basin
#

for hashes only

earnest echo
#

7a88c933dc3b47b346dc1f5cad15d9bbbb4b7a84
d971010ebc038c09c0cb80812aae20f30a14f875
421cbf3d2ffbfa4664ab60006738cc5829c42aae
bc2a15b0839f070a2678faa1ffe292198542d592
2a91901ce75b76af6064fe47a467e4f924e5572b
6219717f3aafc9e90e26e875566dc6e22ae633db
779705d260547d044e0a5ee6b2fb0ff932058455
54b0558832c61af4ad4d84a0236cc46e9d2ba6ee
da1ed0ffabb22d473183738b32154d5f004ca400
ea0b7569d33c4fe06afa9abdaa613045f439c260

earnest echo
vocal basin
#

huh

#

so you have all the commits from remote

earnest echo
#

hmm

vocal basin
#
git branch -f main HEAD
git push
#

it might indeed have been because it wasn't on a branch

earnest echo
#

fatal: You are not currently on a branch.
To push the history leading to the current (detached HEAD)
state now, use

git push origin HEAD:<name-of-remote-branch>
vocal basin
earnest echo
earnest echo
vocal basin
#

the error suggests to run git push origin HEAD:main

earnest echo
#

:

vocal basin
#

yes

#

it won't break local or remote state so should be fine

earnest echo
willow gate
vocal basin
earnest echo
#

what is that?

whole bear
#

Have you established the secured connection with GitHub?

earnest echo
earnest echo
whole bear
# earnest echo what is that?

In Github you can generate the key that will be required for secure connection.

Else the push will not be proceeded as it consider the machine as a stranger!

vocal basin
#

that issue seems more like a network-specific fault

vocal basin
#

@upper basin what type of compilers

vocal basin
earnest echo
vocal basin
#

just run those commands

#

then git push again

earnest echo
#

Ok

#

Same error ๐Ÿ˜ญ

vocal basin
#

are you using a proxy/vpn?

earnest echo
#

Nope

vocal basin
upper basin
# vocal basin <@664667836605661217> what type of compilers

So, I have explained before how a quantum circuit is just the quantum analogue for machine code (There's lower-level quantum machine code too, but for what I'm discussing, circuits will be considered as the low-level machine code, aka what we're trying to compile to).

Compilers take a high-level code and convert it to low-level machine code. In my case, the high-level code would be matrices and vectors, which would need to be compiled to circuits. I have algorithms already implemented which do state -> circuit as well as matrix -> circuit. However, what I'm trying to implement is an actual compiler, not just a set of individual synthesis algorithms.

I am thinking of what would be the best way to go about this. I've considered this as the compiler:

qickit.primitives (representing vectors and matrices) -> ROUTER: Is the primitive a vector or a matrix? If vector use qickit.synthesis.statepreparation schema, otherwise use qickit.synthesis.unitarypreparation schema -> Return circuit that represents the primitive -> Feed into MLIR pass to optimize the circuit (I am planning on incorporating nvqir given I don't want to reinvent the wheel for now) -> Return optimized circuit

I would like feedback on this.

#

FYI, this is the nvqir MLIR pass.

#

My circuit would be converted to cuda-quantum representation, which is natively implemented using cpp, so I would just convert the optimized circuit back to my original representation.

vocal basin
earnest echo
#

Nope

#

I'll give you one piece of info that might help my ssh key is not rsa

vocal basin
#

ssh shouldn't be as important while we're still pushing over https

vocal basin
#

there the idea was kind of like you hover over the thing and it shows details

#

but I think it didn't end up as well as planned

#

(layout-wise)

wind raptor
vocal basin
#

at least it still keeps everything else square

vocal basin
#

I could make it exactly 50% but that'd require using mathematic stuff again

#

now I'm thinking of making a maze-like thing out of it lol

#

WebSocket

#

not just socket (that'd be horrifying)

#

or socket.io as an abstraction of top of long poll + ws

upper basin
#

!pypi genQC

wise cargoBOT
#

Generating quantum circuits with diffusion models

Released on <t:1724704071:D>.

vocal basin
#

(socket.io by default starts with long poll and then switches)

upbeat bobcat
#

@wind raptor Can I get stream perms?

wind raptor
#

!stream 1229473464390520882 20M

wise cargoBOT
#

โœ… @storm bison can now stream until <t:1726151498:f>.

vocal basin
#

why is there the that

#

the xml thing

#

for compatibility?

#

for weird cross-origin stuff?

#

it should really be fetch

stoic chasm
#

sutff happening gotta go

wind raptor
earnest echo
#

And is ssh a part of git or it's a part of the computer?

#

I want to reinstall

gentle flint
peak depot
vocal basin
#

cargo clean removing half as much as it usually does

#

ig this time I didn't forget running it for long enough

somber heath
#

@rugged root It's for stabbing the vampires.

#

Roundhouse kickstab.

willow light
#

it's now twice as loud because it's extra clacky and now the keyboard beeps with each keypress. according to the official documentation: "only do this in the office if you're already fired"

peak depot
somber heath
#

I make pasta fresh.

#

It's generally better.

peak depot
gentle flint
#

@willow light

whole bear
#

One message removed from a suspended account.

peak depot
willow light
#

just watching this now...

#

@rugged root looking kinda damp where you are

rugged root
#

Police Officer: The suspect is dancing naked through the streets downtown.
Dispatcher: Copy that.
Police Officer: Well, I'll try, but I'm not a great dancer.

#

!stream 154425749221146624 3w

wise cargoBOT
#

โœ… @terse rose can now stream until <t:1727969128:f>.

quartz beacon
#

@terse rose

#

this is hemlock (the rabbit)

peak depot
quartz beacon
#

@rugged root being walked

gentle flint
quartz beacon
rugged root
#

A couple was driving down a country road when they started to have an argument. As they passed a barnyard full of mules, cows, and pigs, the huspand turned to his wife and asked sarcastically, "Relatives of yours?"
"Yep," the wife replied. "They're my in-laws."

somber heath
rugged root
#

Why would Pythagoras make a good photographer?
||He works with the right angles||

#

The best D&D sessions (to me) end up having no combat.

#

All character interaction and character building

#

A guy walks into a bar and sees three pieces of beef hanging from the ceiling.

"What's this all about?" he asks the bartender, gesturing towards the meat.

"If you can jump up and slap the meat," says the bartender, "you get free drinks for the rest of the night. But if you miss, you pay for everyone's drinks for the next hour. Want to give it a go?"

"No thanks," the guy replies. "The steaks are too high."

upper basin
#

I like Legends of Avantris type of campaigns.

rugged root
#

@wind raptor
How do you stop Canadian bacon from curling in the pan?
||You take away its broom||

upper basin
#

They just have fun, and laugh until they start krampusing.

somber heath
#

Everyone is antagonistic. Everyone is amiable.

rugged root
#

Never kill a character when the player isn't there

#

That's fucked

#

@verbal zenith Yo

upper basin
verbal zenith
#

Hello ๐Ÿ‘‹

upper basin
#

Isn't the character death based on the dice roll by the player and dm?

quartz beacon
#

the programming suit

upper basin
#

Time shenanigans...

#

"Timmy, we are not turning time back for a 12th time just because you keep rolling below 3!"
"I'm destined to roll a 6, it's my cannon event."

#

I humor myself.

rugged root
#

First rule of DMs: Never kill a character when the player isn't there

#

If they do, just wave a rod of retcon and fix it

somber heath
#

Is Bruce Wayne a D&D adventurer?

rugged root
#

GURPS more likely

upper basin
#

Chuckles, "Chucools chucools, war crimeee!"

rugged root
#

Oh my god

#

When is a piece of wood like a queen?
||When it's a ruler||

upper basin
#

HAH

#

Nice

#

If I was a DM, I'd just scatter a ton of easter eggs and artifacts and campaigns around a massive map, and just let you do whatever you want. That way you don't get influenced into a linear story, and also the dm wouldn't have to go full on improv.

#

Adventure Time is like the perfect campaign.

peak depot
#

Gonna use this - so hard

rugged root
#

Growing up, we didn't have a lot of money. I had to use a hand-me-down calculator, and it didn't have a multiplication symbol on it. I guess you could say times were tough.

peak depot
still herald
#

I have my work related question

whole bear
#

I have a question?

still herald
whole bear
#

What's the quick and painless way to end the life?

#

It's just my curiosity

steep vortex
rugged root
#

What are the three worst mistakes in business?

  1. Overpromising.
  2. Underdelivering.
still herald
#

When will my turn come?

#

Also why everyone's so serious today?

#

Is everything good guys?

rugged root
#

We're just having a conversation about something serious. Happens

still herald
#

How long would it take

rugged root
#

I... don't know?

still herald
#

Btw did someone die?

rugged root
#

No, not in this case

still herald
rugged root
#

...because it's a serious topic

#

And we're talkin' about it

still herald
#

Everyone looks so invested

#

Nice

rugged root
#

@formal meteor Yo

still herald
#

Like a tv show with so much suspense

somber heath
#

@steep vortex Has anyone mentioned you sound like you're speaking up from a bathroom sink drain?

rugged root
#

Why was Pavlov's hair so soft?
||He conditioned it.||

rugged root
#

The doctor told me I had only six months to live, so I stole all his medical equipment. The judge gave me five years. Problem solved.

whole bear
#

I have turned my old broken laptop into working gaming desktop

#

๐Ÿ˜Š

#

It works

silent sequoia
#

my name is Cow,
and wen its nite,
or wen the moon
is shiyning brite,
and all the men
haf gon to bed -
i stay up late.
i lik the bred.

rugged root
#

HA

#

Did you hear about the cheese factory that blew up in Paris?
||De-brie was everywhere||

whole bear
#

Nerd talk is boring

rugged root
#

I mean... you're in a programming server

#

Not sure what you'd expect

sweet sorrel
silent sequoia
rugged root
#

Don't worry, I have a few more awful jokes to write out

silent sequoia
oblique ridge
late spoke
sweet sorrel
#

This hurts my eyes

late spoke
#

๐Ÿ˜ญ

steep vortex
whole bear
rugged root
#

If you're scared of air pressure, do you have an atmosfear?

whole bear
#

...

late spoke
#

fear of a fear is a fear or not a fear?

whole bear
#

fear of fear makes my breain hurt

vocal basin
#

@swift valley ๐Ÿ‘‹

swift valley
late spoke
#

rawr

rugged root
#

Hey pure

#

How goes

#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

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

late spoke
#

there there

fast sparrow
#

Hey, how's it going?

steep vortex
late spoke
#

kwrite is becoming one of my favourite code editors

rugged root
#

!ban 745073145903448196 Harassing staff is unnacceptable. If you can't say something nice, don't say anything at all.

wise cargoBOT
#

:incoming_envelope: :ok_hand: applied ban to @vast iris permanently.

vocal basin
#

a what:

#

what did I do

#

this might be because of a reboot and it just took a long time to detect that

late spoke
#

its a changelog.. ?

vocal basin
rugged root
#

I got the hot water and never put the tea bag in

#

Sheesh

late spoke
#

realization*
you need memory to stop memory leaks

#

brb

verbal zenith
#

stars got removed lmao, had to recreate

sweet sorrel
#

!paste

calm smelt
#

Well.... How many licks to the center of the voice chat lollipop?

#

@somber heath

#

@calm smelt What is ruse?

limber copper
#

@calm smelt go to bot commands channel and send "!user"

somber heath
#

@mystic smelt ๐Ÿ‘‹

mystic smelt
calm smelt
#

@somber heath hehe, yeah... here is a mega fart bomb....

#

Idea_

rc plane in a hugh swam numbers and weather api + swam network with inter-communication network, dropping fart bombs.

limber copper
#

@calm smelt how long have you been coding in python?

calm smelt
#

I hve been in here so long, ...... years.. maybe?

#

@tulip gyro but why about the reddit api webscraping?

#

yes.

#

i have been offline for a lone time.

#

#operation_Reddit_KICKSTARTER_buyalldata_and_host_it

#

What if the internet bought all the data of the internet?

whole bear
#

One message removed from a suspended account.

calm smelt
#

and this is a self plug for internet 2.0 project......

#

@tulip gyro what are you talking about?

#

please explain in deeeep space detail....

#

big brain time....

#

MORRRRRRRRRRRRRRRRRRRRRE POWEEEEEEEEEEEEEEEEER!!!!!!!!

#

now how about we write a minecraft straight clone to test the prefomance..... in python.

calm smelt
somber heath
#

@whole bear๐Ÿ‘‹

whole bear
calm smelt
whole bear
#

jus call me hunter

somber heath
#

It's all well and good to suggest loving oneself, but that isn't something that's readily available as an option for many people.

somber heath
#

Love is an emotion, broadly speaking, a reaction. We can choose to attempt to influence our reactions, but we do not decide our reactions.

stable axle
#
from re import I
import turtle
import random
from drawing_patterns import CircleOfCircles
from shapes import Square, Line
import os
from PIL import Image, EpsImagePlugin
EpsImagePlugin.gs_windows_binary = "C:\\Program Files\\gs\\gs10.00.0\\bin\\gswin64.exe"

t = turtle.Turtle()
t.speed(0)
t.hideturtle()

x = 0
y = 0
size_limit = (300, 300)  # x, y
colors = ["orange", "black", "blue", "yellow", "red", "purple", "pink"]
boolean_list = [True, False]

end = range(30)

for i in end:
    t.pensize(random.randint(1, 7))

    if random.choice(boolean_list):
        CircleOfCircles.draw(t,
                             random.randint(5, 100),
                             (random.randint(-abs(size_limit[0]), size_limit[0]),
                              random.randint(-abs(size_limit[1]), size_limit[1])),
                             random.randint(5, 100),
                             random.randint(2, 30),
                             random.randint(15, 360),
                             random.choice([None, random.randint(5, 25)]),
                             wagon_wheel=random.choice(boolean_list)
                             )

    if random.choice(boolean_list):
        Square.draw_square(t,
                           (random.randint(-abs(size_limit[0]), size_limit[0]),
                            random.randint(-abs(size_limit[1]), size_limit[1])),
                           random.randint(10, 100),
                           random.randint(0, 360)
                           )

    if random.choice(boolean_list):

        Line.draw_line(t,
                       (random.randint(-abs(size_limit[0]), size_limit[0]),
                        random.randint(-abs(size_limit[1]), size_limit[1])),
                       random.randint(0, 360)
                       )

    print(f" {int(i/len(end) * 100)}%\n", end="", flush=True)

t.getscreen().getcanvas().postscript(file="exports/duck.eps")
img = Image.open("exports/duck.eps").convert('RGB')
os.remove("exports/duck.eps")
img.save(f'exports/image{len(os.listdir("exports"))}.jpg', quality=500, subsampling=0)
stable axle
sage basalt
#

damn i got nausea looking at those mathmetical terms

somber heath
#

@whole bear ๐Ÿ‘‹

#

@restive parcel ๐Ÿ‘‹

#

@tiny hamlet ๐Ÿ‘‹

whole bear
stoic chasm
earnest echo
#

I'm looking for a mentor

peak depot
quartz beacon
peak depot
#

@rugged root

somber heath
whole bear
#

One message removed from a suspended account.

quartz beacon
unique holly
quartz beacon
whole bear
#

One message removed from a suspended account.

peak depot
whole bear
#

One message removed from a suspended account.

unique holly
#

Log

quartz beacon
#

where is the french child?

quartz beacon
#

he got that gandalf cut

#

๐Ÿง™โ€โ™‚๏ธ

unique holly
unique holly
#

๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚๐Ÿ˜‚

#

I get it

#

I saw that trump meme

peak depot
quartz beacon
peak depot
whole bear
#

One message removed from a suspended account.

peak depot
#

Normal vs pug

whole bear
#

One message removed from a suspended account.

peak depot
whole bear
#

One message removed from a suspended account.

#

One message removed from a suspended account.

peak depot
#

@rugged root can you fix the vc server location hop issue or is it just whole Discord?

somber heath
#

Fixing it to one region might help.

#

If it isn't already.

whole bear
#

One message removed from a suspended account.

somber heath
#

Whenever anyone leaves, (everyone?) gets disconnected and reconnected.

whole bear
#

One message removed from a suspended account.

quartz beacon
somber heath
#

Nyaw

quartz beacon
whole bear
#

One message removed from a suspended account.

#

One message removed from a suspended account.

quartz beacon
whole bear
#

One message removed from a suspended account.

peak depot
quartz beacon
#

squash

peak depot
#

No

#

Mushroom

quartz beacon
peak depot
somber heath
#

@chrome pulsar ๐Ÿ‘‹

peak depot
quartz beacon
somber heath
#

@bright cove ๐Ÿ‘‹

#

@slender elbow ๐Ÿ‘‹

slender elbow
#

Anyone know c++ ?

#

need basic coding help, Im used to Python but this particular class in university requies i use c++ and im confused

#

Nobody is active in the c++ server sadly

somber heath
#

@slow hearth ๐Ÿ‘‹

#

!ot

wise cargoBOT
upper basin
slender elbow
#

not neccassarly haha

upper basin
#

!paste

wise cargoBOT
#
Pasting large amounts of code

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

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

upper basin
#

In case it's too big to paste in chat.

slender elbow
upper basin
#

Code please.

slender elbow
#

yes

upper basin
slender elbow
#

i think so aswell but still a bit confused

slow hearth
#

@somber heath rolling paper or rolling sleeves?

upper basin
#

The letter.

slow hearth
#

Oh, even harder

#

tongue gang

#

Some are orally talented

somber heath
#

@arctic needle ๐Ÿ‘‹

upper basin
#

@slender elbow I don't know cpp, but from what I can see of your errors, you need to check if your methods can actually access the instance variables.

slow hearth
#

@slender elbow, I havent touched C++, in a MINUTE, but you're not accessing your local variables correctly it seems

#

ohh

#

actually you placed them in their own class

#

and never created them in the scope you're trying to use them in

quartz beacon
slow hearth
#

@slender elbow, your methods are in a global scope it seems, and you never created the variables you're trying to use

somber heath
#

@edgy cosmos ๐Ÿ‘‹

#

@neon vale ๐Ÿ‘‹

neon vale
slow hearth
#

@slender elbow, Did you figure it out?

somber heath
#

@swift pollen ๐Ÿ‘‹

peak depot
slow hearth
#

Looks like you can rip it off

#

Sounds like you guys should find another solution besides the 2 options you have

#

Do you guys really only have option 1 and 2?

#

thing 1 and thing 2? Cat in the hat?

#

My ignorance says china

worldly robin
#

@wind raptor Requesting permision to stream

#

@somber heath

wind raptor
#

!stream 669814900142505984 1h

wise cargoBOT
#

โœ… @worldly robin can now stream until <t:1726247811:f>.

peak depot
serene locust
#

oh woaw i need to write 50 masagesto get to speak in a VC?? ^^

#

what is this and why?

#

actually its okay i gues to stamp out the bot spam?

#

omg a lot to go then.

somber heath
#

Not so much bot spam as people who would scream or blow or utter racial epithets into the microphone, etc.

#

Every ten minutes.

#

The voice gate sucks. The voice chat is better with it than it would be without it.

#

@solemn orchid ๐Ÿ‘‹

serene locust
#

is ther a way to comand the bot to actualy show me how many masages i need to write? so i can spam a chat with meaningfull stuff?

upbeat bobcat
#

@somber heath not in vc

worldly robin
#

Anybody to help with git????

wise cargoBOT
#
Voice verification

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

somber heath
#

@serene locust Be sure to read the instructions and pay heed.

serene locust
#

yea no spam i see

#

temptation is... you know^^ a human thing

whole bear
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

serene locust
#

so back in?

#

or in 1

whole bear
#

One message removed from a suspended account.

peak depot
#

Cris, u do the honnors

serene locust
#

i was about to start a coding season for all to wathc ^^

#

watch

peak depot
#

U can't share the screen without permission

wind raptor
#

Fixed!!!

somber heath
#

Maybe!

upbeat bobcat
#

video role?

serene locust
#

how to i get the video role?

#

asking for a friend+^^

upbeat bobcat
#

ahhh

rugged root
#

Sorry I'm not really around right now. Getting the apartment cleaned up before my in-laws show up, letting Joi rest more, etc

somber heath
#

It's not catastrophic.

#

Just annoying.

wind raptor
#

!stream 301331645829480449 30M

wise cargoBOT
#

โœ… @serene locust can now stream until <t:1726248288:f>.

somber heath
#

Don't worry about us, we're fine.

rugged root
#

Like the dog in the burning room fine or damn gurl opal's booty is fine

#

Or some other less interesting fine

somber heath
#

...yes.

#

To both.

rugged root
#

Sounds like an average pydis vc day

somber heath
#

It's not average

#

In PyDis voice, Hemlock.

peak depot
slow hearth
#

Is it me dcing?

#

This is a discord problem?

#

Thought it was just me. That sucks though

rugged root
#

Eh, fixed now

peak depot
#

Bursa

long kettle
#

fr

slow hearth
#

Anyone familiar with routers, and what could be wrong with my download speed? Before you ask, I have reset my routers

#

I had more download speed before. Gbit speed subscription. It's just wierd I cant ever get over 12MBps now though on steam atleast

#

I'm sure I'll figure it out eventually

peak depot
slow hearth
#

@serene locust, if dealer_value <= 17:
and below you're checking if it is above 21

wind raptor
serene locust
#

saw it just tring to get a structure

slow hearth
#

np

peak depot
slow hearth
#

Lookin juicy

silk dust
#

you got cutiepie, i got PyQt
we aint the same

slow hearth
#

Eat blueberris in a cup, no need to pick the berries

vocal basin
#

source:

#

catosis

#

?

#

cat mitosis

slow hearth
#

Spidercat?

peak depot
serene locust
#

...why is the "return" not working dam it

slow hearth
#

Im not too sure but it might be cuz your function doesnt return anything else at the end of your fuction

#

You're function doesnt guarantee returning anything

peak depot
slow hearth
#

@serene locust you are in a function, correct?

peak depot
slow hearth
#

@serene locust you can only use return inside a funciton lol

#

The error you're getting is saying it isnt

serene locust
#

wait a minut... -.- i moved this code part out of the funktion.

slow hearth
#

Oof

quartz beacon
slow hearth
#

@sour imp, have you tried modifying/programming your own model?

slow hearth
#

@sour imp, In this day and age

#

AAA

#

Buggy on release

#

Is speed tied to framerate?

#

Its a fun gadget

river grove
#

Hey, Iโ€™m Gaga. Iโ€™m a video editor, mostly focused on tech content and creative projects, as well as a PC tech content creator.

whole bear
viral kite
#

Hi everyone, I'm Dr.President, I have close to 0 experience to coding and was wondering where to start?

jaunty rain
#

ะฟะฐ

primal shadow
whole bear
#

One message removed from a suspended account.

#

One message removed from a suspended account.

somber heath
#

@still hinge @sleek zodiac ๐Ÿ‘‹

sleek zodiac
#

i ned hel

#

help

somber heath
#

What's up? ๐Ÿ™‚

sleek zodiac
#

my code

#

not working

#

i not know why

somber heath
#

What sort of thing are you working on?

sleek zodiac
#

python very basic stuff

#

CCC j3 question

somber heath
#

!code

wise cargoBOT
#
Formatting code on Discord

Here's how to format Python code on Discord:

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

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

For long code samples, you can use our pastebin.

somber heath
#

Let's take a look, then.

sleek zodiac
#
map = {'1':'100', '2': '500','3': '1000','4':'5000', '5':'10000', '6':'25000', '7':'50000', '8':'100000', '9':'500000', '10':'1000000'}
totalsum=1691600
deal = int(input(""))
for _ in range(n):
    bref = int(input(""))
    totalsum-=bref
remaining_cases = 10 - n
avgbfc = float(totalsum / remaining_cases)
if avgbfc<=deal:
    print("deal")
if avgbfc>deal:
    print("no deal")
somber heath
sleek zodiac
#

old waterloo competition

#

it kinda half works

#

some of them work but the other ones dont

sour imp
#

use else instead of if ๐Ÿ˜‰

sleek zodiac
#

ok

#

it still no work

#

when i click submit

#

very sad

#

๐Ÿ˜ฆ

sour imp
#

something like the following:

if avgbfc <= deal:
    print("deal")
else:
    print("no deal")
sleek zodiac
sleek zodiac
#

but

#

it still doesnt work

sour imp
#

what output are you getting?

#

@sleek zodiac

sleek zodiac
#

im getting no deal

#

when i enter

#

8
10
9
8
7
6
5
4
3
400

sour imp
#

correct assuming these are the following:
num of cases to open 8, values: 10 9 8 7 6 5 4 3, banks offer 400 then wed get something like the following -->
init tot sum: 1691600
sub val open case: 10 9 8 7 6 5 4 3
sub these values: totsum -= 10 9 8 7 etc
totalsum -= 10 # totalsum = 1691590
totalsum -= 9 # totalsum = 1691581
totalsum -= 8 # totalsum = 1691573
totalsum -= 7 # totalsum = 1691566
totalsum -= 6 # totalsum = 1691560
totalsum -= 5 # totalsum = 1691555
totalsum -= 4 # totalsum = 1691551
totalsum -= 3 # totalsum = 1691548
calc rem cases: 10-8=2
calc avg val rem cases: avgbfc = totalsum / remaining_cases = 1691548 / 2 = 845774.0
comp avg val of bank off:
avgbfc = 845774.0
deal = 400
since 845774.0 > 400, the code prints "no deal"
presuming you want to change this check rem cases and adjust banks offer

#

@sleek zodiac

sleek zodiac
#

okey doke thanks

somber heath
#

Fair trade is a term for an arrangement designed to help producers in developing countries achieve sustainable and equitable trade relationships. The fair trade movement combines the payment of higher prices to exporters with improved social and environmental standards. The movement focuses in particular on commodities, or products that are typi...

#

@elder iron ๐Ÿ‘‹

elder iron
#

What's this?

#

what is it for?

somber heath
elder iron
#

I'm not on tht stuff, but I know someone who could prob help.
However, Idk if he can be available now, cz he s busy

#

np

wind raptor
#

backend

#

No worries. Did you want to do backend in JS or something else?

elder iron
#

Guys, I have question..
I m just about to learn coding, specifically web dev for business need.
But it's autodidact.

Where do you think should I start?

elder iron
wind raptor
elder iron
wind raptor
#

I recommend checking out Elysia which uses Bun

#

It's similar to express but much faster

elder iron
#

oooooh

#

self learn

#

that

#

XD

#

sorry

wind raptor
#

I found it just as easy as express

wind raptor
elder iron
elder iron
#

so.. any insight?

wind raptor
#

Completely free

elder iron
wind raptor
#

Gotta go. Cheers!

calm smelt
#

It was nice to talk to you, I was very happy and joyful to talk with you.

calm smelt
#

Huh?!

#

@timid marten please come to chat.

sly sapphire
slender elbow
#

hey

upbeat bobcat
slender elbow
#

would ypu help me with my coding export ?

#

the program runs perfectly but im confused on how my prof wants it exported

slender elbow
#

oh okay

somber heath
#

@whole bear ๐Ÿ‘‹

whole bear
#

how are you

#

i speak frenche my english is so bad xd

somber heath
#

@eternal hawk ๐Ÿ‘‹

eternal hawk
#

Hello

#

I am back dev

whole bear
#
@__import__("fishhook").hook(object)
def __matmul__ (f, g): return lambda *a, **k: f(g(*a, **k))
prt = __import__("functools").partial
c = type("curried", (), dict(
    __init__  =lambda s, f: vars(s).update(f=f, a=[], k={}),
    __call__  =lambda s, *a, **k: s.a.extend(a) or s.k.update(k) or s,
    __invert__=lambda s: prt(s.f, *s.a, **s.k)
))

all_ones = all @ ~c(map)(1 .__eq__)
somber heath
#

@subtle briar ๐Ÿ‘‹

eternal hawk
#

May I ask what you are talking about?๐Ÿ™ƒ

subtle briar
#

hi guys do you recognise this runner

#

thanks you

eternal hawk
#

With strawberries is good too

whole bear
#

PyCharm

subtle briar
#

๐Ÿ˜“

#

i didnt see that

#

that was my only question, i forgot what it was

#

thanks guys

somber heath
#

@rough loom ๐Ÿ‘‹

whole bear
eternal hawk
#

Is anyone here using vs code?

whole bear
eternal hawk
#

Have you ever thought about making your own extension?

somber heath
#

@deep lynx ๐Ÿ‘‹

eternal hawk
#

Oh, okie. is their docs enough?

#

I read this but it's still not clear. Hehe

somber heath
#

@fair haven ๐Ÿ‘‹

#

@broken saddle ๐Ÿ‘‹

#

@dapper tulip ๐Ÿ‘‹

vocal basin
#

VSC++

#

or whatever they call it

#

their C++

#

ASM is necessary at times

#

(rarely)

#

though, yeah, you shouldn't be writing applications and systems in it

somber heath
#

@cloud pond ๐Ÿ‘‹

cloud pond
#

do you know me

vocal basin
#

already forgot how the story started, way too long

cloud pond
#

yes

#

i love apples

#

does not matter apple is apple

vocal basin
#

@quartz beacon you have successfully :q!d out of this text quest

#

@quartz beacon @fallen raft

fallen raft
vocal basin
#

oh that also reminded of another meme

quartz beacon
#

๐Ÿšช

cloud pond
#

why i can't use my freedom of speech

quartz beacon
#

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

cloud pond
#

you guys follow dictatorial system

vocal basin
#

did you mean totalitarian

#

wdym instead of

#

I have not seen that missaid accidentally

cloud pond
#

Joined a server where you canโ€™t talk for 3 days. Feels less like a community, more like a hostage situation

vocal basin
#

those are quite closely related
dictor -- says
dictator -- says and other do it

vocal basin
cloud pond
#

i have fetish on hostage situation so i kinda like it

quartz beacon
#

what

cloud pond
#

whatt

fallen raft
cloud pond
#

knock knock

cloud pond
#

I said knock knock give me attenssion

upper basin
#

The gate is to prevent trolls from ruining everyone else's time in the vc. If you're not a troll, you'll actually appreciate the existence of the gate.

Also, a 3 day wait for being part of a community for at least a few months seems like a small price to pay.

cloud pond
#

@sage basaltI am gay

#

we will get along

sage basalt
#

if you have one

cloud pond
sage basalt
#

duo

cloud pond
#

I would say I am in comited reletionship with him

cloud pond
#

wanna join

#

let's make it trio

sage basalt
#

nah thanks

#

if you were in my country you would probably get public harrasment

cloud pond
#

In my contry we call it orgy

sage basalt
#

why not you should

sage basalt
cloud pond
sage basalt
#

nice