#voice-chat-text-0
1 messages ยท Page 44 of 1
img
What is this supposed to / going to be
Phone pouch.
One improvised pooter and about twenty of the little dears later...
Pooter = fly catcher?
Yeah. Insect sucker-uperer.
Oooh. Nice Diy. Sticky sugar water syrup in a glass works here
Figured out by accident when I left a tea glass and forgot to wash it
Mohammed Abdalla Mohammedali Elmufti
!d str.split
str.split(sep=None, maxsplit=- 1)```
Return a list of the words in the string, using *sep* as the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, the list will have at most `maxsplit+1` elements). If *maxsplit* is not specified or `-1`, then there is no limit on the number of splits (all possible splits are made).
If *sep* is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, `'1,,2'.split(',')` returns `['1', '', '2']`). The *sep* argument may consist of multiple characters (for example, `'1<>2<>3'.split('<>')` returns `['1', '2', '3']`). Splitting an empty string with a specified separator returns `['']`.
For example:
!d slice
class slice(stop)``````py
class slice(start, stop, step=1)```
Return a [slice](https://docs.python.org/3/glossary.html#term-slice) object representing the set of indices specified by `range(start, stop, step)`. The *start* and *step* arguments default to `None`. Slice objects have read-only data attributes `start`, `stop`, and `step` which merely return the argument values (or their default). They have no other explicit functionality; however, they are used by NumPy and other third-party packages. Slice objects are also generated when extended indexing syntax is used. For example: `a[start:stop:step]` or `a[start:stop, i]`. See [`itertools.islice()`](https://docs.python.org/3/library/itertools.html#itertools.islice "itertools.islice") for an alternate version that returns an iterator.
Abdalla Mohammedali Elmufti, Mohammed
!d str.join
str.join(iterable)```
Return a string which is the concatenation of the strings in *iterable*. A [`TypeError`](https://docs.python.org/3/library/exceptions.html#TypeError "TypeError") will be raised if there are any non-string values in *iterable*, including [`bytes`](https://docs.python.org/3/library/stdtypes.html#bytes "bytes") objects. The separator between elements is the string providing this method.
!d str.strip
str.strip([chars])```
Return a copy of the string with the leading and trailing characters removed. The *chars* argument is a string specifying the set of characters to be removed. If omitted or `None`, the *chars* argument defaults to removing whitespace. The *chars* argument is not a prefix or suffix; rather, all combinations of its values are stripped:
```py
>>> ' spacious '.strip()
'spacious'
>>> 'www.example.com'.strip('cmowz.')
'example'
``` The outermost leading and trailing *chars* argument values are stripped from the string. Characters are removed from the leading end until reaching a string character that is not contained in the set of characters in *chars*. A similar action takes place on the trailing end. For example:
!e py things = ["apple", "banana", "pear"] print(things[0]) print(things[1]) print(things[2]) print(things[-1]) print(things[-2]) print(things[-3])
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | apple
002 | banana
003 | pear
004 | pear
005 | banana
006 | apple
!e py things = "abcdefg" result = things[1:-1] print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
bcdef
str.index(sub[, start[, end]])```
Like [`find()`](https://docs.python.org/3/library/stdtypes.html#str.find "str.find"), but raise [`ValueError`](https://docs.python.org/3/library/exceptions.html#ValueError "ValueError") when the substring is not found.
!e py text = "abcdefg" result = text.index("e") print(result)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
4
!d str.count
str.count(sub[, start[, end]])```
Return the number of non-overlapping occurrences of substring *sub* in the range [*start*, *end*]. Optional arguments *start* and *end* are interpreted as in slice notation.
If *sub* is empty, returns the number of empty strings between characters which is the length of the string plus one.
test = name.split(' ')
for item in test:
if item.find(','):
print(item)
break
```
!d str.find
str.find(sub[, start[, end]])```
Return the lowest index in the string where substring *sub* is found within the slice `s[start:end]`. Optional arguments *start* and *end* are interpreted as in slice notation. Return `-1` if *sub* is not found.
Note
The [`find()`](https://docs.python.org/3/library/stdtypes.html#str.find "str.find") method should be used only if you need to know the position of *sub*. To check if *sub* is a substring or not, use the [`in`](https://docs.python.org/3/reference/expressions.html#in) operator:
```py
>>> 'Py' in 'Python'
True
Use str.index.
if ',' in item:
print(item)
break
```
!e py if -1: print("A")``````py if 0: print("B")``````py if 1: print("C")
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | A
002 | C
whaaaat
For numerics, zero is falsy. Nonzero is truthy.
!e print(True + False)
@drifting sonnet :white_check_mark: Your 3.11 eval job has completed with return code 0.
1
str.find returns a numeric
Not found will return -1, truthy.
Found for the first index will be 0, falsy.
Found for other indexes, nonzero positive...truthy.
if keys off truthiness
!e ```name = "Abdalla Mohammedali Elmufti, Mohammed"
test = name.split(' ')
for item in test:
if ',' in item:
first,last = test[test.index(item)+1],test[test.index(item)].replace(',','').strip()
print(first,last)
break
```
@drifting sonnet :white_check_mark: Your 3.11 eval job has completed with return code 0.
Mohammed Elmufti
if full_name.count(' ') > 1:
test = full_name.split(' ')
for item in test:
if ',' in item:
first,last = test[test.index(item)+1],test[test.index(item)].replace(',','').strip()
break
else:
full_name = item.find("h3").text.replace(',','')
last,first = full_name[:full_name.find(' ')],full_name[full_name.find(' '):].lstrip()```
@drifting sonnet Depending on how much you'll be working with strings, you might also like to become proficient in regex, regular expressions, provided for in Python through the re module, but it's not what I'd call a beginner subject.
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
what are you making @lunar haven yourself
@warm delta ๐
I GOT IT
Hey
@cinder juniper ๐
Hi ! Sorry I didnโt have permission to speak in call
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@polar merlin ๐
@odd star ๐
ill join back on my main account
CPU: AMD FX 8300
Memory: 16 GB HydperX Dual Channel DDR3 @665MHz (9-9-9-24) 4 GB X4
Graphics: NVIDIA GeForce GTX 750
Motherboard: ASRock 970 Extreme3
Power: 700 Watt ocZ Mod X Stream-Pro
Storage: 2 TB Seagate ST1000 2x
Keyboard / Mouse: Redragon S101 Wired Gaming Keyboard and Mouse Combo
Capture Card: Wishlist
for file_name in file_names:
file_name = file_name.replace("\r", "").replace("\n", "").strip()
resp, content = httplib2.Http().request(file_name)
if resp.status == 200:
objlxml = html.fromstring(content)
filename = "subtitle"
print("Downloading %s ..." % filename)
btnEl = objlxml.xpath("//a[@id='downloadButton']")
if len(btnEl):
downloadUrl = btnEl[0].get("href")
resp, zipcontent = httplib2.Http().request(
"http://subscene.com" + downloadUrl
)
if resp.status == 200:
with open(filename + ".zip", "wb") as fw:
fw.write(zipcontent)
filenames = []
with zipfile.ZipFile(f"{filename}.zip", "r") as zip_ref:
zipfiles = zip_ref.infolist()
zip_ref.extractall()
filenames = [zipinfo.filename for zipinfo in zipfiles]
os.remove(f"{filename}.zip")
print("...%s done!\n" % filename)
# Python program to print list
# using for loop
a = [1, 2, 3, 4, 5]
ย
# printing the list using loop
for x in range(len(a)):
ย ย ย ย print a[x],
l
@somber heath what do you think of this
@merry thunder ๐
@gray yoke ๐
!voice
!voice
#voice-verification @gray yoke
I dont have any topic to discuss so Ill just be silent and listen to you guys lol
haha okay
sometimes we all become silent
yeah
by any chance any one of you are into devops?
brb
what are you discussing lol
verb (spans, spanning, spanned)
1 [with object] (of a bridge, arch, etc.) extend from side to side of
The word Span
Would the span of a person be the width or the height?
ask chatGPT
Hi guys,
I want to train a neural net to output x,y coordinates of a sub image which is part of a big image by matching pattern.
any ideas?????
Will it be fuzzy? Computer vision?
Yeah I have an image of size 8,000 by 11,000 pixel and i divided it into 10,000 (200*200) images
I want to find the coordinates of those small images
Ciao folks ! I don't want to interrupt Opal
Ciaooo Meoww
Ciao cacao !
Will send you music
Thank you !
Hi Sam
Heylo @quasi condor
Woof Woof
ok, let's put it this way,
I want to train a model which takes an image as input and outputs 2 variables x,y
shapes are,
x_train = (10,000, 40,000)
y_train = (10,000, 2)
If you're after NN, #data-science-and-ml is where you'll want to look. If you have perfect copies of the source and the candidate images, you shouldn't use a NN. You'd use a particular image processing technique to test membership.
oke - sanli
okay, Thanks ๐
Ford F150
i Had a honda city,
badd clearance.
especially for Indian roads
hits everything
yeah but for mods, it was great
ah
Because I wanted to buy a camry
ah
are you in WB?
dont have to answer
yeah
byee @karmic elk
Byeee.
carrot/
.gtkrc-xfce
.pythonhist
.bash_logout
.wget-hsts
.bashrc
.gtkrc-2.0
.xsession-errors.old
.xsession-errors
.profile.bak
.dmrc
.sudo_as_admin_successful
test.py
.python_history
.profile
.Xauthority
.bash_history
seeker/
install.sh
Dockerfile
LICENSE
seeker.py
.gitignore
metadata.json
README.md
logs/
info.txt
php.log
install.log
result.txt
template/
mod_gdrive.py
mod_whatsapp.py
mod_custom_og_tags.py
mod_whatsapp_redirect.py
templates.json
sample.kml
mod_captcha.py
mod_telegram.py
require "grip"
class IndexController < Grip::Controllers::Http
def get(context : Context) : Context
context
.put_status(200) # Assign the status code to 200 OK.
.json({"id" => 1}) # Respond with JSON content.
.halt # Close the connection.
end
def index(context : Context) : Context
id =
context
.fetch_path_params
.["id"]
# An optional secondary argument gives a custom `Content-Type` header to the response.
context
.json(content: {"id" => id}, content_type: "application/json; charset=us-ascii")
.halt
end
end
class Application < Grip::Application
def initialize(environment : String, serve_static : Bool)
# By default the environment is set to "development" and serve_static is false.
super(environment, serve_static)
scope "/api" do
scope "/v1" do
get "/", IndexController
get "/:id", IndexController, as: :index
end
end
# Enable request/response logging.
router.insert(0, Grip::Handlers::Log.new)
end
end
app = Application.new(environment: "development", serve_static: false)
app.run```
@lavish rover i feel you there... i had a similar thing today while helping someone everything that should've worked didn't work and at the end the broken thing fixed itself after leaving it for an hour
I wish my thing fixed itself
lets run it up
weirdly enough the lesser active i get in the help channels / forum
the more dms i get for help
the lesser they should be able to find my name in a help channel the more they somehow find me o-o
that happen to you too?
Why do you reap noodles
True dat
@zenith radish ICANN or I CAN N?
Organizing more holiday deliveries, putting out some IT fires, busy morning
l a m e
i shall now leave as i have more work to do. hope you guys have a gr8 day
cya all later
YES I CAN N
โถโถ Subscribe to the Cartoon Network Classics YouTube channel and watch full episodes of the awesome shows you used to watch on TV! https://www.youtube.com/c/CartoonNetworkClassics?sub_confirmation=1
Dee Dee has a song stuck in her head literally. Dexter discovers Dee Dee has a viral boy-band infecting her brain and must come up with a cure be...
@zenith radish that porn moustache
๐
Baccano! is great
@gentle flint hows prep going
rn I'm designing a circuit for the light I'm hanging up tomorrow
yes
amazing, picture request as usual thanks
You're on the right track then.
it might be just a switch to you
but also, I meant the lights, mostly
the circuit as well, but mostly lights
Oh it light. not lights. anyway, still interesting
!voiceverify\
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
ur in the wrong channel
@zenith radish Desert Punk's dub is amazing
heylooooooooooooooooooooooooooo
#off-topic
https://open.spotify.com/track/4KT6rWA9kZ5XNytkKAfrWe?si=be094fa3c72b4ee5
sharing because hearing on loop lol, you might like it too.
Neat
For the game Godville
Majority of the game is community content, and they recently added a "Picturizer"
@amber raptor Huh, I should have figured, but I didn't realize PowerShell had Try Catch error handling
Trying to get up to speed with it, might try to automate some stuff later
This is what I am wearing lol
it's inside =out
Expect to pay capital gains tax at a rate of 20 per cent in addition to applicable fees & surcharges
Dividends are subject to taxation. When determining tax on US equities in India, dividends paid from US stocks must also be included. This sum is subject to a flat tax rate of 25%.
interesting
So even if we go and invest into US stock via any broker like INDMoney, Indian GOvt still taxes you on your CGs
I dont even pay normal taxes lol. I dont earn anywhere near the minimum
yeah
ah
I should just pay a friend in the US to buy for me lol
Yeesh
Doesnt matter, still do your ITR files
umm. I earn so little that I kinda dont earn at all
Just dont get your money flow direclty from any indian bank shit
James Harris Simons (; born 25 April 1938) is an American mathematician, billionaire hedge fund manager, and philanthropist. He is the founder of Renaissance Technologies, a quantitative hedge fund based in East Setauket, New York. He and his fund are known to be quantitative investors, using mathematical models and algorithms to make investment...
Filing ITR helps you in future when you earn in 6-7 figures
hmm
Basically you play safe
Medallion, the main fund which is closed to outside investors, has earned over $100 billion in trading profits since its inception in 1988. This translates to a 66.1% average gross annual return or a 39.1% average net annual return between 1988 โ 2018.
but onbviously you are always welcome to cheat XD @stray niche
what about taxes?
In india its a whole different scene thats why
@rugged root @stray niche ๐
๐
@whole bear ๐
how are things
Hiya!
Very cold Ma'am
temp?
3 degrees Celsius with mist/fog
Hows pepsi
oof
How are things on your ends guys?
love the reverse +1
goodish
Thats good to hear :D
website up?
Just editing it a bit but almost
He's okay I think =)
yay
face reveal?
aaaaaa he looks like my billie jeannn
you have a billie jeannn?
Blocking my arm from left keyboard half =(
Sending pets for pepsi!
Black mix with large size? Maine coon blood?
(your keyboard already looks blocked) : P
Had* he got stolen :/
oh no. Hope they are nice to him even if they werent to you
black mix with large size, half persian, full babie
Best boii
Nice blur. Shy cat.
Wdym! xP
When did Hemlock leave
oh noo, he was here a minute ago
Tendonitis still painful, but still alive, so net zero? x)
oh no.
Hope you recover fully bud!
wait. thats my line. I use net
It's chronic, so that's gonna take a long while... But thanks!
Same to you x)
Get well*
Typing on phone (or any keyboard, but phone is worse) does not help =P
dont
bye
phones are just getting worst day by day
all this upgrades technically but the impact on gen-z is just crap. future is dangerous
I think it's size difference which makes this painful for me
yeah the size is also a issue
Cloudflare, Inc. (NYSE: NET), the security, performance, and reliability company helping to build a better Internet, today announced the Workers Launchpad Funding Program has grown to $2 billion for potential investment in startups building on Cloudflare Workers, an increase of 14 partners and $750 million in less than two months. Cloudflare is...
@whole bear
hi
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
@chilly kiln no mic no?
I have one.... but it says mic surpressed ๐ฆ
you have to verify
๐
Cre's username is ussr
he's lying
CreSSR
lmao
yeah
i cant type it for cool reasons
tell me ๐ฎ
wow
Nazi term for Germany and its regime during the period of Nazi reign, from 1933 to 1945
there you go
damn
yes... learner ๐
hmmm a few months
progress is okay
some basic projects nothing to shout about
do you know any other langauges?
languages
what is it?
Nim is a general-purpose, multi-paradigm, statically typed, compiled systems programming language, designed and developed by a team around Andreas Rumpf.
damn
rust is super good to learn
and django
idk,,, i seen it on a couple jobs
i looked atg
at
Man will ascend to discord mod status!
XD
21 :()
whats 9 + 10
just learning
yeahhhhhh, bit of both
you?
oh damn
you taking a course in that?
nahhh
they are capping
CS degree is good
but software engineering degree is better
imo
yeah
yeah but you can get a degree focused solely on it
@rugged root how do u verify voice
:0
TRUE
he is a validated discord moderator
๐ฆ
lmao pepe profile pic
yeah
thats the main thing
damn bruh
me too
you are me?
join back vc pepe
i understand you
๐ณ
Cre should start live streaming
๐ฆ
switch to apple OS ๐ค
yeah
mac
fuck
๐ฆ
not surprised
my math is also bad ๐ฆ
learn python in 3 hours
YT
yeah
code camp
hhhh
brocode is good
BroCode is a W
W
Yeah its everyhting
im doing his C course atm
bro's CS grades are impeccable, I can already tell
yeah
XD
why?
lmao
Cre's age
what is that?
damn
i am the oldest
^^
fax
Cre is god
Cre is free
Cre is a busy bee
carbapenem-resistant Enterobacteriaceae
whats that?
you named yourself after antibiotics
?
I have a friend who is a antibiotic
๐ฆ
an
print("I have to go, it was nice to meet you Cre and Pepe..... goodbye!")
print('goodbye, nice meeting you "Low Flo".')
c
!cban 707912260378689586
:incoming_envelope: :ok_hand: applied ban to @viscid pond permanently.
what did he do?
I was just talking to him and he got banned so confused
I am leaking your info to CIA
Not voice verified yet, need 50 msgs.
ah i see
already 3/50, thats the progress
come on were getting somewhere
coudve said UKR
True, true... Are you senior engineer with 25y of experience?
Well, used it for my projects, transitioned from Java half a year ago, got into a company as a Data Pipeline Engineer (S2 level)
wtf
i cant talk my push to talk is buggin g out
its like a data scientist with a plumbing aspect
Sounds mad, but actually it's mostly working with components and APIs/Queuing systems for importing and exporting data
I am Luigi.
ahhhh he caught you
Letsa go
hes got you there lad
Corona? Dying?
oh
Good good
===========================================================================
You are not pissing me off. It's like trying to use racial slurs against COD MW2 lobby players.
I am immune
Ez.
lord nani
y?
can i touch you
lol
lmao
you touch pipes for a living
I push data through. So yea, nerdy plumber
Plumbers in US
holy shit
4times salary of eu IT guy
lord nani how far off are you from 50 messages
Lemme see
you gotta speak
what? System who?
system administrator?
System administators make lowest amounts from it
bro
how many messages left
40/50 msgs already
no I was specific
ok
I can hear you, why are you typing, lmao
yea, looking for some data to back it up
yellow
blue
.
hey lord nani document your week with 3 words per message
I am not chatgpt
that'll help you get there
but i can send you a cringy meme though
voice verify now
ChatGPT memes are insane
I tried generating game reviews
and it literally made better reviews than IGN
i asked it to use for over while
@hardy cloud zaporozska nuclear power plant
BYTE_SIZE_OFFSET = 4
im doing that rn
def section_atoms(moov: str) -> Dict[str, byte]:
HI
def get_previous_release(release_id):
""" Holt Vorgรคngeritem eines Items mit der ID release_id
:param release_id: ID des items fรผr das Release
:type release_id: int
"""
param: moov
what is @lunar haven coding?
param: moov: bytes for doing something!
'?I want to know the code that you are doing is for sabe information in a nosql
mp4 fix
?
@lunar haven
same question
Lord_Nani can u speak german?
A little bit
I speak spanish
i am from germany ๐
:param moov: stream of bytes from mp4 file
:type release_id: bytes
:returns: dictionary of fixed bytes
Is somebody in this voicechat german?
ok
i want to know what they are coding but they dont want to say what is that code about
here
I KNOW
I KNOW
U.U
but i cant speak
shows your screen!!!! to see the WHILE!!!!
yoo PUT!!! BO0LEAN!!
def section_atoms(moov: bytes) -> dict[str, bytes]:
"""Section bytes to keys: moov, trak, mdia, minf, stbl, "stss", stsc, stsz, stco, udta
Args:
moov (bytes): the moov atom bytes from the mp4 file
Returns:
dict[str, bytes]: the atoms sections and its bytes
"""
SIZE_BYTES = 4
atoms = {
"moov": b"moov",
"trak": b"trak",
"tkhd": b"tkhd",
"mdia": b"mdia",
"minf": b"minf",
"stbl": b"stbl",
"stss": b"stss",
"stsc": b"stsc",
"stsz": b"stsz",
"stco": b"stco",
"udta": b"udta",
}
atom_sections = {}
i = 0
while i < len(atoms):
start = moov.find(atoms[i])
end = moov.find(atoms[i+1], start)
atom_sections[i] = moov[start:end]
moov = moov[end:]
i += 1
atom_sections[i] = moov
return atom_sections
Instead of using the rfind() method to search for the next atom, you could use the find() method and search from the beginning of the moov_trim variable. This would avoid the need to search the entire string each time.
Instead of using a list of atom names and looping over it, you could use a dictionary with the atom names as keys and the values as the bytes objects representing those atoms. This would allow you to more easily retrieve the atoms by name without having to search for them.
Instead of slicing the moov_trim variable to remove the bytes for each atom, you could keep track of the start and end indices for each atom within the moov string and extract the atoms using those indices. This would avoid the need to create new slices of the string each time.
Instead of using a for loop to iterate over the atoms, you could use a while loop and a counter to keep track of your progress through the atoms. This would allow you to avoid the overhead of looping and increase the efficiency of the function.
i am in a web application+
SHINY!!!
use shiny!!!
SHINY WEB APPLICATION
not mobile apps!!!
Enough randomnes?
An improvement.
XD
The button should be distinct.
its only when u hover over it
ok
I wonder why only some people can make screen share
ok, 7/10
Your elements should have sufficient contrast to neighbouring elements.
its night time
why are splines? well my god I have good news for you, here's why splines!
if you like my work, please consider supporting me ๐
https://www.patreon.com/acegikmo
This project grew much larger in scope than I had originally intended, and burnout made it impossible for me to do more with it. It was already getting incredibly unwieldy, so I apolog...
WHY I CANT SPEAK?
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@runic wolf ๐
Begin by reading the instructions provided by the bot message.
i did
line, = ax.plot([0], [0]) # empty line
from matplotlib import pyplot as plt
class LineBuilder:
def __init__(self, line):
self.line = line
self.xs = list(line.get_xdata())
self.ys = list(line.get_ydata())
self.cid = line.figure.canvas.mpl_connect('button_press_event', self)
def __call__(self, event):
print('click', event)
if event.inaxes!=self.line.axes: return
self.xs.append(event.xdata)
self.ys.append(event.ydata)
self.line.set_data(self.xs, self.ys)
self.line.figure.canvas.draw()
fig, ax = plt.subplots()
ax.set_title('click to build line segments')
line, = ax.plot([0], [0]) # empty line
linebuilder = LineBuilder(line)
plt.show()
!e py line, = (1, ) print(line)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
1
!e line,= 1
@civic zephyr :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | TypeError: cannot unpack non-iterable int object
line = (1,)[0]```
!e
line, = (1,2)
print(line)
@coarse turret :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ValueError: too many values to unpack (expected 1)
!e py a, b = (1, 2) print(a) print(b)
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | 1
002 | 2
i want to know hhow i can get voice!!
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
okay and how i can been on the server for less than 3 days.
!e
line, = (2,)
print(line)
@coarse turret :white_check_mark: Your 3.11 eval job has completed with return code 0.
2
? i have to inscribe and ask for a ticket?
soo if i have voice and i want to talk i will need to wait 3 days each time?
mmmm why you dont put those rule for the main voiche chat 0 and no to the other voice chats???
yes i understand the point but i miss the oportunity to speak with other different from the moderatos to get help
you can use AI
use a pytorch ๐
i know
i am data science R and Python
with finances u.u
like a insurance guy
swaps, risk defaul free cash flow
automating things
heavy optimization
but the money it is in the big data
i need you for handle apache spark
with pyspark
buy the pyspark is the library
but
!e py d = {'key a': 'value a', 'key b': 'value b', 'key c': 'value c'} print(d.keys()) print(d.values()) print(d.items())
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
001 | dict_keys(['key a', 'key b', 'key c'])
002 | dict_values(['value a', 'value b', 'value c'])
003 | dict_items([('key a', 'value a'), ('key b', 'value b'), ('key c', 'value c')])
values = 'example'
class TestApp(npyscreen.NPSApp):
def main(self):
F = FmSearchActive()
F.wStatus1.value = "Status Line "
F.wStatus2.value = "Second Status Line "
F.value.set_values(values)
F.wMain.values = F.value.get()
F.edit()
@somber heath
class FmSearchActive(npyscreen.FormMuttActiveTraditional):
ACTION_CONTROLLER = ActionControllerSearch
class TestApp(npyscreen.NPSApp):
def main(self):
self.F = FmSearchActive()
self.F.wStatus1.value = "Status Line "
self.F.wStatus2.value = "Second Status Line "
self.F.value.set_values(values)
self.F.wMain.values = F.value.get()
self.F.edit()
if __name__ == "__main__":
App = TestApp()
App.run(
python: can't open file '/home/carrot/PycharmProjects/pip-cli/subtitles/subscene_downloader.py': [Errno 2] No such file or directory
Traceback (most recent call last):
File "/home/carrot/PycharmProjects/pip-cli/subtitles/display.py", line 54, in <module>
App.run()
File "/home/carrot/.local/lib/python3.10/site-packages/npyscreen/apNPSApplication.py", line 30, in run
return npyssafewrapper.wrapper(self.__remove_argument_call_main)
File "/home/carrot/.local/lib/python3.10/site-packages/npyscreen/npyssafewrapper.py", line 41, in wrapper
wrapper_no_fork(call_function)
File "/home/carrot/.local/lib/python3.10/site-packages/npyscreen/npyssafewrapper.py", line 97, in wrapper_no_fork
return_code = call_function(_SCREEN)
File "/home/carrot/.local/lib/python3.10/site-packages/npyscreen/apNPSApplication.py", line 25, in __remove_argument_call_main
return self.main()
File "/home/carrot/PycharmProjects/pip-cli/subtitles/display.py", line 47, in main
self.F.wMain.values = F.value.get()
NameError: name 'F' is not defined. Did you mean: 'f'?
@small hawk ๐
class TestApp(npyscreen.NPSApp):
def __init__(self, values):
self.values = values
def main(self):
F = FmSearchActive()
F.wStatus1.value = "Status Line "
F.wStatus2.value = "Second Status Line "
F.value.set_values(self.values)
F.wMain.values = F.value.get()
F.edit()
if args.download:
subprocess.run(["python", "subscene_downloader.py"])
with open("Deadpool.2016.BluRay.720p.x264.Ganool.srt", "r") as f:
values = f.readlines()
App = TestApp(values)
App.run()
import npyscreen
import argparse
import subprocess
parser = argparse.ArgumentParser()
parser.add_argument(
"--view", action="store_true", help="view the output of predator.sh"
)
parser.add_argument(
"--download",
action="store_true",
help="download subtitles using subscene_downloader.py",
)
args = parser.parse_args()
if args.view:
output = subprocess.check_output(["bash", "predator.sh"])
values = output.decode("utf-8")
if args.download:
subprocess.run(["python", "subtitle_downloader.py"])
with open("Deadpool.2016.BluRay.720p.x264.Ganool.srt", "r") as f:
values = f.readlines
class ActionControllerSearch(npyscreen.ActionControllerSimple):
def create(self):
self.add_action("^/.*", self.set_search, True)
def set_search(self, command_line, widget_proxy, live):
self.parent.value.set_filter(command_line[1:])
self.parent.wMain.values = self.parent.value.get()
self.parent.wMain.display()
class FmSearchActive(npyscreen.FormMuttActiveTraditional):
ACTION_CONTROLLER = ActionControllerSearch
class TestApp(npyscreen.NPSApp):
def main(self):
F = FmSearchActive()
F.wStatus1.value = "Status Line "
F.wStatus2.value = "Second Status Line "
F.value.set_values(values)
F.wMain.values = F.value.get()
F.edit()
if __name__ == "__main__":
App = TestApp()
App.run()
@somber heath
Traceback (most recent call last):
File "C:\Python_3.9\lib\threading.py", line 980, in _bootstrap_inner
self.run()
File "C:\Python_3.9\lib\threading.py", line 917, in run
self._target(*self._args, **self._kwargs)
TypeError: sound() takes 1 positional argument but 8 were given
from playsound import playsound
from threading import Thread
#ui sounds
def sound(name):
sound_path = {
'screen_on':'Screen_On.wav',
'screen_off':'Screen_Off.wav',
'button':'ClickOpen_buttons_confirm.wav',
'listening':'Startup_Music.wav',
'stop_listening':'Stopped_Listening.wav',
'show_window':"Show_Window.wav",
'start':'process_start.wav',
'ss':'ClickOpen_dropdown.wav',
'adjust':'sound_adjust.wav',
'start_up':'start_up.mp3'
}
if name in sound_path.keys():
path = 'sounds\\gui_sounds\\'+sound_path.get(name)
playsound(path)
#sound('start_up')
loadsound = Thread(target = sound, args=('start_up'),)
loadsound.start()
The function works perfectly but when used in a Thread gives error
do you how to fix it?
you're giving it 8 args but it only takes 1
like how it says
dont feed 8 arguments to it
try:
print(x)
except:
print("An exception occurred")
no you aren't
try:
print(x)
except:
print("An exception occurred")
args = 'start_up',
like this??
@somber heath
a = ('start_up',)
loadsound = Thread(target = sound, args=a,)
loadsound.start()
!e py "abc"[3]"Hey, Python, what's the fourth thing in a sequence of three things?"
@somber heath :x: Your 3.11 eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | IndexError: string index out of range
!e py try: "abc"[3] except IndexError: print("Caught.")
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
Caught.
@hybrid siren ๐
๐ @somber heath
rejoining
@split saffron ๐
@whole bear ๐
Did you not just join and leave VC?
Just greeting and farewelling. ๐
@winged hinge ๐
Oh Hello There @stray niche
!code
Here's how to format Python code on Discord:
```py
print('Hello world!')
```
These are backticks, not quotes. Check this out if you can't find the backtick key.
class Solution:
def wordPattern(self, pattern: str, s: str) -> bool:
hm = {}
# we need to split the s over the space(" ")
s = s.split(" ") # type: ignore
# if the lengths of pattern and s are not same then return False
if len(s) != len(pattern):
print("False")
# loop over both pattern and s at same time using the index, as they are of same length
for i in range(len(s)):
'''
if both pattern and s has same characters as shown below
pattern: 'xyyx'
s: 'y x x y'
Then using the same keys in hashmap will result in error, so we need to prefix these with some thing
Here I am prefixing pattern and s with `pat` and `str` respectively
'''
pv, sv = "pat"+pattern[i] , "str"+s[i]
# add the pattern value and s value if its not in hashmap
if pv not in hm:
hm[pv] = i
if sv not in hm:
hm[sv] = i
# if both are not returning the same index, it means the pattern is not being followed
if hm[sv] != hm[pv]:
print("False")
return True
ll1 = Solution()
ll1.wordPattern(pattern='xyyx' , s= 'amar singh amar ')
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
brb
!e ```py
def func():
return True
a = func()
print(a)```
@somber heath :white_check_mark: Your 3.11 eval job has completed with return code 0.
True
class Solution:
def wordPattern(self, pattern: str, s: str) -> bool:
hm = {}
# we need to split the s over the space(" ")
s = s.split(" ") # type: ignore
# if the lengths of pattern and s are not same then return False
if len(s) != len(pattern):
return False
# loop over both pattern and s at same time using the index, as they are of same length
for i in range(len(s)):
pv, sv = "pat"+pattern[i] , "str"+s[i]
# add the pattern value and s value if its not in hashmap
if pv not in hm:
hm[pv] = i
if sv not in hm:
hm[sv] = i
# if both are not returning the same index, it means the pattern is not being followed
if hm[sv] != hm[pv]:
return False
return True
ll1 = Solution()
ll1.wordPattern(pattern='xyyx' , s= 'amar singh singh amar')
def func():
return True
print(func())```
thank you
@vital swift ๐
!rule 5
5. Do not provide or request help on projects that may break laws, breach terms of services, or are malicious or inappropriate.
ohh
nvm
my ai hcap solver works fine
its malicious tho
yep
but doesnt work
on steelseries
uh 1 month promo
link gen
๐
it collabed with discord
u get 1 month free nitro
u get a promotion link to claim
i already made a gen for it
but then cloudflare fks it
i do :
doesnt work bruh\
i am working on it for 2 hours
it has hcap
tbh i used selenium / playright to solve caps and bypass it
but then its slow af
uh like
its easy to get promo links
u just need a steelseries mail verified acc
i use module account-generator-helper
for mail verify
https://accounts.steelseries.com/register?next=%252F%2540me
example*
nah
every request
goes to cf
uh maybe
i only get cloudflare in mail verify part
the mail verify
๐ @somber heath
yep
this gives mail
yep
that is perfect
it gives mail ,listens to mail
and if mail arrives then it verifies
uhm
@zenith radish live music?
noo dont mute I wanna hear, it was nice
@robust lichencan u check dms
Hey @stray niche
The Wisp Sings
Provided to YouTube by CDBaby
The Wisp Sings ยท Winter Aid
The Wisp Sings
โ 2013 Winter Aid
Released on: 2013-11-11
Auto-generated by YouTube.
Ya Mustafa Noor Ul Huda (Na'at Sharif)
Melody composed by Ustad Nusrat Fateh Ali Khan and Ustad Farrukh Fateh Ali Khan
Recorded Live at Soundscape Studios
Music written and arranged by Rushil
https://www.facebook.com/RushilMusicOfficial/
https://www.instagram.com/rushilmusic/
Vocal by Abi Sampa
https://www.facebook.com/AbiSampa/
https://www....
Performed April 2008.
Available on all audio streaming platforms.
To see the full concert performance visit
https://miamiboyschoir.com/product/2008-yavo/
latest dog one +1
hay
what is nocode
welcome back sam
Thank youuu
@cedar crown ๐
@cedar crown ๐
@cedar crown ๐
hi ๐
@idle shadow ๐
yes I am from Tibet ๐
you python master
Study, practice, looking after yourself, time for that to happen in.
im pretty good at stuff
but i sometimes suck at solving problems
i need to practice
@somber heath is the one
it's been more then 2 years that i've been coding
he's the best

im good at development and solving real world problems
i just suck at python sometimes like problems
of inteviews
or
DSA


Help
Master
@somber heath

already man already

Automate Boring Stuff with Python
TechWithTIm
yes
yess
i suck at problem solving
exactly
u just need me to practice right? @somber heath

i made 100k$+
from Python
Web development
and i cant solve

string
problem

wtf


im gonnna
goo
andddddd
illl be back
after i solve 100 questions

fk it

Your chosen style of communication is regretable.

Nooooodlee
poooodle
doooodle
im out of oodles
Woodle?
perhaps
hey
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@velvet cipher ๐
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@mellow hemlock @fossil salmon ๐
i need help with something
What's up?
@fallen heron I was saying, please dont speak over someone when someone else is saying something.
i cant explain it i have to talk because typing it takes too long and hard to explain it
tnx
ok Sure
sam
I find the reverse is often true, that writing a problem out makes it easier to absorb.
Both for yourself and the recipient.
ok look i made a script and im running it on VSC (virtual studio code) and when i run it nothing happens
Here is the code btw im new to coding:
import pyautogui
import time
import keyboard
enabled = False
def on_press(key):
global enabled
if key == "h":
enabled = not enabled
while True:
if enabled and pyautogui.mouseDown(button='left'):
while pyautogui.mouseDown(button='left'):
pyautogui.moveRel(2, 0, duration=0.1)
pyautogui.moveRel(-2, 0, duration=0.1)
pyautogui.moveRel(0, 2, duration=0.1)
pyautogui.moveRel(0, -2, duration=0.1)
time.sleep(0.1)
time.sleep(0.1)
keyboard.on_press(on_press)
Yes?
its su post to make my cursor jitter but nothing happens i dont know what is wrong
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
do this in #voice-verification
!voice
for
in #voice-verification
chat
did
nothing happend
I'm on my phone, so I'm not in a position to run your code, and I don't use the keyboard module with enough frequency. I would suggest you take advantage of the help system. #โ๏ฝhow-to-get-help .
ok
Awful awful place
what is
brb call
@somber heath good call
Shop BUDK.com for all your Practice Sword needs. If you're looking to master the art of sword fighting, our training swords will allow you to keep safe while you perfect your craft.
@bronze charm ๐
?
Greetings.
ok
@remote karma ๐
This
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@astral basalt ๐
@limpid sparrow ๐ long time how's everything
#โ๏ฝhow-to-get-help @lunar haven
what are you making?
hard guy ringring
@vivid palm free up my pepe did nothing wrong
hello!
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@honest torrent went for a hike?
yes
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
Disk model: SAMSUNG MZVLQ256HAJD-000H1
NVM Express (NVMe) or Non-Volatile Memory Host Controller Interface Specification (NVMHCIS) is an open, logical-device interface specification for accessing a computer's non-volatile storage media usually attached via PCI Express (PCIe) bus. The initialism NVM stands for non-volatile memory, which is often NAND flash memory that comes in several...
@sick moon ๐
I lost a type hinting fight against Pylance
I failed to convince it that tuple is properly covariant[ over element type]
and now I can't reproduce it outside of the project
(or not yet, at least)
"IDLE best IDE"
I am working towards making a concrete example
I got it
anyway, I'm not confident enough to actually open GitHub issue at Pylance repo
@whole bear ๐
!voice
Voice verification
Canโt talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
nice to meet you si
sir
@somber heath ++
@somber heath how to get intern as python developer /
?

why is tuple typing so non-trivial...
!d pickle
Source code: Lib/pickle.py
The pickle module implements binary protocols for serializing and de-serializing a Python object structure. โPicklingโ is the process whereby a Python object hierarchy is converted into a byte stream, and โunpicklingโ is the inverse operation, whereby a byte stream (from a binary file or bytes-like object) is converted back into an object hierarchy. Pickling (and unpickling) is alternatively known as โserializationโ, โmarshalling,โ 1 or โflatteningโ; however, to avoid confusion, the terms used here are โpicklingโ and โunpicklingโ.
if the object is not made for pickling, you probably shouldn't pickle it
@whole bear ๐
i wanted to talk ๐คฃ
anyway how is everyone today
sounds fun
thats me with my game ๐คฃ
months of stress
staring into the abyss of Pylance type checking failures
something carrying something else if generalised too much
opal you sound mid 20s
python is the best lang
ofc yes
@robust lichen good job
๐คฃ
ahhh need 50 msg to speak
what
what a coincidence
latest population estimates for Australia on Wikipedia are very close to being twice larger than ones for the city I'm in
like, within a thousand of people
across at least three different 10-minute periods or something like that
anyone here into game dev ?
@coral sandal was that you speaking ?
ahhh nice
currently working on my game called darkside
its a white/grey/black hat based game
I mostly gave up on game dev as soon as I got into learning proper software engineering instead of just programming
game development in a lot of cases is too messy
is a online game
yes my good fps
even on 0.3 ghz on the cpu i was getting 140 fps in game
yea its not ๐
but i plan to make it a fun game for the skilled and knowledge
@coral sandal you work for Microsoft?
whens windows 12 coming ๐คฃ
@somber gyro ๐
Hello
how frequently does the screen actually change?
high fps numbers may come from the screen being mostly static inter-frame
it will be set at 60 fps
with zero changes on the screen it's basically just how fast the code can say "hey, new frame is ready"
may achieve >1000 fps in that case with little-to-no cpu/gpu usage
python has never let me down with any project
if you need help with Java, you just pay Oracle
oh java i hate java
i tried to get a job ๐คฃ
they denied me bc i would not tell them how to setup a printer
"cheers to it"?
opal your english is to good
at least, it's Django not Flask
@coral sandal make another chat ai
but without restrictions
they killed chatgpt ith all the blocks now
though both go better in general with making APIs rather than template rendering and other closer-to-browser stuff
(from what I know)
whats wrong with flask
not async
Flask's ASGI is fake
if your requests take time in any form, you will have a problem with it
or if you need to store some non-persistent state
or run a background process
would gunicorn not fix this ?
wsgi runners just throw more threads at the problem
nothing wrong with threads ๐คฃ