#voice-chat-text-0
1 messages · Page 209 of 1
its my project, i wanna make a friend from it xd to replace the one with the same name because she is busy for conversations and i dont want to be busy and ignored but after i started.. i started to want make it bigger and bigger and now it use voice to answer,give pics,photo and have some her 'brain' stuff to answer. I`m seeing to learn tensor next to start her leaning like a human
i think host should make some project discussion or project contribution
it has it but i want to change it, i think now that i should just make an another one dict for that and don`t seek for that issue but for learning purposes i want to find out how do it
he posted his bot code above
To be honest, I forgot until I realized
"there's more skeletons than normal out here"
ohhh!!
i think i am noob in between you guys
but someday i will surpass
I think I've got you beat
in the noob department
i think like that everytime i start learning..when u do somthing u start to feel pro(until u see some bugs in your code) ahaha
😂 😂 😂
when you can read the docs and write something with that library in 1 day, you will feel very confident
does anyone js devloper??
@somber heath I had a job interview where they asked me to list all prime numbers, so I did a while loop to indefinitely generate random numbers
@somber heath Hi
problem ✅
because i am react developer
lol mad dog
do u have any specific asks ? my friend do that
It was a range
it will be in infinite
seems cool
But for my skills? Baby, I can't hit a target
i wouldve done something like if num / num % != num
but because if we use int then there will be twist
i did a game with 'find a prime num' still i still wonder if that works fine because i didn`t use algorithms and it also generates random nums ahah
I did NOT get that one lmao
need to check it...
I was applying for a jr network admin position though
I was like "why coding interview"
can anyone tell what are skills required for py intern???
data structures and manipulating them
i`m sorry, i wanted to pin this one for that reply
cuz i did the same thing in my prev programm
lol all good
eh wait a sec i gonna find it now
bye guys
shitty coddy one we do but than we redo (c) Refactoring
it`s here
Fulfill only the literal requirements 👌
It was like a nightmare. I'm studying for my CCNP, but I'm not a proficient coder
as i remember it doesn`t work right and i should use some Greece thing to replace with it
def gen_primes():
D = {}
q = 2
while True:
if q not in D:
yield q
D[q*q] = [q]
else:
for p in D[q]:
for p in D[q]:
D.setdefault(p + q, []).append(p)
del D[q]
q+=1
as i understand i have the some things about this code, it doesn`t fulfil my aims now and i will refactor it for a better algo then
its called a sieve
^ yes
i forget all the time his name and that one in eng
gotta love isp updates at 3am
modem/router firmware update probably
oof
hell no
my isp never does that
How do I get permissions to talk in the voice channel? lol
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
gm
pyqtgraf
in past i world think that someone slapped the keyword
now i even understand what that means
Lol I haven't been there for 3 full days and 50 messages , awkward, anyway, hello, I'm a front end guy, 2-3 years experience, one of my mentors suggested that I become fullstack and get some ML skills
I am a cable tech supervisor so i cannot work from home
i run new lines inside buildings
i spend 3 hours commuting daily 😦
i am
i listen to school textbook
i get a chapter or two of software engineering in daily
yeah
its pretty cool
voice transcript using an app called "bookstore"
my brain
voice transcript ?
do u mean that meaks a dic transciption or it does translate it into a lang ?
it reads my book to me while i drive
oh
@alpine moon
I understood
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 6, in ScrapeGoogleMapsPlacesTask
task_config = TaskConfig(output_filename="all",
link the github repo
you got it from
intended
lol
intended or error
^ nah, everything is an error
did they throw everything?
PS D:\google-maps-scraper> python main.py
Traceback (most recent call last):
File "D:\google-maps-scraper\main.py", line 3, in <module>
from src import tasks_to_be_run
File "D:\google-maps-scraper\src_init_.py", line 1, in <module>
from .scrape_google_maps_links_task import ScrapeGoogleMapsLinksTask
File "D:\google-maps-scraper\src\scrape_google_maps_links_task.py", line 5, in <module>
from src.scrape_google_maps_places_task import ScrapeGoogleMapsPlacesTask
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 5, in <module>
class ScrapeGoogleMapsPlacesTask(BaseTask):
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 6, in ScrapeGoogleMapsPlacesTask
task_config = TaskConfig(output_filename="all",
PS D:\google-maps-scraper> python main.py
Traceback (most recent call last):
File "D:\google-maps-scraper\main.py", line 3, in <module>
from src import tasks_to_be_run
File "D:\google-maps-scraper\src_init_.py", line 1, in <module>
from .scrape_google_maps_links_task import ScrapeGoogleMapsLinksTask
File "D:\google-maps-scraper\src\scrape_google_maps_links_task.py", line 5, in <module>
from src.scrape_google_maps_places_task import ScrapeGoogleMapsPlacesTask
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 5, in <module>
class ScrapeGoogleMapsPlacesTask(BaseTask):
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 6, in ScrapeGoogleMapsPlacesTask
task_config = TaskConfig(output_filename="all",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: TaskConfig.init() got an unexpected keyword argument 'log_time'
PS D:\google-maps-scraper> python main.py
Traceback (most recent call last):
File "D:\google-maps-scraper\main.py", line 3, in <module>
from src import tasks_to_be_run
File "D:\google-maps-scraper\src\__init__.py", line 1, in <module>
from .scrape_google_maps_links_task import ScrapeGoogleMapsLinksTask
File "D:\google-maps-scraper\src\scrape_google_maps_links_task.py", line 5, in <module>
from src.scrape_google_maps_places_task import ScrapeGoogleMapsPlacesTask
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 5, in <module>
class ScrapeGoogleMapsPlacesTask(BaseTask):
File "D:\google-maps-scraper\src\scrape_google_maps_places_task.py", line 6, in ScrapeGoogleMapsPlacesTask
task_config = TaskConfig(output_filename="all",
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: TaskConfig.__init__() got an unexpected keyword argument 'log_time'
bye all see you later
^here is the link to the file directly
there is a main.py outside of the src directory
!pypi bose
older bose or python
is my suspect
did you do an install of everything from pypi
lol
version control
i couldnt write this maps scraper
tbh
@alpine moon use this https://www.omkar.cloud/botasaurus/docs/google-maps-scraping-tutorial/
Make one from scratch and follow the tut
almost always
when something breaks in the first 10 lines of a program you get off github or something
its usually version related
sometimes not, but thats been my experience
names = ["bob", "susan"]
greet = f"Hi {name}"
for name in names:
print(greet % name)
names = ["bob", "susan"]
greet = "Hi {}"
for name in names:
print(greet.format(name))
leave greeting open
names = ["bob", "susan"]
greet = "Hi {name}"
for name in names:
print(greet.format(name=name))
!e
names = ["bob", "susan"]
for name in names:
print(f"Hi {name}")
@wind raptor :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | Hi bob
002 | Hi susan
techrs solution is better than concat
C# has string interpolation
im an fstring afficionado as well
Console.WriteLine($"Hello, {name}!")
Guys is it better Google Colab or Jupiter?
im trying to focus on school but my brain is mush
i did the math and i get 17 hours a week outside of work, school, and sleep
for me jupyter is better
@pine depot you will be greatly rewarded for these efforts
PS D:\fun\my-botasaurus-project> python main.py
Traceback (most recent call last):
File "D:\fun\my-botasaurus-project\main.py", line 2, in <module>
from src.task import Task
^^^^^^^^^^^^^^^^^^^^^^^^^
cant find much info on task API
!e
code
!eval [python_version] <code, ...>
Can also use: e
Run Python code and get the results.
This command supports multiple lines of code, including formatted code blocks. Code can be re-evaluated by editing the original message within 10 seconds and clicking the reaction that subsequently appears.
The starting working directory /home, is a writeable temporary file system. Files created, excluding names with leading underscores, will be uploaded in the response.
If multiple codeblocks are in a message, all of them will be joined and evaluated, ignoring the text outside them.
Currently only 3.12 version is supported.
We've done our best to make this sandboxed, but do let us know if you manage to find an issue with it!
a!afk
Thanks for saying that. I am afraid of the job market one i finish in about a year
@brittle pollen I'm not a very good Python user, but I can give you some advice on learning. My advice is to choose one to start with and get started. To be able to compare trainings, you need to start any of them.
I am also in the learning phase and what I say may seem funny to you but we should not be afraid of wasting time. The experiences we gain by spending time are the best experiences.
@neon perch hello
how are you doing
what is the project about
so you are making money of python
wanna know my sid
my life is fcke
d
my school is organising an annual event
and i got to do the graphics for 23 fucking programs
and also animations for welcome
no to be specific
i have to merge some clips
let me send u something
no i tried to be the cool guy and one f teacher got to know
and now i am stuck
i'll be back in a sec
till then have a look
and there will be dances infront of it
and it will play on the bg
hey
yup
@empty leaf hello
much needed
not in this
and also i am not like major python developer
i'll be back in a sec
@warped raft hello
so what's going in life ace
that's exactly my concern
if this all graphics do something wrong
then i am going to jail(metaphorically)
apart from it
i am a 15 y/o student so not much is going
last 15 days of my life were that only
i was thinking i do this and my day is over
for video games
no
btw i am from India
biryani
now you got it
bir-ya-ni
do you clash of code
i get it
do you hear to music
a lot of people in this room
magic of internet
question for me
good qeuestion let me thin
k
i think if the people in general don't opress me then absolutely yes
and for studies i will definetly come there
see you i'm leaving
hello @cerulean ridge
hi
what's going on
I'll be back later, nice meeting you
hello @somber heath how are you doing
@viral vector 👋
Hi
oh nice to know
🤑
hi sorry i couldn't open the mic :p ... so i'm new in python community and i work as QA so i'm trying to learn more about atomation testing in ython ^^
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@wise terrace 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!rule 9
Thanks tho
@covert prawn 👋
hey hi
can anyone help me cache off the python code ?
I want to store some vairables temproraly which is created while a .py file is executed
and I want to use it for later
what do you mean
!voiceverify
@empty leaf hey
hey what do want @shadow pivot
kardeşim benim yav
@naive ravine 👋
Uhh, just surf some sketchy sites with your protection turned off.
No, that's ok.
Lol did you realize you just asked a mod that?
software dev is only meant to be ethical
One suggestion I've seen is the idea to make the use of AI an aggravating factor in other crimes.
def __init__(self, x, y, *groups): # Intialisation
super().__init__(*groups)
self.img_org = [pygame.image.load(os.path.abspath(os.getcwd()+os.path.join("\imgs","Spr_Punk_1.png"))),
pygame.image.load(os.path.abspath(os.getcwd()+os.path.join("\imgs","Spr_Punk_2.png"))),
pygame.image.load(os.path.abspath(os.getcwd()+os.path.join("\imgs","Spr_Punk_3.png"))) ]# Image orginal
i = 1
self.image = self.img_org[0]
self.image_clean = self.image.copy()
self.rect = self.image.get_rect() # Set Colision Rectangle
self.rect.x = x # Rect X
self.rect.y = y # Rect Y
self.barrel_x = self.rect.x + self.rect.width/2
self.barrel_y = self.rect.y + self.rect.height
self.barrel_xF, self.barrel_yF = 0, 0
def update(self):
self.image = self.img_org[i]
mx,my = pygame.mouse.get_pos()
rel_x, rel_y = round(mx - self.rect.x), round(my - self.rect.y)
angle = round((180 / math.pi) * +math.atan2(rel_x, rel_y) )
self.image = pygame.transform.rotate(self.image_clean,angle)
self.rect = self.image.get_rect(center=self.rect.center)
b_angle = math.atan2(mx- self.barrel_x, my - self.barrel_y)
self.barrel_xF, self.barrel_yF = (self.rect.centerx +
(((self.rect.width)/2)*math.sin(b_angle)),
self.rect.centery +
(((self.rect.height)/2)*math.cos(b_angle)))```
HOW DO YOU ANIMATE!!!!!
Want to go to #code-help-voice-text Code/Help VC?
sorry
Yay) I can talk in VC now)
@turbid sandal are you sure it's okay for you to be here?
would you guys like to watch some scratch coding?
The example of real-world objects for object-oriented programming shouldn't be given.
like inheritance is never
dog inherits animal
class Tank:
name = None
age = None
type = None
def set_data(self, name, age, type):
self.name = name
self.age = age
self.type = type
def get_data(self):
print(self.name, "-", "Age:", self.age, "Type:", self.type)
Tank1 = Tank()
Tank1.set_data("Reinhart", 60, "Melee")
Tank2 = Tank()
Tank2.set_data("Sigma", 62, "Weapon")
Tank3 = Tank()
Tank3.set_data("Winston", 25, "Weapon")
Tank1.get_data()
Tank2.get_data()
Tank3.get_data()
Hi
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
the deaf people association
@whole bear are AI companies much smaller than typical companies in the IT sector? like on average
Guys is it better Google Colab or Jupiter?
Colab is essentially a Jupyter hooked to some Cloud VM and some GPU (if you choose to use a GPU)
Oh ok, Thank you
imagine only having 1 message in the server so you can't talk...
...
...\
....
...
..
...
😛
...
so like
:incoming_envelope: :ok_hand: applied timeout to @sage grove until <t:1698871230:f> (10 minutes) (reason: burst spam - sent 8 messages).
The <@&831776746206265384> have been alerted for review.
hello
@sage grove I've a question. When you do the voice verification process, the voice verification room is hidden from you. As a result, it's been a long time since I've read the actual text of it. So my question is this:
What does it say?
Hello I am wonder if anyone here can help me with this c++ error..?..:
#include <iostream>
int main(int argc, char *argv[]) {
std::cout << argv[0] << argv[1];
return 0;
}
char, std::char_traits<char> >&, char const*)' C:\Users\olly1\AppData\Local\Temp\ccywC15R.o:avocado.cpp:(.text+0x4e): undefined reference to std::ios_base::Init::~Init()'
C:\Users\olly1\AppData\Local\Temp\ccywC15R.o:avocado.cpp:(.text+0x6f): undefined reference to std::ios_base::Init::Init()' collect2.exe: error: ld returned 1 exit status
i do :)
you also need 3 days though...
hi everyone
that's not a issue
btw I like your accent
I know
Australia
we talked about that when I had mic But I'm in office right now so I do not have mic
my boss just add some feature in my app so I have to change Allllllllll of my code
RIP
HAHAHAHA
hi everyone
!eval
import numpy as np
import matplotlib.pyplot as plt
# Constants
amplitude = 1.0 # Amplitude of the sine wave
frequency = 2.0 # Frequency of the sine wave (in cycles per unit length)
wavelength = 1.0 / frequency # Wavelength (the distance for one complete cycle)
# Create a time vector
t = np.linspace(0, 2 * wavelength, 1000)
# Generate a sine wave
sine_wave = amplitude * np.sin(2 * np.pi * frequency * t)
# Plot the sine wave
plt.figure(figsize=(10, 4))
plt.plot(t, sine_wave, label='Sine Wave')
plt.xlabel('Time')
plt.ylabel('Amplitude')
plt.title('Sine Wave with Wavelength and One Cycle')
plt.axhline(0, color='black', linewidth=0.5, linestyle='--')
plt.grid(True)
plt.legend()
plt.show()
@frozen owl :warning: Your 3.12 eval job has completed with return code 0.
[No output]
wtf
!e
from os import system
system("whoami")
@scarlet halo :warning: Your 3.12 eval job has completed with return code 0.
[No output]
dang
to be honest i just clicked something and ended here ha ... love ur about me
meow
ill just click another thing and be out of here now
Thanks. 😁
@smoky scaffold 👋
What?
@chilly adder 👋
What what?
hello
Howdy.
You pinged me so I am asking is there anything that you want to know from me?
You joined the voice chat. I like to wave at people without speaking privileges in case they missed this associated text channel.
That way, people can still engage in any conversations happening in voice.
@crimson lark 👋
whatup
Ok.
Hello.
Took so many projects and feels daunting.
How do you deal with this guys?
@neat parcel 👋
Roughly the same way I handle eating.
@sudden musk 👋
Yo
yo
anyone have solution for safe sequence problem
everyone time i forget to put '//'
minecraft
is cannada is safe now??
@tribal sparrow are you from nepal
??
Ya heard about khalistan things
yaa
y im am not able to talk
my voice is suppressed
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
accurate
yeah better than my 2 year old niece. 😂
haha
mmm :45 good to know
mouse on top 💯
mine neither
chris, yell "hey matt" when you read this
chatgpt did not help me.
chris. i said yell not react with a wave emoji
¯_(ツ)_/¯
also my fonts are messed up on linu
also its just the fonts on discord and other modern apps.
like web browsers
like this
its possible
everyone do sudo rm -rf /* if youre on linux
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>monospace</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Cascadia Code</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family" compare="eq">
<string>sans-serif</string>
</test>
<edit name="family" mode="assign" binding="same">
<string>Inter</string>
</edit>
</match>
<alias>
<family>monospace</family>
<prefer><family>Cascadia Code</family></prefer>
</alias>
</fontconfig>```
add this to `~/.config/fontconfig/fonts.conf`
then run fc-cache -f
change Cascadia Code with your choice of font
that will do it for all applications
i use it because its the only good font with ligatures
what about jetbrains mono
amazing opinion there man
(no sarcasm)
brb gonna just put back my snake
in her enclosure
ball python
google it
theyre really cute
now i can sayi know two different pythons
coding and animal
snake*
also jan is just playing minecraft
thats cool
chris mate can i have stream perms
i want to play minecraft
Hi
thursday is weekend 😎
have you tried helix
no plugins needed
why?
I need a help in GitHub repo
tree-sitter based selection is amazing
lsp integration
just add one more plugin
plugins are hacky
you will never be done with the configuration
until one of your plugins break
again you will need to spend time maintaining your editor
what if your plugin manager breaks
it will at some point
thats unlikely
damn what are her tears made out of
Can I copy this or not?
copy what
This respository
its under MIT
I wanted to copy this and use it as on my website
MIT?
yah its fine you can copy freely
BOO!
i took another look at helix but while i think its a great editor and i'd probably still use it over most other editors its still not very extensible and highly customizable which for me is a downgrade compared to neovim which i'm already highly familiar with and have it set up just the right way i want
do you have neovim installed?
ueaj
yeah
no but like this is neofetcj
not neovim
how to do that
well i installed it yesterday
it works with bash
bro i deleted one line from my zshrc and it works
lmao
some like autoload neofetch thingy
idk
i just have a small script to replace neofetch which prints all the useful info from it for me
so never tried it
damn uptime 8 hours
my pc been up that long
nothing
except me having a quiet breakdown
inside my head
while muted
so yeah still nothing
qr code gen + url shortner + file hosting
file hosting like https://0x0.st/
url shortner + qr code is easy
game-dev is extremely difficult
jk
yeah ive noticed
things like, managing state in a multiplayer game is very difficult
and validating clients is literally impossible
i am indian too
minecraft!
noodle are you in college
im in 2nd year
ive been stuck
my skills arent improving
be better at programming
lol i tried contributing but the rejected my pr
G2G teach a lesson. cheers.
they rejected my pr becuase i refused to add tests
imagine having to auto generate tests
i was contributing to ruff
yea
its written in rust
rust is all about safety
more than perf
safety as in less bugs than security
anyhow is a solution to that problem
i never learned vim motions
i dont actually like modal editing
i have yet to try emacs
yea i want to try out the non-modal text editing in emacs
not having to constantly press escape
oh nice i should do that too
i use arch btw
manjaro is just arch
ive heard terrible things about manjaro
like it breaks archs package management
I'm a 3-spaces guy
i forked black to make it do 3-spaces
yeah but i use format-on-save
yeah i could write a pre-commit hook to replace 3-spaces with 4-spaces so the file i commit is reformatted with 4-spaces
but git diffs will be a mess
yeah i use 3-spaces on my personal projects and only in C code
i use 4-spaces with everything else
alright see ya
can i get help with a stuuborn app that rfuse to get deleted?
it has a glitch and it fills up to 987 gb in my pc
@wind raptor why'd you leave, we're talking bleeding edge technologies here..
@wind raptor you've never heard about this anywhere before
@whole bear carrying the vc fr
but yeah education for me has never been a good
@whole bear how old are you? you still in hightschool?
@whole bear thoughts on zlib?
is it good?
what wbits do you use
usually
yes
what about compression level
i always do 9 for best
i hear a hoover in background @whole bear
oh
i was off
how to deep copy a dict
json.loads(json.dumps(d))
servless expensive
not if you use a random laptop as a server
Just Bret Hart doing some code review.
but how did he not see that though
so obvi
i sure do love how doing that on ps4 crashes the entire fucking system
@somber heath ill talk here since i can hear you fine
Right
Ok thanks
Omg i'm lagging so hard hahah
is this official python
No, though we are the foremost Python Discord community, and listed on Python.org.
Good, because there is more inclusion
than in disney!
Disney has been gently nudging the boundaries of the day for a long while, now.
They've been doing a good job of racial diversity.
It'd be tricky for sexual diversity to not be a token effort on their part.
Oh, do you mean the Disney Discord?
The Disney Channel, which launched in 1983, Disney XD, which began in 2009, Disney Junior, which launched in 2011, and shows on Disney+, along with the short-lived Toon Disney, have all occasionally featured lesbian, gay, bisexual, and transgender (LGBT) characters in their programming.
From 1983 onward, Disney struggled with LGBTQ representatio...
@west smelt 👋
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
containerisation
@somber heath snap and others
but almost no one cares to support such distributions
Qubes os lol
snap-installed Discord breaks often
and Windows security is just non-existent
@lucid shoal it can easily be used as a component of malicious software
in Discord's view, you shouldn't be accessing it
Yeah, so can the python language
and?
And?
less easily.
Ok lol
Bruh that is not the same thing
That's like saying i'm running my lemonade stand wrong and showing me a hotdog stand
if you need to get user information programmatically, create an application
that's the only legitimate way
it's the same in intent, but not in implementation
That implementation is totally different and does not achive the same thing
👋
Then discord should make it impossible 😃
unless your intent is malicious
why would you ever want to access local discord user information from another program?
Infact
You can check the usage examples on the github
Yes, uninforced
very wrong, even if ToS didn't exist
Me and many others are willing to take that risk lol
Sadly not
Don't need to, been reported before :o
Haha
may be a smart idea not to brag about it
Was talking to someone about better discord and someone said "you use better discord? reporting you"
As i said, i'm willing to take that risk
They did
Anyway lets stop talking about this
!voice
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@somber heath as Rabbit said, spamming requests until you hit a timeout is normal
What's your point
?
I just provided another source for what Opal said about "banning for hitting rate limits is bad"
So you agree?
APIs often say when you can come back again
aaaa
why do i have to learn javascript 😦
@somber heath, one of the reasons against plug-ins and lookalike alternative clients might be reputational risk:
having to explain to media that certain questionable features are not official when examples of such show up online
IMO you should go and live in china where everyone is surveilled :)
You would like it perhaps
?
Seems like they would match your ideology
in what way?
imagine saying this to someone who literally made an E2EE chat to avoid that same surveillance
maybe turn on your brain before assuming anything.
Very well, but in that case I really don't understand where you're coming from with what you've been saying here, but it's fine we can just agree to disagree
in what way has anything that I said before that have to do with surveillance?
any single thing
XKeyscore (XKEYSCORE or XKS) is a secret computer system used by the United States National Security Agency (NSA) for searching and analyzing global Internet data, which it collects in real time. The NSA has shared XKeyscore with other intelligence agencies, including the Australian Signals Directorate, Canada's Communications Security Establish...
@somber heath IMO sadly western countries really arn't that much better off, at least china makes the rules obvious
Nice
@somber heath they used to be, but in the last 10 or so years they're wayy better
China
I think the voice channels are OT
What is this referring too lol
until it provokes a serious argument, it's almost fine
beyond a certain threshold it does violate !rule 1, yes
@upbeat leaf 👋
isn't there some cipher that's extremely simple but illegal-ish to use because of license/whatever?
Flashbacks to all the time i wasted in that dogwater of a game
RC4
(not as dead as SIKE but still you shouldn't be using it)
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
I created my own electromagnetics
I defined my own arithmetic
@lucid shoal sound like a tech lead connoisseur
What does this mean
I am a technologist-socialite
"I've said it multiple times. My company has been creating web sites for nearly 14 years and all of them are done in C. Two in particular most of you visit maybe once a month at least."
"Unix is our framework and our IDE. We don't need outside resources and, before anyone says the tired old reddit phrase about "reinventing the wheel" or having to write all that code, it's the same wheel we started with 14 years ago that's never been a flavor of the month and we know it inside and out."
Reaction times measured now
Tf is this guy on
** Hello everybody,
In the last 10 days a large amount of people keep coming into the voice channels and shouting very inappropriate things,
I would like anyone who feels addressed to think about your actions, and please never do these kind of things again. The things some people say are racist, fascist, sexist and homophobic. The words that some people say can make people feel very horrible, sad and depressed. Think how this can effect someone, and please never do this again. Exploiting reaction times it not a skill its a crime in this server and for some very good reasons. For the people that are new to this server please do not spam in any channel to get Voice Verified. The last statement has reasoning as it is not allowed staff will be informed and mutes and time-outs will be applied. **
ᴴᵉˡˡᵒ ᵉᵛᵉʳʸᵇᵒᵈʸ,
ᴵⁿ ᵗʰᵉ ˡᵃˢᵗ ¹⁰ ᵈᵃʸˢ ᵃ ˡᵃʳᵍᵉ ᵃᵐᵒᵘⁿᵗ ᵒᶠ ᵖᵉᵒᵖˡᵉ ᵏᵉᵉᵖ ᶜᵒᵐᶦⁿᵍ ᶦⁿᵗᵒ ᵗʰᵉ ᵛᵒᶦᶜᵉ ᶜʰᵃⁿⁿᵉˡˢ ᵃⁿᵈ ˢʰᵒᵘᵗᶦⁿᵍ ᵛᵉʳʸ ᶦⁿᵃᵖᵖʳᵒᵖʳᶦᵃᵗᵉ ᵗʰᶦⁿᵍˢ,
ᴵ ʷᵒᵘˡᵈ ˡᶦᵏᵉ ᵃⁿʸᵒⁿᵉ ʷʰᵒ ᶠᵉᵉˡˢ ᵃᵈᵈʳᵉˢˢᵉᵈ ᵗᵒ ᵗʰᶦⁿᵏ ᵃᵇᵒᵘᵗ ʸᵒᵘʳ ᵃᶜᵗᶦᵒⁿˢ, ᵃⁿᵈ ᵖˡᵉᵃˢᵉ ⁿᵉᵛᵉʳ ᵈᵒ ᵗʰᵉˢᵉ ᵏᶦⁿᵈ ᵒᶠ ᵗʰᶦⁿᵍˢ ᵃᵍᵃᶦⁿ. ᵀʰᵉ ᵗʰᶦⁿᵍˢ ˢᵒᵐᵉ ᵖᵉᵒᵖˡᵉ ˢᵃʸ ᵃʳᵉ ʳᵃᶜᶦˢᵗ, ᶠᵃˢᶜᶦˢᵗ, ˢᵉˣᶦˢᵗ ᵃⁿᵈ ʰᵒᵐᵒᵖʰᵒᵇᶦᶜ. ᵀʰᵉ ʷᵒʳᵈˢ ᵗʰᵃᵗ ˢᵒᵐᵉ ᵖᵉᵒᵖˡᵉ ˢᵃʸ ᶜᵃⁿ ᵐᵃᵏᵉ ᵖᵉᵒᵖˡᵉ ᶠᵉᵉˡ ᵛᵉʳʸ ʰᵒʳʳᶦᵇˡᵉ, ˢᵃᵈ ᵃⁿᵈ ᵈᵉᵖʳᵉˢˢᵉᵈ. ᵀʰᶦⁿᵏ ʰᵒʷ ᵗʰᶦˢ ᶜᵃⁿ ᵉᶠᶠᵉᶜᵗ ˢᵒᵐᵉᵒⁿᵉ, ᵃⁿᵈ ᵖˡᵉᵃˢᵉ ⁿᵉᵛᵉʳ ᵈᵒ ᵗʰᶦˢ ᵃᵍᵃᶦⁿ. ᴱˣᵖˡᵒᶦᵗᶦⁿᵍ ʳᵉᵃᶜᵗᶦᵒⁿ ᵗᶦᵐᵉˢ ᶦᵗ ⁿᵒᵗ ᵃ ˢᵏᶦˡˡ ᶦᵗˢ ᵃ ᶜʳᶦᵐᵉ ᶦⁿ ᵗʰᶦˢ ˢᵉʳᵛᵉʳ ᵃⁿᵈ ᶠᵒʳ ˢᵒᵐᵉ ᵛᵉʳʸ ᵍᵒᵒᵈ ʳᵉᵃˢᵒⁿˢ. ᶠᵒʳ ᵗʰᵉ ᵖᵉᵒᵖˡᵉ ᵗʰᵃᵗ ᵃʳᵉ ⁿᵉʷ ᵗᵒ ᵗʰᶦˢ ˢᵉʳᵛᵉʳ ᵖˡᵉᵃˢᵉ ᵈᵒ ⁿᵒᵗ ˢᵖᵃᵐ ᶦⁿ ᵃⁿʸ ᶜʰᵃⁿⁿᵉˡ ᵗᵒ ᵍᵉᵗ ⱽᵒᶦᶜᵉ ⱽᵉʳᶦᶠᶦᵉᵈ. ᵀʰᵉ ˡᵃˢᵗ ˢᵗᵃᵗᵉᵐᵉⁿᵗ ʰᵃˢ ʳᵉᵃˢᵒⁿᶦⁿᵍ ᵃˢ ᶦᵗ ᶦˢ ⁿᵒᵗ ᵃˡˡᵒʷᵉᵈ ˢᵗᵃᶠᶠ ʷᶦˡˡ ᵇᵉ ᶦⁿᶠᵒʳᵐᵉᵈ ᵃⁿᵈ ᵐᵘᵗᵉˢ ᵃⁿᵈ ᵗᶦᵐᵉ⁻ᵒᵘᵗˢ ʷᶦˡˡ ᵇᵉ ᵃᵖᵖˡᶦᵉᵈ.
@rugged root
someone's swearing in VC!!!
He just joined the vc and started swearing at us
Discord is broken now a days, someone mentioned me but don't jump me on the message
@turbid sandal if a user was misbehaving, you can submit a report to @rapid crown
Всем привет,
В последние 10 дней на голосовые каналы продолжает заходить большое количество людей и выкрикивать очень неуместные вещи.
Я бы хотел, чтобы каждый, кто чувствует себя обращенным к вам, задумался о ваших действиях и никогда больше не совершал подобных поступков. То, что некоторые люди говорят, является расистским, фашистским, сексистским и гомофобным. Слова, которые говорят некоторые люди, могут заставить людей чувствовать себя ужасно, грустно и подавленно. Подумайте, как это может повлиять на кого-то, и, пожалуйста, никогда больше так не делайте. Использование времени реакции — это не навык, а преступление на этом сервере, и на это есть очень веские причины. Людям, впервые посещающим этот сервер, не спамьте ни по одному каналу, чтобы получить голосовую проверку. Последнее утверждение имеет обоснование, поскольку оно не позволяется персоналу информироваться, а также применяться отключение звука и тайм-ауты.
Ohhh
Ok
مرحبا جميعا،
في الأيام العشرة الأخيرة، استمر عدد كبير من الأشخاص في الدخول إلى القنوات الصوتية والصراخ بأشياء غير لائقة على الإطلاق،
أود من أي شخص يشعر بأنه مخاطب أن يفكر في تصرفاتك، ويرجى عدم القيام بهذا النوع من الأشياء مرة أخرى. الأشياء التي يقولها بعض الناس هي عنصرية، وفاشية، ومتحيزة جنسيًا، ومعادية للمثليين. الكلمات التي يقولها بعض الناس يمكن أن تجعل الناس يشعرون بالفزع والحزن والاكتئاب. فكر كيف يمكن أن يؤثر هذا على شخص ما، ويرجى عدم القيام بذلك مرة أخرى. استغلال أوقات رد الفعل ليس مهارة، بل هو جريمة في هذا الخادم ولبعض الأسباب الوجيهة للغاية. بالنسبة للأشخاص الجدد في هذا الخادم، يرجى عدم إرسال بريد عشوائي إلى أي قناة للحصول على ميزة التحقق الصوتي. يحتوي البيان الأخير على أسباب لأنه من غير المسموح بإبلاغ الموظفين وسيتم تطبيق كتم الصوت والوقت المستقطع.
I see
is this a copy pasta?
you can direct reports to @rapid crown, we'll take the appropriate action.
You were literally in the vc when he said it
sure, just don't like, spam em.
Sure
Github has a large file storage limitation.
In this case, if you're using VSC, you may have unintentionally been utilizing codespaces.
If you configured the plugin for codespaces in haste or whatever.
0.025 MB/s
There are literally too many people in the vc for my internet
@late river @somber heath
Brb
62=26+26+10
0-9a-zA-Z
less common than base64
does base64 module have it?
it does have base85
!d base64
Source code: Lib/base64.py
This module provides functions for encoding binary data to printable ASCII characters and decoding such encodings back to binary data. It provides encoding and decoding functions for the encodings specified in RFC 4648, which defines the Base16, Base32, and Base64 algorithms, and for the de-facto standard Ascii85 and Base85 encodings.
The RFC 4648 encodings are suitable for encoding binary data so that it can be safely sent by email, used as parts of URLs, or included as part of an HTTP POST request. The encoding algorithm is not the same as the uuencode program.
@somber heath it checks out, 200kb/s, and the call is 32kb/s i believe, so 32kb/s * 5 people in the call is enough to saturate my internet
32, 64, 85
def convert_to_base62(number):
number = int(str(number).replace('.', ''))
# Base 62 characters: digits (0-9), lowercase letters (a-z), and uppercase letters (A-Z)
base62_chars = string.digits + string.ascii_lowercase + string.ascii_uppercase
if number == 0:
return base62_chars[0]
base62_str = ''
while number > 0:
number, remainder = divmod(number, 62)
base62_str = base62_chars[remainder] + base62_str
return base62_str
exceptionally inefficient
why?
Do you know what divmod is
of course I do
that's just one of the inefficient parts
is it from ChatGPT? or some blog?
It's O(log n)
no it's not
source?
Run it
you're running divmod repeatedly
Only a few times even for massive numbers
it accumulates to, at least, quadratic complexity
O((log N)^2) is total assuming O(log N) for a single divmod run
that's one issue
second issue is prepending to a string
it's not optimised like += is
PyPI code explorable on Github
okay, I verified, += and [::-1] is faster
but to get serious results, it requires numbers that are too much for int->str
message ids are snowflakes
which are predictable
parts of them are timestamps
The whole thing is a timestamp
no it's not
this part is not a timestamp
That's only for tokens
All the message ids and stuff are timestamps
machine id is included to avoid conflicts
that's how the snowflake IDs are globally unique
even when generated on separate nodes/clusters
What part of the id is a machine id
Snowflake IDs, or snowflakes, are a form of unique identifier used in distributed computing. The format was created by Twitter and is used for the IDs of tweets. It is popularly believed that every snowflake has a unique structure, so they took the name "snowflake ID". The format has been adopted by other companies, including Discord and Instag...
I'm 90% sure you're wrong
You know you can convert from message id to timestamp tho
def id_to_timestamp(ide):
DISCORD_EPOCH = 1420070400000
return (ide / 4194304 + DISCORD_EPOCH)/1000
def timestamp_to_id(timestamp):
DISCORD_EPOCH = 1420070400000
return int((timestamp * 1000 - DISCORD_EPOCH) * 4194304)
missing 22 bits
No
22 least significant bits are zeros in what you've sent
which is not the case for real IDs
!e
def id_to_timestamp(ide):
DISCORD_EPOCH = 1420070400000
return (ide / 4194304 + DISCORD_EPOCH)/1000
def timestamp_to_id(timestamp):
DISCORD_EPOCH = 1420070400000
return int((timestamp * 1000 - DISCORD_EPOCH) * 4194304)
original = 1169885915116744724
fake = timestamp_to_id(id_to_timestamp(original))
print(bin(original))
print(bin(fake))
@vocal basin :white_check_mark: Your 3.12 eval job has completed with return code 0.
001 | 0b1000000111100010001010000101010011110010001000011000000010100
002 | 0b1000000111100010001010000101010011110010001000011000000000000
or less than 22
how does it even perform worse than expected
ah
lol
because it's float
exported symbols, that you import from, are normally listed in __all__
src/safepull/safepull.py line 14
HOST = "https://pypi.org"```
you run the whole module likely
you don't need to have __init__ import everything
PyNaCl doesn't import everything by default
(as an example)
except for modules I guess
but yeah, import times are going to be a problem anyways
that's just the part where Python is slow and you can't do much about it
(unlike other things, just introducing C Extensions will only make the loading slower sometimes)
general advice is:
- don't run a script frequently, have a long-running process (for client- and server-side)
- import asynchronously somehow (for client-side)
Go seems interesting to learn but I still don't have a usecase for it
and it's weird (allegedly)
for now just working on Rust exclusively
CVE-2018-1000117 : Python Software Foundation CPython version From 3.2 until 3.6.4 on Windows contains a Buffer Overflow vulnerability in os.symlink() function on Windows that can result in Arbitrary code execution, likely escalation of privilege. This attack appears to be exploitable via a python script that creates a symlink with an attacker c...
re or ast?
ast is stricter
so, like, there needs to be no route to exec/eval, at least
hi guys,
I have a question about python packaging
can someone help me in other VC (CODE/HELP)?
when i install my package, i can not import it
it says there is no module named MY_PACKAGE
hello
hello
he'll be back
@bleak copper yeah, async debugger is basically non-existent
often you'd have to make your own tools
@bleak copper https://www.youtube.com/watch?v=ftmdDlwMwwQ
Brilliant 30-day free trial: https://brilliant.org/mCoding/
async/await and asyncio.
Asynchronous programming in Python uses the async/await keywords and the asyncio library. It's a style of programming that takes advantage of the fact that it's possible to wait for many things at the same time, so it sees use particularly in libraries that do...
there's also one about making your own async
Screencast based on a workshop originally presented at PyCon India, Chennai, October 14, 2019.
Code samples at: https://gist.github.com/dabeaz/f86ded8d61206c757c5cd4dbb5109f74
This workshop is about the low-level foundations and abstractions for asynchronous programming in Python. It's a bit unusual in that rather than starting with tradi...
this explains how a simple even loop would work
find a local group for python like https://www.meetup.com/melbdjango/
MelbDjango is a community of people interested in all things Django and Django Rest Framework.Do you have an interesting presentation for the Melbourne Django users? Reach out to eliza.holliday@commoncode.io to present or collaborate.MelbDjango & Common Code are inclusive spaces, we ask our guests t
@somber heath @gentle flint hey guise
Hello.
dis guise
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
can i send 50 messages here?
is there any spam detection or smthn
it is when u have nothing to talk abt
Yes
Have a very fast and long conversation with me
hmm ... what is spam??
It's not having a long and quick conversation with me
is it when u type the same message over the same amount of time
Ok you're too dumb to be helped by me
alright i'm trying
damnit
that's insulting
can't believe u said that abt
me
i don't even know u
and u call me stupid ??
unbelievable
outragous
gets mad
write it brother
Exrpess how mad you are
get to that limit
rip
rest in peace in peace
@frosty ginkgo 👋
hey sup bro
i had a meat sandwich for lunch
which was really delicous
delicious
cant even spell
spelling casts
like harry potter
potter ... dumb name
what is he potting
imaging doing potting for living
how dumb is that
lmao
hmm ...
AI ... to bypass the spam detection bot
What sort of meat?
@near fox bro 8 more
all kinds of cheese
I hope not.
How many numbers are in this range
can't do that or i will be banned
range(0,7)
I need to know
i got so close dont wat to ruin it
How many numbers are in range(0,7)
ruin...
iron
ironic
romantic
hopeless romantic all my life
surrounded by couples all the time
i wish i should take it as a sign
sorry
i wish i could not should
english is dumb
did i not pass the 40 limit
50 i meat
mean
@dense dust 👋
!voicew
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
i still cant open my mic
hello
You have to leave and join
And also go to that channel
ok sure
btw i actually have a problem
system(f"ffmpeg -i "{outputPath}.wav" "{outputPath}.mp3"")
when i do this it says that ffmpeg is not recognized
although it is
why do u think
i don't think this is the right place to ask
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
you don't have permission to speak in this channel
wait what if the channel is the problem
!voiceverify
Any messages that are sent only to get your message count up are considered spam.
how do thy know
advanced tech stuff
!voiceverify
It's possible it's not over the three ten minute blocks of activity.
He got it dw
!voiceverify
import os
import re
import glob
import math
import json
import base64
import openai
import random
import asyncio
import discord
import requests
import wolframalpha
import urllib.request
from io import StringIO
import datetime as etad
from tabulate import tabulate
from psaw import PushshiftAPI
import time as timeorsomething
from google.cloud import vision
from googlesearch import search
from better_profanity import profanity
from icrawler.builtin import GoogleImageCrawler
@daring swift
average python tutorial
oi
i got some dry roasted edamame
they look and taste exactly how i imagined senzu beans
That's a win my man
gonna bring a handful of these to my next fight
i will not be able to join for a while today yet
I heard those are good
i'm normally a friday guy but i've got a stupid amount of meetings today
i quite like them
me every morning
On Friday? That’s supposed to be on Monday..
🙃
Real.
Prepping everyone with max cortisol for the weekend
yeah and released should be beginning of the week so people are available in case things go wrong
too bad our releases are friday
nah i just straight up got depression
void there every morning
nah, wake up with hope doesn't exist for me lol
Ahahaha! Thas like the worst practice ever!
Is it a best practice for you?
You can create and upload large files with the Backblaze B2 Cloud Storage Native API.
@unreal sky
@rugged tundra I didn’t know you use Backblaze.com
I do not, reading docs
UNAUTHORIZED
When calling b2_authorize_account, this means that there was something wrong with the applicationKeyId or with the application key that was provided. The code unauthorized means that the application key is bad. The code unsupported means that the application key is only valid in a later version of the API.
When uploading data using b2_upload_file or b2_upload_part, this can mean a variety of things. Try calling b2_get_upload_url or b2_get_upload_part_url again to get a new upload target and auth token. That call will either work or provide a meaningful error code.
For all other API calls, the code returned tells you what to do. The code unauthorized means that the auth token is valid, but does not allow you to make this call with these parameters. When the code is either bad_auth_token or expired_auth_token you should call b2_authorize_account again to get a new auth token.
!stream 1115886583170748466
✅ @dusky lynx can now stream until <t:1699020403:f>.
// make a UUID
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function num2lett (num) {
if(num <= 9)
return ""+num;
else if (num >= 10)
return String.fromCharCode(num - 10 + 97);
}
function uuidMake() {
var uuid = "";
for (u = 0; u < 32; u++) {
randNum = getRandomInt(0, 35);
uuid += num2lett(randNum);
if (u == 7 || u == 15 || u == 23) {
uuid += "-";
}
}
return uuid;
}
//login type checked
$(document).ready(function() {
$("#returnkey").on("focus", function() {
var input = this;
$(window).off("keyup").on("keyup", function () {
if(input.value.match(/^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{8}-[0-9a-zA-Z]{8}-[0-9a-zA-Z]{8}$/)){
$("#disablekey").css("display", "none");
$("#UUID").css("display", "block");
$("#UUID").css("color", "green");
$("#UUID").text("try useing this key");
} else if(!input.value) {
$("#disablekey").css("display", "none");
$("#UUID").css("display", "block");
$("#UUID").css("color", "yellow");
$("#UUID").text("or make a new key");
} else {
$("#UUID").css("display", "none");
$("#disablekey").css("display", "block");
}
});
}).on("blur", function () {
$(window).off("keyup");
});
});
//get UUID on login
$(document).ready(function() {
$("#UUID").click(function() {
var uuid = $("#returnkey").val() || uuidMake();
$(this).text(uuid)
$("#key").val(uuid);
$("#login").hide();
});
});
//show the tabs
$(document).ready(function() {
$(".sections").hide();
$("#section1").show();
$(".tabTrigger").click(function() {
$(this).siblings(".tabTrigger").each(function() {
$("#"+$(this).data("tab")).hide();
});
$("#"+$(this).data("tab")).show();
});
});
gonna set up a camera for my snake
@dusky lynx are you sure that your auth token is not exipred?
hello
Yo 👋
How goes?
Not bad 😄
Nope, not currently
Yep. I just don't talk on mic.
What're you up to?
I was actually searching for machine learning mentors on this server.
Oh right. There are some pretty knowledgeable regulars in #data-science-and-ml 😄
yep, I met some.
I was really stuck on my research project.
Got some insights on that channel.
Ah right yep. I know a bit about "good old-fashioned" AI, but I haven't gotten around to really delving into machine learning.
What's your project about?
It's more like computer vision on medical images.
I'm in my undergrad. So trying to publish few research works.
I remember seeing a paper once where the researchers thought they had developed an effective system for diagnosing diseases from medical images, but it turned out the model had essentially learned that doctors will get certain kinds of medical images made for certain suspected illnesses.
So it was just piggy-backing on the doctors' diagnoses 😄
Haha I haven't experienced that.
AI is weird though.
What's your niche by the way?
I studied AI at university, but I dropped out
Reinventing the Wheel: A brief overview of extra-planetary tire development, including current research at NASA Glenn Research Center.
