#voice-chat-text-1
1 messages · Page 14 of 1
side or sided?
sided sorry
are we actively creating time paradoxes?
??
what's on the stream
how do you check that sided is a list/tuple?
yes?idk????
no ")"
"pourly" instead of "poorly"
reliable backup storage
Dude what is the resolution on your computer
that's inside the explorer (on the left)
I'd rather not bother enabling the desktop icons
90% of what I had sent there was because of Visual Studio acting stupid
I just always use shift+del
Same
"it almost works"
@delicate wren hi
Extension for Visual Studio Code - Syntax Highlighting for Aecor
who?
halal and vegan do not go together smh
but still keep it halal ...
not haram
I am not vegan smh
neither
why not
sus
do you already like me or some shit
that was so quuick
Intriguing 
heyhey
print_statement->expr = consume_wrapped(TokenType_Lparens, TokenType_Rparens, [&]() {
parse_expression(...)
});
@ornate cobalt try recursive wildcard imports
PyCharm will meltdown after 2~3 levels
and that's python only
@candid garnet colours are derived from usernames, probably
VC default backgrounds are procedural-ish too
at some point, resizing the window was almost enough to change it (because sampled locally)
@delicate wren Yu did you change your username?
more than once
lol from 2 days i was finding your id
and more than 3 days ago
?
even you remove from firend list
its was quit hard to find
I have no one from this server in the friend list since I re-joined last time
ok
coz private text was off
on what stuff you guys are working on?.
on stream:
https://github.com/mustafaquraish/aecor
Statically typed programming language transpiled to C - GitHub - mustafaquraish/aecor: Statically typed programming language transpiled to C
@umbral rose what you coding?
y cant i speak
ah shit
well here i am now
seen you in vc for quite a while
whatre you doing
i see
the French can't help anyone
!stream 1034215559220432916
✅ @misty sinew can now stream until <t:1686680427:f>.
@tranquil drift https://fastapi.tiangolo.com/lo/tutorial/security/oauth2-jwt/
FastAPI framework, high performance, easy to learn, fast to code, ready for production
Kryptos is a sculpture by the American artist Jim Sanborn located on the grounds of the Central Intelligence Agency (CIA) headquarters, the George Bush Center for Intelligence in Langley, Virginia. Since its dedication on November 3, 1990, there has been much speculation about the meaning of the four encrypted messages it bears. Of these four me...
@atomic hinge https://github.com/MichalKacprzak99/pathfinding-pygame
Actually I wonder if Intel makes any kind of RISC chips...
It takes speed, stamina and livestock savvy to be the best in the country when it comes to auctioning cattle. Bailey Ballou is a repeat winner at the annual event taking place, this year in Turlock, California. But also in the competition is a young man with the rhythm of a rap superstar, 18 year old Blaine Lotz.
There’s a tsunami of science spam on YouTube. Why does it all look the same? How much harm does it do? Do not watch these low-effort, AI-generated, cash grabs.
💪 JOIN [THE FACILITY] for members-only live streams, behind-the-scenes posts, and the official Discord: https://www.youtube.com/channel/UCFbtcTaMFnOAP0pFO1L8hVw/join
💪PATREON: https://w...
!stream 360284932469293056
✅ @atomic hinge can now stream until <t:1686696952:f>.
!e
x = 0
while x < 10:
x += 1
if x < 5:
continue
print(x)
@umbral rose :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 5
002 | 6
003 | 7
004 | 8
005 | 9
006 | 10
@candid garnet :white_check_mark: Your 3.11 eval job has completed with return code 0.
laptop1
@candid garnet :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | laptop1
002 | smartphone03
!e
x = 0
while x < 10:
x += 1
if x < 5:
pass
elif x >= 5:
continue
print(x)
@sly thicket :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
004 | 4
The first if is not needed
this exemplifies the difference between pass and continue
pass will make the loop keep running until the end, continue will stop the iteration and back to the start of the loop
no problem
!e
from keyword import iskeyword
print('hello'.isidentifier(), iskeyword('hello'))
print('def'.isidentifier(), iskeyword('def'))
@sly thicket :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | True False
002 | True True
!e
class Foo:
def __init__(self, x):
self.x = x
def __add__(self, other):
""" Overrides the + operator to behave like * operator """
return self.x * other
foo = Foo(10)
print(foo + 10)
@sly thicket :white_check_mark: Your 3.11 eval job has completed with return code 0.
100
:incoming_envelope: :ok_hand: applied timeout to @candid garnet until <t:1686704558:f> (10 minutes) (reason: emoji spam - sent 41 emojis).
The <@&831776746206265384> have been alerted for review.
!unmute 924010347264897024
:incoming_envelope: :ok_hand: pardoned infraction timeout for @candid garnet.
!stream 385253945674563596
✅ @fresh isle can now stream until <t:1686711267:f>.
!stream 385253945674563596
✅ @fresh isle can now stream until <t:1686712140:f>.
wrong in Rust
(last ones are expressions not statements)
errors in:
- Algorithm
- Comment
- Debugger
- Exception
issues with:
- float
- function
- global variable
errors in:
- Method (in python)
- Notebook
issues with:
- IDE
- Interpreter
errors in:
- Parsing
- Programming
- Return statement
- Syntax error
- Tuple
- Type error (correction because it sounds funny: error that results from using the wrong data type or using the given data type wrongly)
issues with:
- Syntax
except for for
other two are expressions not statements because they are can be used as values (and have an explicit type)
if-else's type can be anything
if's type is ()
return's type is !/Infallible
though this one probably is () too
and loop is different from for because it can be of any type
this compiles
let c = for i in [0] {};
🦜
if the quene is a list, perhaps reassements can be done if the quene becomes a list of list.. i say no more to hide all further usage id could suggest from that.
This is the face of someone who would fart in the car and lock the doors and windows
While staring at you with that expression
@stuck bluff We're getting noise from you my friend
All good, don't sweat it
I just want to make sure my morels align with yours
🎶 This is the song that never N's 🎶
Oh no wait
🎶 This is the sog that ever N's 🎶
@hollow bay
@misty sinew Yo
greetings
oh some rich guy
did you see the ai car get pulled over?
better question did the AI know it was getting pulled over?
Video of a traffic stop in San Francisco, California is going viral.
The reason?
The vehicle the police pulled over had no driver.
The driverless car was pulled over because it was driving at night without headlights on.
can someone share a good resume template ?
yes it was
I think #career-advice Has one somewhere
or a good source to build one
i am thinking to rebuild my resume
ahh oki
Snoop, the best resume templetes are versions of the truth that seem likely in a grander context.
a work history could be a 2 hour montage of you writing out what should have taken 2 mins.
"The patient needs more mouse bites."
no go
all of us
You do the inhaling face.
"I am showing you my nostrils and my open mouth, this indicates I'm about to speak. I may also gesture."
@halcyon notch The most intelligent people are often shit at life.
Artists, same deal.
Still on this?
The way I look at it is, parts of the brain go brr, and the rest of it goes ahh as a result, and everything collapses, like high power fuel in a stock engine.
You were saying you weren't intelligent, I think. I was meaning to disagree with what you said, but I have sneeze brain.
@ember stream The context
I sneeze, I sneeze again, I sneeze forever.
my stable diffion broke for a sec
@mild flume I was just thinking Gatorade because of the salts.
lol
what are you running SD on?
rtx 3060 12gb
If you have computers in your shoes and you need to restart them, is that called rebooting?
he is dying
I'd be surprised if there weren't bluetooth pedometers built into shoes.
Hm. Pedometers for shoes.
Not so much built in.
class NumArray:
def __init__(self, nums: List[int]):
total = 0
self.sums = [(total := total + x) for x in nums]
def sumRange(self, left: int, right: int) -> int:
return self.sums[right] - (left and self.sums[left - 1])
\
class NumArray:
def __init__(self, nums: List[int]):
self.cumulative_sums = [0]
cumulative_sum = 0
for num in nums:
cumulative_sum += num
self.cumulative_sums.append(cumulative_sum)
def sumRange(self, left: int, right: int) -> int:
sum_before_range = self.cumulative_sums[left]
sum_after_range = self.cumulative_sums[right + 1]
return sum_after_range - sum_before_range
@ember stream https://boardgamegeek.com/boardgame/176/give-me-brain
yes
Mom said it was my turn with the brain.
i use tts to read chat
@misty urchin What's the question?
Go faster
@solid gyro 'ello
be back soonish.
Hey ppl
How's it going
can you give me a random hex color?
000001
Yea cool.
What are we discussing, the IDEs?
That and the language that mustafa wrote
okay, i see
.
Protein poisoning (also referred to colloquially as rabbit starvation, mal de caribou, or fat starvation) is an acute form of malnutrition caused by a diet deficient in fat and carbohydrates, where almost all calories consumed come from the protein in lean meat. The concept is discussed in the context of paleoanthropological investigations into ...
that's a very shy bear
There is considerable overlap in intelligence between the smartest bears and the dumbest people
Which is why bear-proof trash cans are actually impossible
untrammeled
not confined or limited
a fishing net with three layers; the outer two are coarse mesh and the loose inner layer is fine mesh
Lobstahs
Erh mah gurd, lurbsturs
woodworm
Nope, you stay
Time for some therapy
I’ll join this sunburn party
Yes I lost the genetic lottery for my hairline at 30
Actually want that asap
handsome
Right?
uh oh
How
twitch stream + discord stream + game + streaming to discord all at once every day after 5
might be that
Fair
I don't go over 100G a month unless I watch 4k movies
hhhhhhhh
@candid garneti cnat talk
what are u doing ?here
I did not meet the voice requirement
yes hhhhh
100 GB in 30 days only on discord
I have no clue how
I chatted privately with my friend yesterday, but I kept failing to connect. Later, I created a new server, and he joined the call. Have you ever encountered this problem?
DM calls certainly have some issues
strange,i dont know how to solve
cursed
that's 8.63 GB of text
just text
that's what happens if you leave htop open over ssh
windows settings thing
it's no necessarily internet
LAN counts too
VS Code at only 439 MB
that's only local updates
whereas this is the actual usage by VS Code
22
most of what I do with VS Code is on another computer
ssh
VS Code allows connecting over ssh
so
VS Code is running on the server
GUI is running locally
it's powered via an uninterruptible power supply
power issues sometimes happen here, so that actually matters
can't power my PC via UPS
PC uses 1KW, UPS output is 600W
I don't understand network settings,just ...... i just wait until my friend wakes up to try again. . .
in server VC you can change the voice region
sometimes changing it and changing it back might help because it forces the connection to change if the voice server has issues
^ UPS
just a battery
and it beeps very loudly when the power is out
docker
- I need some things to run 24/7
originally it was only a discord bot
(on the previous server)
4~5 years ago
it had, like, Ubuntu 14
(on ARM)
and now it's 33 containers
where to change ? where ? which?
okok I found it, when my friend wakes up, I'll try it with him.thanks~~~~~
- don't try to ping everyone
- see rule 4
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!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 floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
do you have a GitHub repo, if that's multiple files?
@crystal aurora
have you used this thing?
https://mozilla.github.io/rust-code-analysis/
This book documents rust-code-analysis
"checking"
- cargo check
- cargo clippy
language server
- rust-analyzer
metrics
- rust-code-analysis
There are modules in Python that provide a SQL interface.
Python is good for rapid prototyping even for this
Or you'd stick in a floppy and run the install file.
Not all efforts are futile.
Not all endeavours succeed.
You want to know something stupid? It looks like if you select a minimal install of Ubuntu, it first installs everything in the normal install, then uninstalls stuff to bring it down to the minimum.
by stochastic means
Stochastic is synonymous with random. The word is of Greek origin and means pertaining to chance. It is used to indicate that a particular subject is seen from point of view of randomness. Stochastic is often used as counterpart of the word deterministic, which means that random phenomena are not involved. Therefore, stochastic models are based on random trials, while deterministic models always produce the same output for a given starting condition
based on or subject to individual discretion or preference or sometimes impulse or caprice
I've tried everything, still no module named pip, gelp me please..
hmm, where is the model you installed?
I downloaded python from the site
ok so have you made a effort install pip as per instruction found all over the internet??
its a been a while since ive been on windows
class pacman_player():
def __init__(self):
pacman_image = pygame.image.load("pacman.png").convert_alpha()
pacman_image_resized = pygame.transform.scale(pacman_image, (30, 30))
left = pygame.transform.rotate(pacman_image_resized, 180)
right = pygame.transform.rotate(pacman_image_resized, -180)
up = pygame.transform.rotate(pacman_image_resized, 90)
down = pygame.transform.rotate(pacman_image_resized, 0)
pacman_image_resized_direction = [left, right, up, down]
pacman_rect = pacman_image_resized.get_rect()
pacman_rect.centerx = 333
pacman_rect.centery = 514
pacman_X = pacman_rect.centerx
pacman_Y = pacman_rect.centery
screen.blit(pacman_image_resized_direction[0], pacman_rect)
run = True
while run:
timer.tick(fps)
screen.fill('black')
draw_board()
pacman = pacman_player()
pacman.__init__
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
pass
pygame.display.flip()
pygame.quit()
rotated_image = pygame.transform.rotate(image, 45)```
I want to use this code to rotate it.
dog = Dog(name="steve")
dog_name = dog.name
rotated_image = pygame.transform.rotate(image, 0)
rotated_image = pygame.transform.rotate(image, x)
!code
class pacman_player():
def __init__(self):
pacman_image = pygame.image.load("pacman.png").convert_alpha()
pacman_image_resized = pygame.transform.scale(pacman_image, (30, 30))
left = pygame.transform.rotate(pacman_image_resized, 180)
right = pygame.transform.rotate(pacman_image_resized, -180)
up = pygame.transform.rotate(pacman_image_resized, 90)
down = pygame.transform.rotate(pacman_image_resized, 0)
pacman_image_resized_direction = [left, right, up, down]
pacman_rect = pacman_image_resized.get_rect()
pacman_rect.centerx = 333
pacman_rect.centery = 514
pacman_X = pacman_rect.centerx
pacman_Y = pacman_rect.centery
screen.blit(pacman_image_resized_direction[0], pacman_rect)
run = True
while run:
timer.tick(fps)
screen.fill('black')
draw_board()
pacman = pacman_player()
pacman.__init__
for event in pygame.event.get():
if event.type == pygame.QUIT:
run = False
if event.type == pygame.KEYDOWN:
if event.key == pygame.K_LEFT:
pacman_player.rotated_image = pygame.transform.rotate(image, 0)
pacman_player.rotated_image = pygame.transform.rotate(image, 180)
pygame.display.flip()
pygame.quit()
!e
print('xd')
@vivid condor :white_check_mark: Your 3.11 eval job has completed with return code 0.
xd
@warped veldt which model is your AI based on?
no im asking about the model
the architecture
yeah
so RLHF
pacman_player.rotated_image = pygame.transform.rotate(pacman_image_resized, 0)
class pacman_player():
def __init__(self):
pacman_image = pygame.image.load("pacman.png").convert_alpha()
pacman_image_resized = pygame.transform.scale(pacman_image, (30, 30))
left = pygame.transform.rotate(pacman_image_resized, 180)
right = pygame.transform.rotate(pacman_image_resized, -180)
up = pygame.transform.rotate(pacman_image_resized, 90)
down = pygame.transform.rotate(pacman_image_resized, 0)
pacman_image_resized_direction = [left, right, up, down]
pacman_rect = pacman_image_resized.get_rect()
pacman_rect.centerx = 333
pacman_rect.centery = 514
pacman_X = pacman_rect.centerx
pacman_Y = pacman_rect.centery
screen.blit(pacman_image_resized_direction[0], pacman_rect)
lmao
most of the python libraries are bloat
pygame bloat
opencv bloat
requests bloat
US?
paste the code here
the entire code
vscode
bla bla bla
hmmmmmmmmmmmmmmmmmmm
pro computer user
lmaoooooooooo
im black
brah you gotta do it per social standing.
lmao
👍🏿
lmaooooooo
okok
i believe u
"i can record myself for u"
!code
@ornate cobalt RcChars should be in an isolated module (can just be a small mod {} inside the existing file) so unsafety is properly contained
mod module_name {
...
}
like I did originally
#voice-chat-text-0 message
organising for safety is one of the reasons why it's useful
(in case the repository has some policy restricting file count)
use super::*;
.
it contains two pub things
then
use self::rc_chars::*;
self -- current module
super -- parent of the current module
::super -- parent of another module
crate -- root of the crate
not a good example
for a number of reasons
!e py data = [(1, 3), (2, 2), (3, 1)] data.sort(key=lambda a: a[1]) print(data) data.sort(key=lambda a: a[0]) print(data)
@stuck bluff :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | [(3, 1), (2, 2), (1, 3)]
002 | [(1, 3), (2, 2), (3, 1)]
!e
def for_each(iter, fn): # Pretty much map just want to show you what it's doing
return [fn(x) for x in iter]
x = [1,2,3,4]
for_each(x, print)
@ornate cobalt :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
003 | 3
004 | 4
!e
def for_each(iter, fn): # Pretty much map just want to show you what it's doing
return [fn(x) for x in iter]
x = [1,2,3,4]
x = for_each(x, lambda y: y+1)
print(x)
missing print?
@ornate cobalt :white_check_mark: Your 3.11 eval job has completed with return code 0.
[2, 3, 4, 5]
iter -> iterable/it
(for naming)
@golden tendon git fetch+pull is enough to sync everything usually
or "sync" operation which is defined in GitHub Desktop, IntelliJ, VS Code, Visual Studio, etc.
it's just git pull, git push
https://docs.github.com/en/codespaces/developing-in-codespaces/developing-in-a-codespace?tool=vscode
To use GitHub Codespaces with a JetBrains IDE you must have already installed JetBrains Gateway
did Gateway become free?
and Code With Me is paid
remote development for IntelliJ
they're trying to compete with VS Code Remote
> installing the IDE and running it for you
just like VS Code Remote
if you have PyCharm installed, might as well just use it
instead of connecting to code spaces
unless you're ready to pay for code spaces, a lot
is Fleet just IntelliJ's version of VS Code?
underabstracted, even for this small of a codebase
step 1. remove from tkinter import *, either use tk.Label or from tkinter import Label
!pep8
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
• PEP 8 document
• Our PEP 8 song! :notes:
You don't know what names you're adding to the namespace.
PyCharm melts down performance-wise when it tries to handle recursive wildcard imports
(idk if Pyright does it smarter)
having to wait 1~10 seconds for each import change to be understood by the IDE is not fun
in Rust that would be "don't use pub use module::*;" (wildcard re-export)
import tkinter as tk
class App:
def __init__(self):
self.root = tk.Tk()
def run(self):
self.root.mainloop()
if __name__ == '__main__':
App().run()```
on Rust's wildcard imports, and wildcard imports in general
Rust and other statically compiled languages generally handle wildcard imports a little bit better
if the reason why you use * is that otherwise the import would be too long, then the thing, that you import from, shouldn't be a single module or shouldn't be imported from (instead imported as a whole)
if you write such module, simplify it
if you use such module, import it as a whole and access it as a module
!e
from tkinter import *
print(len(globals()))
@delicate wren :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "/home/main.py", line 1, in <module>
003 | from tkinter import *
004 | File "/usr/local/lib/python3.11/tkinter/__init__.py", line 38, in <module>
005 | import _tkinter # If this fails your Python may not be configured for Tk
006 | ^^^^^^^^^^^^^^^
007 | ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
@delicate wren :x: Your 3.11 eval job has completed with return code 1.
001 | File "/home/main.py", line 1
002 | from __future__ import *
003 | ^
004 | SyntaxError: future feature * is not defined
>>> len(globals())
7
>>> from tkinter import *
>>> len(globals())
138
>>>
no
_name entries are not imported
one of the functions of _ prefixes
@ornate cobalt :x: Your 3.11 eval job has completed with return code 1.
001 | /home/main.py
002 | Traceback (most recent call last):
003 | File "/home/main.py", line 2, in <module>
004 | from tkinter import *
005 | File "/usr/local/lib/python3.11/tkinter/__init__.py", line 38, in <module>
006 | import _tkinter # If this fails your Python may not be configured for Tk
007 | ^^^^^^^^^^^^^^^
008 | ImportError: libtk8.6.so: cannot open shared object file: No such file or directory
__all__ restricts that even further
!e
print(__file__)
from json import *
print(__file__)
@ornate cobalt :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | /home/main.py
002 | /home/main.py
!e
print(len(dir(__builtins__)))
print(dir(__builtins__))
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 151
002 | ['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BaseExceptionGroup', 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning', 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError', 'ConnectionRefusedError', 'ConnectionResetError', 'DeprecationWarning', 'EOFError', 'Ellipsis', 'EncodingWarning', 'EnvironmentError', 'Exception', 'ExceptionGroup', 'False', 'FileExistsError', 'FileNotFoundError', 'FloatingPointError', 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError', 'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError', 'IsADirectoryError', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'ModuleNotFoundError', 'NameError', 'None', 'NotADirectoryError', 'NotImplemented', 'NotImplementedError', 'OSError', 'OverflowError', 'PendingDeprecationWarning', 'PermissionError', 'ProcessLookupError', 'RecursionError', 'ReferenceError', 'ResourceWarning', 'RuntimeError', 'RuntimeWarning', 'StopAsy
... (truncated - too long)
Full output: https://paste.pythondiscord.com/bevonehami.txt?noredirect
still less than builtins
recursive import * just doesn't go well with IDEs
from module import *
whatever that module exports, shouldn't come from wildcard imports itself
^wrong
$ /home/codespace/.python/current/bin/python3 /workspaces/project-peacock-rpg/0.00.05/core_programes/screen.py
pygame 2.4.0 (SDL 2.26.4, Python 3.10.8)
Hello from the pygame community. https://www.pygame.org/contribute.html
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
^CTraceback (most recent call last):
File "/workspaces/project-peacock-rpg/0.00.05/core_programes/screen.py", line 25, in <module>
clock.tick(60) # limits FPS to 60
^less wrong
for pygame, you have to run it locally
like, graphics
but you need specific thing
German pronunciation
(for last name)
((not for first name))
if you're on replit, you need PyGame not Python
if you use code spaces, you can't use pygame there yet
this
I have an awful idea
to make a PyGame kernel for Jupyter
yes
@ornate cobalt make them work, then make them always throw syntax warning
just as things should be
@ornate cobalt randomly quiz the programmer on what names are getting imported
if they fail, rebase + force-push to clear the repository
what's the point of doing PCA in that code?
metatemplates
struct Foo<T> {
x: T<i32>
}
@pale pivot
Monads in Aecor
(abstract Monads)
I don't remember eactly how deep that meta thing is in my code
there are things generic over Context
Context can give a monad for each error
each monad is generic over the type of the wrapped value
!charinfo А
\u0410 : CYRILLIC CAPITAL LETTER A - А
!charinfo charinfo
\u0063 : LATIN SMALL LETTER C - c
\u0068 : LATIN SMALL LETTER H - h
\u0061 : LATIN SMALL LETTER A - a
\u0072 : LATIN SMALL LETTER R - r
\u0069 : LATIN SMALL LETTER I - i
\u006e : LATIN SMALL LETTER N - n
\u0066 : LATIN SMALL LETTER F - f
\u006f : LATIN SMALL LETTER O - o
\u0063\u0068\u0061\u0072\u0069\u006e\u0066\u006f
I'm just in the vc
Doing nothing rn
Nah
Not much
I have to go rn
Nice to meet you too
Lol
Cya later
yeh
heeloo
your voice is niceee
no i am suppresed
to speak
can't speak
50 more msg to send
no new to the server
howwwwwww
ok send me 10$$ so i can buy nitro
sarcasm
haha
just joking
but i have to buy the nitro
that's gif not gift
i keep hearing gift
wait
i also want to talk
noooo
yeah
this evil
noooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
i want voice not legs
wait 1sec accept my request
??
friend request man
uffff
invite me any other vc so i can talk
like the mermaid
:incoming_envelope: :ok_hand: applied timeout to @scarlet summit until <t:1687055253:f> (9 minutes and 59 seconds) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
thank you. Can someone help me with this?
For context carNames are carnames and I want to get the first word out of the list.
if not(carnames[i].split() in lst):
lst.append(carnames[i].split()[0])
!tvmute 865170731276042262 "1 week" Spamming messages to up your message count is not the way to get voice verified. You can still join voice channels without being verified; you just have to get some legitimate server activity in order to get verified.
:incoming_envelope: :ok_hand: applied voice mute to @scarlet summit until <t:1687659593:f> (7 days).
shouldn't it be carnames[i].split()[0] inside if too?
if carnames[i].split()[0] not in lst:
lst.append(carnames[i].split()[0])
carnames[i].split()[0] should can be put in a variable, I guess?
though I'd suggest to use set instead
lst is a set
[] is a list, given how you use append on it
sets use add method instead
!e
example_list = []
example_list.append(11)
example_list.append(11)
print(example_list)
example_set = set()
example_set.add(11)
example_set.add(11)
print(example_set)
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | [11, 11]
002 | {11}
character.ai is bringing to life the science-fiction dream of open-ended conversations and collaborations with computers.
heyho, I can't speak out loud yet but thought I'd say hi anyway^^
oh hi person! happy sunday to you too!
what are you people up to btw^^
hi!
experimenting with graphs
(in this example, it's a plot of how a certain code repository evolved; each colour is a separate file)
hi human!
oooooh that looks cool
y cant i talk i n vc
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
it's gonna take a bit of messaging first though^^
i think that I might head off cause I can't rly talk anyway but yee
happy timezone everyone :)
oops forgot to press leave
anyway
see y'all!
!voice
the actual verification is in another channel
the voice-verification one
it also has instructions on how to verify^^
@umbral rose
hi
there
im currently muted
😭
bc i havent verifiedyet
what you been up to?
@candid garnet
so a single burger costs $7
we sell things called "brownie bites"
which is like an inch
and it costs like $3
they are literally a tiny tiny mouthful
yes
like its not evem a mouthful
they sell out so quick
i stg
im not paying for it
nah i could probably get it for free but i refuse to even try
?
starbucks is the greediest company
its made in a factory
and then its boxed
hell nah
we once had loads and loads of food go out of waste
like over 300$ worth
so me and a friend gave it to a homeless shelter
LITERALLY
YES
we nearly got fired
starbucks is a stupid company
they are nuts
they would go in the bin
bro i swear every shift is like im getting robbed
im the middle man
to a robbery
acomplice
😭
i started when iw as 16
but that was a few years ago
@mild flume clould you please delete the messages you sent also yes this is a message test
i first started working wehn i was 14
10 hours a day for $1 an hour
it was for a shady man selling phone cases
very true
yeah i was earning more than all us restaurant waiters at 14
hmm?
definitely
what was ur first job gofek
maths tutor when u was 1"?
12
gifted mf
snowball
what languages do u know>
u just know python and e
english
🤣
it is the hardst language
there is like 64 definitions for the word "set"
idk how my dumb ass knows english
no ther good ones
other
no other good ones
only heinz
ive had heinz my whole life, i dont even know if other are better
what if the grass if greener on the other side
dont risk it
DONT RISK IT FOR THE KETPCHUP
biscuit, fine
DONT RISK IT FOR THE BISCUIT
^^ better punch line
brain 200
the angels whispered in your ear "risk it for a biscuit"
heheheeh
[2;33m[0m[1;2m[0m[4;2m[0m[2;33m[2;35m[1;35mcommunity [0m[2;35m[0m[2;33m[0m
hey please delete that message! @crystal aurora
hey please delete that message! @crystal aurora
risk it for a parrot
!stream 961672806444204094
✅ @lilac spear can now stream until <t:1687230684:f>.
!stream 776004461659160577
✅ @dry pendant can now stream until <t:1687230708:f>.
!stream 209443096990187520
✅ @misty sinew can now stream until <t:1687230713:f>.
@delicate wren please delete the message you sent in voice chat text 0
what message?
and why?
those nessages and because it says so in the message
what do you mean "because it says so"?
just do it please
why?
hello i need help in my program of building a roulette table
[2:45 PM]
here is the code
[2:45 PM]
import random
name = input("Hello please tell us your name: ")
print(f"Hello Mr {name} welcome to the roulette table")
print("Insert 100 bucks to play")
table = ['RED', 'BLACK', 'GREEN']
choice = random.choices(table, k=1, weights=[18, 18, 2])
colour = choice
if colour == 'BLACK':
print("You owe the roulette table 100 bucks because it landed at black")
elif colour == 'RED':
print('You owe the roulette table 100 bucks because it landed at red')
elif colour == 'GREEN':
print("Congratulations you won 7000 bucks")
Message #off-topic-lounge-text
yo
Iron Sky - movie , nzee on the moon
a local computer company , memoryexpress , doesnt advertise anywhere , its all word of mouth , they started in one tiny room , now they have multiple stores in each province - with onkly word of mouth advertising
Please keep the posts more server appropriate. People on toilets probably isn't ever appropriate.
Thanks
Anyone here who can take me with them remotely, as if I can learn to coding in python please? I've some hidden autism that need accountable environment to learn with fun! Hope you feel my struggle!
how can i talk
it is great because it doesn't relate to JS at all. it's based on webassembly. I think it will make javascript obsolete. it's just not all that popular yet.
you can't fix DOM
and DOM is that second part of writing front-end that is often hated
pyscript uses pyodide, which is based on cpython
cpython is not JITted
JS is.
pyscript can't make JS obsolete at least because of worse performance
it being compiled to wasm doesn't mean it gets any optimisation
it's still cpython
also, good luck achieving ergonomics of JS lambdas using Python
different languages are for different purposes
"you don't like it" doesn't mean it's going to be obsolete in any way
will it become obsolete before Fortran or after?
when ECMA says it is
there are alternatives definitions too
"we don't want to be responsible for this standard anymore, we don't want to hear about it, leave us alone"
(the problem being a standard organisation can't just do that)
"code written in JS becomes obsolete after only a week"
if someone unironically followed suggestions in every Fireship video:
some take "keep up with" as "use in production"
High-intensity ⚡ code tutorials and tech news to help you ship your app faster. New videos every week covering the topics every programmer should know.
The original home of #100SecondsOfCode #TheCodeReport and #CodeThisNotThat. Created by Jeff Delaney.
Building an app? Get project support, advanced full courses, and more at https://fireship....
PHP is still around. I have no misgivings about this process is a slow one.
is fireship not reliable?
hey
very
Provided to YouTube by The Orchard Enterprises
We Forgotten Who We Are · Crippled Black Phoenix · Justin Greaves · Joe Volk
I, Vigilante
℗ 2010 Kscope
Released on: 2015-09-11
Music Publisher: Domino Publishing Company
Auto-generated by YouTube.
So sad 😭
How much text I've to put here?
I've been trying to talk in server but wouldn't able yet
most of the text you've sent, was you asking when you'd be able to talk
that might delay the time it takes, as a result
yoooo
sup
fair to midland
Iphone is good for security but Android in the other hand is open source and you can try many things in ti
I mean without something like jailbreak or so
custom android distributions aren't necessarily open source
like what??
Would someone mind helping me? I have some homework I am trying to do but my code went from functional to completly broken and now im lost lol
why can't i speak and message in voice chat 0 ???
@zenith wedge Sup
👋
i want to send Gump waving meme, but the phone does not show gif option
Weird
I guess web browser version does not show.
Nae -> (New Ae)cor
!e ```python
from dataclasses import dataclass
@dataclass
class Person:
name: str
age: int
def __post_init__(self):
if not isinstance(self.name, str):
raise TypeError('Name should be of type str')
if not isinstance(self.age, int):
raise TypeError('Age should be of type int')
if self.age < 0 or self.age > 150:
raise ValueError('Age must be between 0 and 150')
a = Person('Bob',5)
a.age = 160
print(a)```
@elder wraith :white_check_mark: Your 3.11 eval job has completed with return code 0.
Person(name='Bob', age=160)
o cane
@stuck bluff : ocen: kinda like ocean but not
also maybe: ocaen but o-cane sounds dumb
objective cane
I googled cane programming language and I found this
one more wrong acronym
cAtegorical atrributE trAnsformation environmEnt
Amazing
!e
from enum import Enum, auto
class Aaa(str, Enum):
AAA = auto()
print(Aaa.AAA)
print(str(Aaa.AAA))
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | Aaa.AAA
002 | Aaa.AAA
why did I think it could've ever printed something different
(after putting into str)
"root of all evil"
!e
from enum import Enum, auto
class Aaa(str, Enum):
AAA = auto()
print(dir(Aaa.AAA))
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
['AAA', '__add__', '__class__', '__contains__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__getnewargs__', '__getstate__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__iter__', '__le__', '__len__', '__lt__', '__mod__', '__module__', '__mul__', '__ne__', '__new__', '__objclass__', '__reduce__', '__reduce_ex__', '__repr__', '__rmod__', '__rmul__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_generate_next_value_', '_member_map_', '_member_names_', '_member_type_', '_missing_', '_name_', '_new_member_', '_sort_order_', '_unhashable_values_', '_use_args_', '_value2member_map_', '_value_', '_value_repr_', 'capitalize', 'casefold', 'center', 'count', 'encode', 'endswith', 'expandtabs', 'find', 'format', 'format_map', 'index', 'isalnum', 'isalpha', 'isascii', 'isdecimal', 'isdigit', 'isidentifier', 'islower', 'isnumeric', 'isprintable', 'isspace', 'istitle', 'isupper', 'jo
... (truncated - too long)
Full output: https://paste.pythondiscord.com/edahexuvaf.txt?noredirect
now to guess what of that isn't str
!e
from enum import Enum, auto
class Aaa(str, Enum):
AAA = auto()
Aaa.AAA.AAA.AAA.AAA.AAA.AAA.AAA.AAA.AAA
@delicate wren :warning: Your 3.11 eval job has completed with return code 0.
[No output]
(somewhat expected to work)
these are from Enum, I guess
'_generate_next_value_', '_member_map_', '_member_names_', '_member_type_', '_missing_', '_name_', '_new_member_', '_sort_order_', '_unhashable_values_', '_use_args_', '_value2member_map_', '_value_', '_value_repr_',
!e
from enum import Enum, auto
class Aaa(str, Enum):
AAA = auto()
print(Aaa.AAA._name_)
@delicate wren :white_check_mark: Your 3.11 eval job has completed with return code 0.
AAA
?
what i made 😅
you mention me
i cant open the mic
i dont have the permison
to write or opening the mic
I think they should add syntax hint on such error
how, for example, compiler suggests changing def to fn
format!, yes
and variations thereof
panic!, println!, print!, write!, etc.
hi
@mild flume were you a real discord mod at some point in your life?
If you're asking about the badge I was in the Discord Moderator Discord before they disbanded it
That's all
if age >= 18:
print("You are an adult!")
if age <= 0:
print("Thats a lie! No way you're "+str(age))
else: print("You are a child, only "+str(18-age)+(" years to go!"))
so smart
@steady finch yo thoughts on chatgpt
I hate peoples attitudes towards it
chatgpt itself is fine
I see alot of people treat it as an all knowing god despite it literally trying to gaslight them while they are showing it to me
code suggestion tool not code generation tool
I guess the gaslight it working
(neither, in reality)
it suggesting non-existing modules to be imported is just epic
lol yeah
hello @delicate wren
are u available for a quick sol for me
tried using async but didn't know how to use it at all as i was using threadPool executer before that
@umbral rose
sorry for the ping
how do i check i much more messages i need for 50 messages
You can search your name in the server
iv been talkin since yesterday
92 resultsss
!user in #bot-commands is more accurate
93 messages
i knew i passed 50 lol
There's a 3 day thing too
singly-linked-list -> linked-once-list
can't find a better backronym for LOL applied to linked lists right now
Better? That sounds perfect.
does anyone know how to solve this? https://leetcode.com/problems/divide-array-in-sets-of-k-consecutive-numbers/
guys i burned linux mint onto my usb and booted my computer with it but i don't know how to turn it back i use windows 11 will it switch back if i take the usb out?
I assume you've figured it out by now, but yes. Shut down, remove, boot.
DM IF U CAN MAKE A YOUTUBE VIDEO UPLOADER BOT IL PAY
hi
why cant I livestream
.topic
complain
PEP 8 is the official style guide for Python. It includes comprehensive guidelines for code formatting, variable naming, and making your code easy to read. Professional Python developers are usually required to follow the guidelines, and will often use code-linters like flake8 to verify that the code they're writing complies with the style guide.
More information:
• PEP 8 document
• Our PEP 8 song! :notes:
Daddy likes svelte
@lean bear how do you improve the scalability within a network model that utilizes authentication, authorization, and accounting within a rest configuration module?
@umbral rose This bullshit
node js?
> how do you improve the scalability
"just don't make it worse in the first place"
https://www.youtube.com/watch?v=cNICGEwmXLU
How can we build large self-healing scalable systems?
In this talk I will outline the architectural principles needed for building scalable fault-tolerant systems. I'll talk about building systems from small isolated parallel components which communicate though well-defined protocols.
Programs will have errors in them and will fail so I'll tal...
await bot.process_commands(message)
@misty sinew hi
wait
hi @onyx topaz
how to write this as an not ugly code?
$(document).ready(function() {
text = $("body").text();
text = text.replace(
/new/g,
'<span class="aqua">new</span>');
text = text.replace(
/topstock/g,
`<span class="yellow">topstock</span>`)
text = text.replace(
/overstock/g,
`<span class="yellow">overstock</span>`)
text = text.replace(
/false/g,
`<span class="red">false</span>`)
console.log(text);
$("body").html(text);
});
repeated chunks
like overstock and topstock are the same class and should be in a list
ic. did u try with switch
can you do switch replace from array?
i mean, try this.
text = text.replace(/(new|topstock|overstock|false)/g, function(match) { let className; switch (match) { case "new": className = "aqua"; break; case "topstock": case "overstock": className = "yellow"; break; case "false": className = "red"; break; default: className = ""; break; }
what?
text = text.replace(/(new|topstock|overstock|false)/g, function(match) {
let className;
switch (match) {
case "new":
className = "aqua";
break;
case "topstock":
case "overstock":
className = "yellow";
break;
case "false":
className = "red";
break;
default:
className = "";
break;
}
and then return text with the span tag and the className
heh what about
text = text.replace(*)/g, functon(match) {
let className;
switch (match) {
case "new":
className = "aqua";
break;
case "topstock":
case "overstock":
className = "yellow";
break;
case "false":
className = "red";
break;
default:
className = "";
break;
}
u bet
efficiantcy is not important
list(map(tuple, 'abcd')) momenet
But that was the name, right?
Wine?
I use an HP for work and it's good
but the battery degredation is bad I woulkd say
External Battery is now an option with USBC
Ah, this was what I was thinking of
like couple hundred I think with right wattage
I think lol
surely not 120W
unless you are maxing it out
most modern intels are actually very power efficient
300Watts LOL
jesus christ
Isn't their a new standard for the pwer brick materail which makes it really small?
hahaha normal
Lenovo I like alot but for programming
next step is the A100s in the laptop
btw I heard you talking about awful rpices on Amazon in France
Ah ok so you couldn't use a foreign amazona nd ddeliver it to you
I see that is rough
Fred, you should be able to verify now. Just do !voiceverify in #voice-verification
merci 😉
if only i had windows pro...
i wouldn't need to write the crappy code im doing rn
just use windows remote desktop lol
@forest ore I'll grant it if you don't narrate what you're doing, since we're currently discussing other things
!stream 1053732836693258391
✅ @forest ore can now stream until <t:1689264565:f>.
@dawn wolf If you're wondering why you can't talk, check out the #voice-verification channel. That'll tell you what you need to know about the voice gate
Hey all 🙂
Getting some fiber internet within the next hour 
Bran muffins?
