#voice-chat-text-0
1 messages ยท Page 355 of 1
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?
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))
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()
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!e
def f():
yield 1
yield 2
yield 3
assert 1 not in f()
:x: Your 3.12 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 6, in <module>
003 | assert 1 not in f()
004 | ^^^^^^^^^^^^
005 | AssertionError
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
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
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
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!e
def f():
yield
x = f()
next(x)
try: next(x)
except: pass
try: next(x)
except: pass
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
wait no
!e
def f():
yield
x = f()
next(x)
try: next(x)
except StopIteration: pass
try: next(x)
except StopIteration: pass
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!e
def f():
yield 1
yield 2
yield 3
x = f()
assert 2 in x
print(*x)
:white_check_mark: Your 3.12 eval job has completed with return code 0.
3
!e
def f():
yield 1
yield 2
yield 3
x = f()
assert 3 in x
print(*x)
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
!e
def f():
yield 1
yield 2
yield 3
x = f()
assert 4 not in x
print(*x)
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
(I might've been thinking of how Rust generators work)
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
print(*iter("Hello world!"), sep="")
!e
print(*iter("Hello world!"), sep="")
:white_check_mark: Your 3.12 eval job has completed with return code 0.
Hello world!
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
but then b still needs to be resized
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
When it comes to measuring rotational speed mechanically, without the use of electronics, the simplest and most elegant mechanisms are the Watt governor and Hartnell governor, both of which use hanging weights that are free to swing outwards at high speeds. However, after some testing, I could see that the accuracy and precision of these mechani...
y'all's hello world programs are in need of some license audits
#include <iostream>
int main(){std::cout << "Hello worlds\n";return 0;}
#include <iostream>
int main()
{
std::cout << "Hello world\n"; // Using '\n' instead of std::endl to avoid unnecessary buffer flushing
return 0;
}
implicit return 0; is part of the standard and, under some configuration, doesn't get warned against
though that might be in C
.
...
...
..
..
. . .. ... ..... ........ ?
. .. . ... .. ... .. .. .. ... ?
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!
listening to this Morse code communication trying to understand what it means
!pypi fishhook
can I do @__import__("random")
!e
@__import__("contextlib").contextmanager
def ignore():
try:
yield
except:
"lmao"
with ignore():
1 + "2"
:warning: Your 3.12 eval job has completed with return code 0.
[No output]
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"]))
: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
great
!e
from subprocess import check_output
from system import executable
print(check_output([executable, "-c", "print(123)"]))
: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 | from system import executable
004 | ModuleNotFoundError: No module named 'system'
it's named sys
!e
from subprocess import check_output
from sys import executable
print(check_output([executable, "-c", "print(123)"]))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
b'123\n'
!e
from subprocess import check_output
from sys import executable
print(check_output([executable, "-c", "print(123, file=__import__('sys').stderr)"]))
:white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 123
002 | b''
and now we make that into a test
!e
@__import__("random")
print(random.randint())
:x: Your 3.12 eval job has completed with return code 1.
001 | File "/home/main.py", line 3
002 | print(random.randint())
003 | ^^^^^
004 | SyntaxError: invalid syntax
!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""
:white_check_mark: Your 3.12 eval job has completed with return code 0.
123
: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
@ in Python is for decorators and __matmul__
!e
@__import__("random")
print("Hello world")
: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
you're trying to apply it to a non-decoratable statement
: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'?
!e
@lambda x: print(x)
def _():_
:white_check_mark: Your 3.12 eval job has completed with return code 0.
<function _ at 0x7f6f926ad440>
!e
__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'?
!e
@print
@__import__("operator").call
@__import__("operator").attrgetter("random")
@__import__
@__import__("operator").attrgetter("__name__")
def random():_
:white_check_mark: Your 3.12 eval job has completed with return code 0.
0.2119770284122633
is it roughly the type of weird code you're trying to make?
so wait how does all that work if you dont mind me asking?
!e
@print
@__import__("operator").methodcaller("randrange", 100)
@__import__
@__import__("operator").attrgetter("__name__")
def random():_
:white_check_mark: Your 3.12 eval job has completed with return code 0.
88
these are mostly equivalent:
@decorator
def function(): ...
def function(): ...
function = decorator(function)
!d operator.attrgetter
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:
!d operator.methodcaller
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...
!d operator.call
operator.call(obj, /, *args, **kwargs)``````py
operator.__call__(obj, /, *args, **kwargs)```
Return `obj(*args, **kwargs)`.
Added in version 3\.11\.
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...
this takes arguments first
this requires taking callable early
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
random = __import__('random'); print(getattr(random, 'randint')(1, 100))```
๐
quite different in the nuances
// 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
this didn't work on my Jupyter instance
because somehow it's still on 3.10
isn't that tax-free not interest-free?
(borrowing to avoid it being taken as income)
: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.
@bronze axle ๐
Hi ๐๐ฝ
@candid hull ๐
We were on the subject of generative AI.
oh
ok srry my eng not bad
but i know many words )
i see @obsidian dragon so cute )
oh thanks @candid hull
@dull nexus ๐
hi
@bright ibex๐
I can't speak!!!!
@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
@quartz beacon are you ukranian?
let's automate it xD
I mean, a washing machine is automation enough.
What;s the best library for gui desktop apps
brb
tkinter is standard library, but it's pretty bog basic standard
On graphics
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
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
I return.
Those who didn't want had hight taxes
๐ @woven siren
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?
Yeah, @somber heath
i thought both are same
hallo!!
@whole bear๐
kaksteist kuud
Apollo the African Grey parrot is THE Suck Bird. The original post didn't upload in HD so here it is in HD with the audio boosted.
tbf given how much "6 months" is a meme subsitute for "I can't be bothered doing it", not surprising
This is a complete re-do of my "Deus Ex: The Recut" video. Some parts I couldn't get exactly the same due to the randomness inherent in the game's AI and lip syncing. It's now in glorious 1080p at 60fps though. I took the liberty of embelishing a little. Enjoy!
Can someone help I'm in everlasting depression now
\
@quartz beacon (they're not in the VC)
from what I've seen, libre- prefix has been around for a long time in software
@steep vortex so they question is about the Django machinery not how to fit those architecturally into the app, right?
> 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
@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
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
from django.contrib.auth.mixins import LoginRequiredMixin
^ 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
use like so:
class MyChannelWhateverAfterLogin(LoginRequiredMixin):
there are also decorators for routes
Development repository for the Triton language and compiler - triton-lang/triton
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?
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.
git pull --rebase
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>
git pull --rebase -u origin main
@bleak copper
that error does not appear when you're not in a repo
^ this
-u is short for --set-upstream
no mods in VC, can't share screen
My system is crap!
Is there a way to code on cloud ?
So it won't consume my system CPU or GPU?
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.
Google colab maybe
Is it free?
git remote add origin <url to your repository on github>
yes
git push --set-upstream origin main
To https://github.com/Pranavtejar/black_jack.git
! [rejected] main -> main (non-fast-forward)
error: failed to push some refs to 'https://github.com/Pranavtejar/black_jack.git'
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.
do this again
git remote -v
git remote add origin
SSH -T git@github.com
git fetch origin
that doesn't sound like that'd work
I have crap phone so please pardon my typo
can you show local git log output?
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
I'll check if it diverges from remote
git log --format=format:%H
for hashes only
7a88c933dc3b47b346dc1f5cad15d9bbbb4b7a84
d971010ebc038c09c0cb80812aae20f30a14f875
421cbf3d2ffbfa4664ab60006738cc5829c42aae
bc2a15b0839f070a2678faa1ffe292198542d592
2a91901ce75b76af6064fe47a467e4f924e5572b
6219717f3aafc9e90e26e875566dc6e22ae633db
779705d260547d044e0a5ee6b2fb0ff932058455
54b0558832c61af4ad4d84a0236cc46e9d2ba6ee
da1ed0ffabb22d473183738b32154d5f004ca400
ea0b7569d33c4fe06afa9abdaa613045f439c260
.
hmm
git branch -f main HEAD
git push
it might indeed have been because it wasn't on a branch
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>
this one fails too?
yes indeed it wasnt on a branch
nope
the error suggests to run git push origin HEAD:main
shud i go for it
:
error: remote-curl: error reading command stream from git
error: failed to push some refs to 'https://github.com/Pranavtejar/black_jack.git'
yeah, you might have to switch to ssh
what is that?
Have you established the secured connection with GitHub?
should i send you video in dm
sure
how do you do 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!
that is done
these are alleged fixes, but, since I can't check that error, can't make sure they actually do anything
git config http.postBuffer 524288000
git config http.version HTTP/1.1
that issue seems more like a network-specific fault
@earnest echo try these and push again
(for now without SSH)
@upper basin what type of compilers
you have pulled the worst luck in collecting all the cursed Git errors
How to do it without ssh?
are you using a proxy/vpn?
Nope
remote-curl error, right?
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.
does your local repository contain any large files?
ssh shouldn't be as important while we're still pushing over https
mustafa knows more about this
@wind raptor more weird css stuff
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)
Wow. what happened?
at least it still keeps everything else square
it makes it so that, if a cell is hovered, it takes up ~50% of all the space in the grid
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
!pypi genQC
@wind raptor Can I get stream perms?
!stream 1229473464390520882 20M
โ @storm bison can now stream until <t:1726151498:f>.
why is there the that
the xml thing
for compatibility?
for weird cross-origin stuff?
it should really be fetch
sutff happening gotta go
No worries. Good luck!
Will freshly reinstalling git do any better
And is ssh a part of git or it's a part of the computer?
I want to reinstall
cargo clean removing half as much as it usually does
ig this time I didn't forget running it for long enough
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"
One message removed from a suspended account.
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
โ @terse rose can now stream until <t:1727969128:f>.
"and wolf, stay off the dancefloor"
@terse rose
this is hemlock (the rabbit)
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."
Various television commercials from Australia:
This advertisement was first broadcast on Australian television in the early nineties.
Australia Early Nineties Australian Television Advertisement Ad Commercial 1990's 1990s 90's 90s AustralianAds
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."
I like Legends of Avantris type of campaigns.
@wind raptor
How do you stop Canadian bacon from curling in the pan?
||You take away its broom||
They just have fun, and laugh until they start krampusing.
Everyone is antagonistic. Everyone is amiable.
Never kill a character when the player isn't there
That's fucked
@verbal zenith Yo
How do you even kill a character when the player isn't there?
Hello ๐
Isn't the character death based on the dice roll by the player and dm?
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.
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
Is Bruce Wayne a D&D adventurer?
GURPS more likely
Chuckles, "Chucools chucools, war crimeee!"
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.
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.
I have my work related question
I have a question?
Just tell me when you guys are done, I'll ask in vc
Ko-Fi: https://ko-fi.com/senn_
FLAC and MP3: https://drive.google.com/drive/folders/1XtAacHlk_fPZ9_pJ2pC2DL090Y2wmCPp?usp=sharing
Also known as A Line in The Sand in the vinyl/cassette release. A much awaited track on this channel. Fully restored and cleaned up samples with a modern mixing style.
Twitter: https://twitter.com/senn_twt
What are the three worst mistakes in business?
- Overpromising.
- Underdelivering.
When will my turn come?
Also why everyone's so serious today?
Is everything good guys?
We're just having a conversation about something serious. Happens
How long would it take
I... don't know?
Btw did someone die?
No, not in this case
@formal meteor Yo
Like a tv show with so much suspense
@steep vortex Has anyone mentioned you sound like you're speaking up from a bathroom sink drain?
no
Why was Pavlov's hair so soft?
||He conditioned it.||
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.
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.
HA
Did you hear about the cheese factory that blew up in Paris?
||De-brie was everywhere||
Nerd talk is boring
something less boring like particle physics ofc
Don't worry, I have a few more awful jokes to write out
gf fr
This hurts my eyes
๐ญ
Comment: Who won? iTUNES: http://bit.ly/NerdvsGeekSong
Get the hookup on electronic deals: http://www.TigerDirect.com/RL
FREE karaoke/instrumental version. Make YOUR own video, win a prize pack!
Details here: http://tmblr.co/ZmoiTvwh9zMO
LIIINKS-
FACEBOOK! http://facebook.com/rhettandlink
TWITTER! http://twitter.com/rhettandlink
TUMBLR! http...
If you're scared of air pressure, do you have an atmosfear?
...
fear of a fear is a fear or not a fear?
fear of fear makes my breain hurt
@swift valley ๐

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.
there there
Hey, how's it going?
https://github.com/tgstation/tgstation/blob/master/code/modules/atmospherics/Atmospherics.md
Here's the link to what I'm kinda trying to copy, if anyone just wants to read it as a novelty
The /tg/station branch of SS13. Contribute to tgstation/tgstation development by creating an account on GitHub.
kwrite is becoming one of my favourite code editors
!ban 745073145903448196 Harassing staff is unnacceptable. If you can't say something nice, don't say anything at all.
:incoming_envelope: :ok_hand: applied ban to @vast iris permanently.
a what:
what did I do
this might be because of a reboot and it just took a long time to detect that
its a changelog.. ?
(Zabbix alert)
https://github.com/HavenSelph/ruse
btw here's the progress
stars got removed lmao, had to recreate
!paste
Well.... How many licks to the center of the voice chat lollipop?
@somber heath
@calm smelt What is ruse?
@calm smelt go to bot commands channel and send "!user"
@mystic 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.
@calm smelt how long have you been coding in python?
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?
One message removed from a suspended account.
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.
@whole bear๐
can i tell you something
The 1.0 RISC-V Vector Specification is now Ratified, and the first pieces of silicon using the new spec are starting to hit the shelves. I go over the utility of Vector Instructions, why you would want them, why you should care, and how to use them in raw assembly code! We also touch on some complex computer engineering topics like Vector Leng...
jus call me hunter
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.
make sense
Love is an emotion, broadly speaking, a reaction. We can choose to attempt to influence our reactions, but we do not decide our reactions.
dang, thanks man wow
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)
@whole bear #voice-verification
damn i got nausea looking at those mathmetical terms
One message removed from a suspended account.
reminds me of this
I'm looking for a mentor
@rugged root
No pets were harmed in the making of this video.
Stream / Buy here: https://onerpm.link/EatingTheCats
Disclaimer: as a South African, I am non-partisan in my support for either Kamala Harris or Donald Trump in the US elections. I just thought the clip of Trump was funny and I wanted to make it into a song that could make a difference in the li...
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Log
"my eyes are up here"
One message removed from a suspended account.
Normal vs pug
One message removed from a suspended account.
Jikky
One message removed from a suspended account.
One message removed from a suspended account.
@rugged root can you fix the vc server location hop issue or is it just whole Discord?
One message removed from a suspended account.
Whenever anyone leaves, (everyone?) gets disconnected and reconnected.
One message removed from a suspended account.
Nyaw
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
squash
@chrome pulsar ๐
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
#ot2-never-nesterโs-nightmare
Please read our off-topic etiquette before participating in conversations.
Start by briefly explaining your problem, and show your code.
not neccassarly haha
!paste
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.
In case it's too big to paste in chat.
Code please.
Seems like a scope problem.
i think so aswell but still a bit confused
@somber heath rolling paper or rolling sleeves?
Rolling Rs.
The letter.
@arctic needle ๐
@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.
@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
@slender elbow, your methods are in a global scope it seems, and you never created the variables you're trying to use
Click here to stream and download more music from E-Type: https://lnk.to/E-Type
#EType #Life #NanaHedin
hello
@slender elbow, Did you figure it out?
@swift pollen ๐
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
!stream 669814900142505984 1h
โ @worldly robin can now stream until <t:1726247811:f>.
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.
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 ๐
sounds reasonable.
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?
@somber heath not in vc
!voice
Anybody to help with git????
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@serene locust Be sure to read the instructions and pay heed.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
One message removed from a suspended account.
Cris, u do the honnors
U can't share the screen without permission
Fixed!!!
Maybe!
video role?
ahhh
Sorry I'm not really around right now. Getting the apartment cleaned up before my in-laws show up, letting Joi rest more, etc
!stream 301331645829480449 30M
โ @serene locust can now stream until <t:1726248288:f>.
Don't worry about us, we're fine.
Like the dog in the burning room fine or damn gurl opal's booty is fine
Or some other less interesting fine
Sounds like an average pydis vc day
Is it me dcing?
This is a discord problem?
Thought it was just me. That sucks though
Eh, fixed now
Bursa
fr
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
@serene locust, if dealer_value <= 17:
and below you're checking if it is above 21
saw it just tring to get a structure
np
Lookin juicy
you got cutiepie, i got PyQt
we aint the same
Eat blueberris in a cup, no need to pick the berries
reminds of this braindead meme I made
source:
catosis
?
cat mitosis
Spidercat?
but thanks mate ๐ beginner jurney is hard-
...why is the "return" not working dam it
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
@serene locust you are in a function, correct?
jep
@serene locust you can only use return inside a funciton lol
The error you're getting is saying it isnt
wait a minut... -.- i moved this code part out of the funktion.
Oof
opal's booty always hella fine ๐
@sour imp, have you tried modifying/programming your own model?
how do you know this?
@sour imp, In this day and age
AAA
Buggy on release
Is speed tied to framerate?
Its a fun gadget
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.
One message removed from a suspended account.
Hi everyone, I'm Dr.President, I have close to 0 experience to coding and was wondering where to start?
ะฟะฐ
I quite enjoyed Automate the Boring Stuff
One message removed from a suspended account.
One message removed from a suspended account.
@still hinge @sleek zodiac ๐
What's up? ๐
What sort of thing are you working on?
!code
Let's take a look, then.
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")
I don't know what that is.
Deal or No Dealโข is a game show on NBC. You can click here to play it (requires Flash).
old waterloo competition
it kinda half works
some of them work but the other ones dont
use else instead of if ๐
something like the following:
if avgbfc <= deal:
print("deal")
else:
print("no deal")
yeah i did that
but
it still doesnt work
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
okey doke thanks
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 ๐
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
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?
@calm smelt @wind raptor @jovial iris @somber heath
Never heard of it. Can you explain what it is?
basically just making website for business
I recommend checking out Elysia which uses Bun
It's similar to express but much faster
I found it just as easy as express
So your saying you want to teach yourself the skill?
kinda. Honestly i just dont know where to start
Yeah learn the skill on web dev. learn it myself
so.. any insight?
Thank youu
Gotta go. Cheers!
It was nice to talk to you, I was very happy and joyful to talk with you.
Learn the steps behind Boids Algorithm - an artificial life program that simulates the flocking behavior of birds.
#programming #computerscience #science
๐ฌ Chat with Me on Discord
hey
hello!
would ypu help me with my coding export ?
the program runs perfectly but im confused on how my prof wants it exported
Idk sorry
oh okay
@whole bear ๐
hello
how are you
i speak frenche my english is so bad xd
@eternal hawk ๐
@__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__)
@subtle briar ๐
May I ask what you are talking about?๐
.
With strawberries is good too
PyCharm
๐
i didnt see that
that was my only question, i forgot what it was
thanks guys
@rough loom ๐
I am
Have you ever thought about making your own extension?
@deep lynx ๐
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
@cloud pond ๐
do you know me
already forgot how the story started, way too long
@quartz beacon you have successfully :q!d out of this text quest
@quartz beacon @fallen raft
Delete it.
oh that also reminded of another meme
๐ช
why i can't use my freedom of speech
!voice
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
you guys follow dictatorial system
did you mean totalitarian
wdym instead of
I have not seen that missaid accidentally
Joined a server where you canโt talk for 3 days. Feels less like a community, more like a hostage situation
those are quite closely related
dictor -- says
dictator -- says and other do it
in what way is that a "hostage situation"
i have fetish on hostage situation so i kinda like it
what
whatt
๐๐๐
knock knock
You don't have to stay though.
I said knock knock give me attenssion
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.
I was just joking
@sage basaltI am gay
we will get along
I do stuff with my father only
I would say I am in comited reletionship with him
i did :)
I would love that
In my contry we call it orgy
why not you should
in my country we call it mentally ill or autistic
nah we just call it gay
nice



