#voice-chat-text-0
1 messages · Page 782 of 1
@somber heath hello
Quick question
Quick answer
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
[DEBUG]: e=ff
!e
print(int("10001", 16))
can i talk so i can explain more accuratly
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
65537
sadly you have to first meet the minimum criteria
of 50 msg
so this is e before the statement i made?
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
so 65537 then my code and that equals 10001
!e
e = 65537
print(f"[DEBUG]: e={e:x}")
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
[DEBUG]: e=10001
see
ok
e4d84e97b40e1a02388b14d2e1d15803aae707ae16059f829e49962f529450ef32b1060a367261777a8967d3bca91d1138e3620801cada789dcd8d1712208e98314a229a83cb4d447d5adbb9af3fda3626593a6101e0c3b97320a27dc3800066f6f09918257f605dfa6be21a53d7518aece1bd051358032da2f653a690c22bbf
and if the output is this
!e py print(format(255, 'x')) I've taken a liking to the format function.
@somber heath :white_check_mark: Your eval job has completed with return code 0.
ff
Let's just say, I haven't been a big fan
message = int(input("Message:"), 16)
sry but what does this?
😉
but why does it when i enter 88 it says 136
this
int('0xFF', 16) == 255```
!e print(format(136, 'x'))
@terse needle :white_check_mark: Your eval job has completed with return code 0.
88
!e
print(int('0x88', 16))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
136
hex(136) == '0x88'```
omgg yey
r u happy ?
oo, good luck!
i know i ll be in that position soon, but still i m wasting time
issoke
:smug_bad:
Hey @vagrant roost!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
why? what are you doing this for?
:ccc
its like a small competition in Uni and i really am stuck at the easiest tasks
i hope so
yeah thats what you did before
you didnt solve it
you just helped me understand the code
its not graded
so you wont help me understand the code?
like im doing the work with reverse engineering it but yeah
xD
its just that i want to understand it what it says
so this is the "login page"
and i need to find out how to log in using the program i just sent
it uses similar coding from the last one i saw that
n = 9ebc1003c5125df1801c68fb636b95c89adb9f843ad1cca75ad00405362284da296e0eb688587376b033878507406544081e87ba1bace7b6cd07e39fe4e01a9326984400aa6d292c90d347a9bf9e6319e1f1bd043e095107552e6a5b32ab7270d5ca50e408e729bbe574833868974cffb086c5df5d950f451d5b1ba91936cf23
e = 10001
so thats whats given
no
e yeah n always different
its like the thing before kinda but still similar
different
d q p dont matter
the flag gets print out when i find the signature
no this is on a remote server kinda like a CTF
what you mean?
yeah
via ssl
im connected to the server
ncat
netcad
what again?
sry
im not
the server is
via the netcat console? idk the name of it
short nc
no
yes
!e
import cs
@uncut meteor :x: Your eval job has completed with return code 1.
001 | Traceback (most recent call last):
002 | File "<string>", line 1, in <module>
003 | ModuleNotFoundError: No module named 'cs'
!e
import os
print(int.from_bytes(f"challenge_{os.urandom(8).hex()}".encode(), 'big'))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
159742073780100416011438648890902322271811280447383679635186744
!e
print(hex(159742073780100416011438648890902322271811280447383679635186744))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
0x6368616c6c656e67655f38373832323437666439333830366438
message = int(input("Message:"), 16) this?
nvm
idk but i think the def chat() is not important
or is it
so i just entered chat
and entered the number 40
40#400971385c90ca8f5933e47930097af0c09fbb229c64fee3809f0eb061c1b82439ac4729c81d4a9ea8aa7bacdfd5431fb86f21e10d54dffb1eb9fc42b0d79fab7fbb1c06ecab99a682a41c6bfa59e96ccd85851ecac979c1c0ed871a8197fe5491a4ecfc9a0d491ca87d5c1b7db016d0febb04006fb8da0e2ae5a43cca484000
thats what came back
400971385c90ca8f5933e47930097af0c09fbb229c64fee3809f0eb061c1b82439ac4729c81d4a9ea8aa7bacdfd5431fb86f21e10d54dffb1eb9fc42b0d79fab7fbb1c06ecab99a682a41c6bfa59e96ccd85851ecac979c1c0ed871a8197fe5491a4ecfc9a0d491ca87d5c1b7db016d0febb04006fb8da0e2ae5a43cca484000
it says thats the challenge
6368616c6c656e67655f65326531343137303936616533633231
challenge == pow(signature, e, n)
thats what has to be true
111467240428915744686228248000622600802244420666440688086200284240684686468400824280006848806822448804224862840088260286262682040440660040466208204440248426862204442062840688608644866046804282620286246644286462068284046488462062024888660880668648022244246204284066888848004600604888040466868604802448606448446
thats the n in base10
yeah its up in the chat
yeah
whats this
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
159742073780100416011438708681113278119695476841185015278809649 1 False
just a string of numbers
!e
e = int("10001", 16)
n = int("9ebc1003c5125df1801c68fb636b95c89adb9f843ad1cca75ad00405362284da296e0eb688587376b033878507406544081e87ba1bace7b6cd07e39fe4e01a9326984400aa6d292c90d347a9bf9e6319e1f1bd043e095107552e6a5b32ab7270d5ca50e408e729bbe574833868974cffb086c5df5d950f451d5b1ba91936cf23", 16)
challenge = int("6368616c6c656e67655f65326531343137303936616533633231", 16)
signature = pow(challenge, n, e)
print(challenge, pow(signature, e, n), challenge == pow(signature, e, n))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
159742073780100416011438708681113278119695476841185015278809649 1901802741425005672159887908758127392716190055207390461859069381166901839922520167200979968756772502625788846578767412497507568839984310425166592403843950962967597117419847787239402699479396778057149974548950856717492218931862866424469481964626187339281005664028757950552387533845429202630081511339137386630 False
!e ```py
e = int("10001", 16)
n = int("9ebc1003c5125df1801c68fb636b95c89adb9f843ad1cca75ad00405362284da296e0eb688587376b033878507406544081e87ba1bace7b6cd07e39fe4e01a9326984400aa6d292c90d347a9bf9e6319e1f1bd043e095107552e6a5b32ab7270d5ca50e408e729bbe574833868974cffb086c5df5d950f451d5b1ba91936cf23", 16)
challenge = int("6368616c6c656e67655f65326531343137303936616533633231", 16)
signature = pow(challenge, n, e)
print(challenge, pow(signature, e, n), challenge == pow(signature, e, n))
@runic forum :white_check_mark: Your eval job has completed with return code 0.
159742073780100416011438708681113278119695476841185015278809649 1901802741425005672159887908758127392716190055207390461859069381166901839922520167200979968756772502625788846578767412497507568839984310425166592403843950962967597117419847787239402699479396778057149974548950856717492218931862866424469481964626187339281005664028757950552387533845429202630081511339137386630 False
where is true
well the thing is you dont need the keys for this
i didnt need one for the one before that either
challenge = int.from_bytes(f"challenge_{os.urandom(8).hex()}".encode(), 'big')
what does this
cause the challenge looks like its converted from something and if i have that original i think i have it
but could be wrong
yeah i know how to do that
but i need the challenge i thing for that
159742073780100416011438708681113278119695476841185015278809649
what does int.from_bytes do
!docs int.from_bytes
classmethod int.from_bytes(bytes, byteorder, *, signed=False)```
Return the integer represented by the given array of bytes.
```py
>>> int.from_bytes(b'\x00\x10', byteorder='big')
16
>>> int.from_bytes(b'\x00\x10', byteorder='little')
4096
>>> int.from_bytes(b'\xfc\x00', byteorder='big', signed=True)
-1024
>>> int.from_bytes(b'\xfc\x00', byteorder='big', signed=False)
64512
>>> int.from_bytes([255, 0, 0], byteorder='big')
16711680
``` The argument *bytes* must either be a [bytes-like object](../glossary.html#term-bytes-like-object) or an iterable producing bytes.
The *byteorder* argument determines the byte order used to represent the integer. If *byteorder* is `"big"`, the most significant byte is at the beginning of the byte array. If *byteorder* is `"little"`, the most significant byte is at the end of the byte array. To request the native byte order of the host system, use [`sys.byteorder`](sys.html#sys.byteorder "sys.byteorder") as the byte order value.... [read more](https://docs.python.org/3/library/stdtypes.html#int.from_bytes)
challenge = int.from_bytes(f"challenge_{os.urandom(8).hex()}".encode(), 'big')
this is the line i think is key
ok
6368616c6c656e67655f65326531343137303936616533633231
this message looks like a challenge
!e
i = int("6368616c6c656e67655f65326531343137303936616533633231", 16)
print(i.to_bytes((i.bit_length() + 7) // 8, 'big'))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
b'challenge_e2e1417096ae3c21'
e2e1417096ae3c21
no i made it go to sleep
yeah probably
so how did we get here haha
challenge : 6368616c6c656e67655f62366666653366313565633035633732
n = c2f0d5f60153b2bfb585a8ef5ac1b32cc9fab577d067d4ab2f19d3f5ccf9b3390ccde241f55cdcdec66c3e6f61fc5decbe381d8b6000204a9573639c272e8ba637b6e5efe2e5d1d9adf45044d32d632a967da2ea03897f87b215b93861bdf0cbc964bb197e14398ee9564e883bc102e64a4c5b8374470427b2a403951e4a4d57
e = 1001
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
b'challenge_b6ffe3f15ec05c72'
b6ffe3f15ec05c72
4c7af00177979548b951b85f1739d397fc0150289ef74d7d47de5354683e25b263555f4db373fd3bc8ea02048c75425e0daf130fa62f7b8254ec1dfe4b9db26d41ca7d99885a947712db6e61484010557637d264fc65ea9bc81812ab44b79d0b1261316e8c7f5caff695a9b5bba7d11ea32a5a1a0175d4fb395650f37117ddf7
thats the result of that
i removed it
yeah
yeah
what i imput needs to be pow(signature,e , n
if challenge == pow(signature, e, n)
so signature is what im entering
BUT!
after base16
so
i need to enter signature as base10
signature = int(input("Signature:"), 16)
or does this not convert it
ah no
it expects a base16 value
ah no it converts a base16 value into a base10 value
like befor we entered 77 and it print out 119
!e
print(int("b6ffe3f15ec05c72", 16))
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
13186508859780390002
13186508859780390002 = pow(signature, e, n)
why does it output a value? how does it work?
16348420074151754785
!e
n = int("c2f0d5f60153b2bfb585a8ef5ac1b32cc9fab577d067d4ab2f19d3f5ccf9b3390ccde241f55cdcdec66c3e6f61fc5decbe381d8b6000204a9573639c272e8ba637b6e5efe2e5d1d9adf45044d32d632a967da2ea03897f87b215b93861bdf0cbc964bb197e14398ee9564e883bc102e64a4c5b8374470427b2a403951e4a4d57", 16)
e = int("1001", 16)
print(e)
print(n)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
001 | 4097
002 | 136892060374618403654045569782063382260769155385179412582031647388230442985611012395596552656665360550914327621059344718788563048037150475027730831336577848239699358506472058438121814719399514284806075484708449670803243180101261671369250201471821361655429397229708197107390944165549642061175841976700438728023
65537
136892060374618403654045569782063382260769155385179412582031647388230442985611012395596552656665360550914327621059344718788563048037150475027730831336577848239699358506472058438121814719399514284806075484708449670803243180101261671369250201471821361655429397229708197107390944165549642061175841976700438728023
ok, thanks.
here
10001
!e
e = 65537
n = 136892060374618403654045569782063382260769155385179412582031647388230442985611012395596552656665360550914327621059344718788563048037150475027730831336577848239699358506472058438121814719399514284806075484708449670803243180101261671369250201471821361655429397229708197107390944165549642061175841976700438728023
print(13186508859780390002 == pow(signature, e, n))
!docs pow
pow(base, exp[, mod])```
Return *base* to the power *exp*; if *mod* is present, return *base* to the power *exp*, modulo *mod* (computed more efficiently than `pow(base, exp) % mod`). The two-argument form `pow(base, exp)` is equivalent to using the power operator: `base**exp`.
The arguments must have numeric types. With mixed operand types, the coercion rules for binary arithmetic operators apply. For [`int`](#int "int") operands, the result has the same type as the operands (after coercion) unless the second argument is negative; in that case, all arguments are converted to float and a float result is delivered. For example, `10**2` returns `100`, but `10**-2` returns `0.01`.
For [`int`](#int "int") operands *base* and *exp*, if *mod* is present, *mod* must also be of integer type and *mod* must be nonzero. If *mod* is present and *exp* is negative, *base* must be relatively prime to *mod*. In that case, `pow(inv_base, -exp, mod)` is returned, where *inv\_base* is an inverse to *base* modulo *mod*.... [read more](https://docs.python.org/3/library/functions.html#pow)
f9d45d89786015d8808bfe217d122448af9c4b98ae7591b8b091222c2b9705fe13d7ff210eddd19998880f20eb9288e7ae29456bbaf8ccd416d69833b5a0c86c8fecbe69d06ea55e7df4b94a4a01cf32b196bd4577c46d40aa5ba3e4fec6836e35a6c12eb125cba6ed84741dc1d5437e8eea673775cfa6842888345445cb45e
10964767358050988492554622710837775243039503545377318011065727474904471106847178912842476477588296548091649307220636255308890877153992998274895073658687638771699799836371483199004648041497213323929826651011174626948632007918974678895024490449296019511757767066735390415224935696297536728311801946662361674846
1min data
you filter it 30/60/15 min data according to your trading timeframe
you trade cash or options ?
we have to find hidden flags(strings) by exploiting vulnerabilities
like bug bounty
like Allsafe in Mr.Robot
xD
hahahahaha
they just had to plug the flaw
yep
oh, I have taken that course
the course is good
why no one is speaking ;(
how old are you all?
@uncut meteor and how long have you been studying/working in IT?
pip install pyCrypto maybe?
Hey @vagrant roost!
It looks like you tried to attach a Python file - please use a code-pasting service such as https://paste.pythondiscord.com
Midnight takes your heart and your soul
While your heart is as high as your soul (this is a comment)
Put your heart without your soul into your heart
Give back your heart
Desire's a lovestruck ladykiller
My world is empty
Fire's ice (i love comments)
Hate is water
Until my world is Desire,
Build my world up
If Midnight taking my world, Fire is nothing and Midnight taking my world, Hate is nothing
Shout "FizzBuzz!"
Take it to the top
If Midnight taking my world, Fire is nothing
Shout "Fizz!"
Take it to the top
If Midnight taking my world, Hate is nothing
Say "Buzz!"
Take it to the top
Whisper my world
Midnight = variable
def Midnight(your_heart, your_soul):
while your_heart >= your_soul: # this is a comment
your_heart = your_heart - your_soul
return your_heart
Desire = 100
my_world = False
Fire = 3 # i love comments
Hate = 5
while not my_world == Desire:
my_world += 1
if Midnight(my_world, Fire) == False and Midnight(my_world, Hate) == False:
print("FizzBuzz!")
continue
if Midnight(my_world, Fire) == False:
print("Fizz!")
continue
if Midnight(my_world, Hate) == False:
print("Buzz!")
continue
print(my_world)
f = open("demofile.txt", "r")
print(f.read())
ayo
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
from .flightplandb import FlightPlanDB # noqa: F401
from .datatypes import * # noqa: F403, F401
well that's a first
how u guys doing?
are "ur mom" jokes allowed in this server?
doing well
God.... damn.... it....
try the ur mom lol
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yes ik @gentle flint
time to spam to get to 50 messages
And also i am on my phone
Bruh
Wow
;ban @jaunty pendant
problem solved
Lmao
!ban
aw
just talk to me, i need to do 50 messages lol
LMAO
yesss
Aproximately.. 69 hours @gentle flint
lol
!user 299589959789051904
You may not use this command on users other than yourself.
#bot-commands
!user
You are not allowed to use that command here. Please use the #bot-commands channel instead.
I have been... PONGED
Im on my phone anyway so.... mic is le broken cause the earphones are being gæ
rip
k
but if y'all just get yer 50 messages now
oh here we go
then you've only one req left to meet
you know... why type the messages ur self... when u can make an AI type them for you.
Lmao
@terse needle BRUH
mhmmmmmm
@terse needle smacc it.
HIT IT
that's what she said
.....
library
nice
how old do u have to be to join this place anyway?
....
13
oh thank God
hm
well what if i was 12?
The ToS before
im 13 but i see
It didnt have age restrictions
But then they changed rules
Idk
Like
3 or some years
i like this place
I like yo mum
ok 50 messages down
Lol
now the wait
no
Or wait
yes
Ye
@gentle flint
"Nutterbutter"
...........
.
@candid venture u like jdm?
Lmao
what?
Lmao
Instrument plays.... SNIPER MONKEY
@neverthink.tv
lol
lol
..
Contact me on this adress for partnerships: Pantoufleeeblitz@outlook.fr
My twitch: https://www.twitch.tv/pantoufleeeblitz
My discord server: https://discord.gg/44bHwwp
https://www.youtube.com/watch?v=tiaVMgHYGDk
pip install Cython
I tried to pip install Cartopy
pip install Cython

k
anyway i gtg cya u guys later
wait ur program says that?
why don't you clear it before it prints the next
@whole bear print the object like:
print(obj, end="\r")
the ISS location object
in your loop
yeh, thanks
!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.pydis.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.
def time():
string = strftime('%H:%M:%S %p')
lbl.config(text = string)
lbl.after(1000, time)
Styling the label widget so that clock
will look more attractive
lbl = Label(root, font = ('calibri', 40, 'bold'),
background = 'purple',
foreground = 'white')
Placing clock at the centre
of the tkinter window
lbl.pack(anchor = 'center')
time()
def time():
string = strftime('%H:%M:%S %p')
lbl.config(text = string)
lbl.after(1000, time)
# Styling the label widget so that clock
# will look more attractive
lbl = Label(root, font = ('calibri', 40, 'bold'),
background = 'purple',
foreground = 'white')
# Placing clock at the centre
# of the tkinter window
lbl.pack(anchor = 'center')
time()
anyone has any opinions on the google data analyst certificate ?
So... how's everyone doing? 😄
Hello @modest quarry
hello
"I'm wearing headphones, you idiot" 😄
You want to print strings right-to-left?
Erm, I don't know tbh 🤔
i want to write arabic but it doesn't show the correct word
Localisation with right-to-left languages is a nightmare, I've been told
how
Can you give an example?
Does this library help? I don't really know much about this, sorry. https://pypi.org/project/python-bidi/
bi-directional language, I think
Oh, that's a python2 thing 😄
u"123" is a unicode string.
I did a bit.
But converted to 3 pretty quickly
Erm, since about.... 2012?
;-;
;-;
It's alright.
forgriff me
I'm like 30, in case you didn't know 😄
Ah
Sorry
Yeah, I'm like the same age as Hemlock.
There abouts.
Ah, I like the American style actually 😄
British style pancakes:
We put lemon and sugar on them, bizarrely 😄
hmm sounds good
Yeah, but I feel like there is an element of bullying there. I think he learned it from Marco Pierre White.
There are other chefs who are just as good without all the histrionics...
This guy is cool 😄 https://en.wikipedia.org/wiki/Jacques_Pépin
Did you see that cake recipe using astronomical units? 😄

This animation accompanies this video --- https://youtu.be/hsEB65Q4kHI
Dr Becky Smethurst adapts a classic Mary Berry cake recipe, using a combination of strange science units.
More links and info below ↓ ↓ ↓
Mary Berry: http://www.maryberry.co.uk
Mathematical way to cut cake: https://youtu.be/wBU9N35ZHIw
And another math cake video: https://...
A Hubble-barn is a unit of volume equal to the cross-sectional area of a nucleus multiplied by the width of the visible universe. It's about 13 litres 😄
Wait, you do what in Excel?
.
Cool 😄
You run it mentally, to check if it works.
Excel itself is the most widely used functional programming language.
Video highlighting my research on PowerPoint Turing Machines for CMU's SIGBOVIK 2017
Read the paper:
http://tomwildenhain.com/PowerPointTM/Paper.pdf
Download the TM:
http://tomwildenhain.com/PowerPointTM/PowerPointTM.pptx
Original video (without live background noise):
https://youtu.be/sdkxWqsk17c
Please check out my other videos for (slight...
Excel is a programming language though. It has lambda functions!
...
And a lot of critical computation is done in Excel.
Which kind of terrifies me tbh.
Engineers use it a lot.
Tbh, the price isn't that bad in the long-term.
I'm currently using a macbook air I bought in 2014 😄
lol I was looking at old mentions remember this
no I don't think, lemme see lol
i use brew too
brb
@hollow haven is joe ok
ah, wrong chat 😔
lol 😦
@honest pier lolno, at this point I'm just bullshitting
Yep 😄
Feels rude to just join
But that would ruin the gradient
Just become a mod Griff
😔
@stuck drum mic issues?
Which is better javascript or lua
lua dipa
one of these
Tuto : https://tiplanet.org/forum/viewtopic.php?f=31&t=21003&p=226524
Original CPU settings - no overclocking.
Game : Zelda Link's awakening for the monochrome Game Boy.
Same ROM used on 4 models, although the Casio version of the emulator does colorize the game.
1st : Casio Graph 90+E (french fx-CG50) : SH4 @118MHz, 8MiB SDRAM
2nd : TI-Nspire...
it's 03:09
why am I still awake
sameeee
same
it will say when it is
Okay.
yay
print(42)
@stuck drum
if let Some(pipe_ref) = data.pipeline.upgrade() {
unsafe {
std::ptr::swap(
Arc::<wgpu::RenderPipeline>::as_ptr(&pipe_ref)
as *mut wgpu::RenderPipeline,
&mut new_pipeline as *mut wgpu::RenderPipeline,
);
}
garbage.push(new_pipeline);
}
me too :((
it's 03:41
@stuck drum this is your first program : it only prints a thing.
life sucks
yes
the addictive force is not permitting me to exit vc
Game: YOU UNLOCKED A NEW CODE!
What can I learn next I mastered a new code
print code is kinda easy to remember.
yes
tehy woke midday
o
same
oo look bemis
An article from dylanbeattie.net
@flint hill what about the security of linux?
Guess i should be safe and not click on suspicious things anyway
\u2008
🥴
@unborn storm i havent really been affected by viruses but just incase there might be some lurking i was going to install a different os. SHould i donwload the os and use a app image writer on a seperate computer just to be safe?
Ok why is watching someone code more entertaining then watching a livestream of any game?
Or am I just a big nerd?
satisfying
satisfying and entertaining to watch
Yea
and honestly the more I think about it
I get waaayy to stressed during the day and the way I relieve it is just coding or doing something calming that's similar.
So I guess I'm associating it with that in my head.
@stuck drum Please stop playing youtube into mic
whacha trying to say @dense ibex
The cap is over 9000
Yea?
?
Yea :P
@runic forum What are you watching 😛
Yea I like discord.js when Itried it
@ivory thistle he never said that-
Only reason I moved from node is because I was coding a twitch bot in Node.JS and I needed to use python to send serial data to an Arduino uno
most non efficient program ever.
Arduino C is really simple
I learned it when I was like 10 :P
Yea I'm trying to learn C++ rn the only thing with it is I cant think of projects
I mean I still use Youtube tutorials :P
No not at all
I think that's cool
I usually use Youtube tutorials just to teach me what libraries to use and whatnot
Tkinter is so tedious for me
Only thing is with stack overflow is I always provide extra information and then my questions gets downvoted and then I cant ask questions on an account.
Lmao
Sorry Tips my mic is huge
Yes.
sounds about right
Overly huge
no not yours
no not what you were saying
Ok I got a question, so I'm 14 I'm no longer a squeaker but you can tell I'm younger do people like that annoy you in voice chats as long as they don't speak a crazy amount and are generally quiet but will say something once every now and then?
Oof my editer
needs admin rights
does anyone know how to get a editer without admin rights
@stuck drum id recomend using IDLE or sublime text 3. As it doesnt get in the way of small projects
pls my ears
almost there, I think I need a few more messages to be able to speak
Yes, I just need to wait till this afternoon
"I, three, nine eggs."
Corey Schafer, YouTube
Playlists. Series on Python.
Also:
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
@fresh python
How to extract table from pdf
no idea, sorry
don't even know if that's possible
I don't think the PDF sees it as a table
just as text and lines
what error
well go on and do that then
It looks complicated
are you on windows
maxp = server.Clients
class MyClass():
pass
my_class_instance = MyClass()```
@bot.command(aliases=['stts'])
async def status(ctx):
FiveM(ip=data.ip, port=data.port)
players = sv.clients
maxp = sv.max_clients
try:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Online.')
embed.description(f'Players: {players}/{maxp}')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
except aiohttp.ClientConnectorError as e:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Offline.')
print('oi')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
await ctx.send(embed=embed)
@bot.command(aliases=['stts'])
async def status(ctx):
foo = FiveM(ip=data.ip, port=data.port)
sv = foo.get_server_info()
players = sv.clients
maxp = sv.max_clients
try:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Online.')
embed.description(f'Players: {players}/{maxp}')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
except aiohttp.ClientConnectorError as e:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Offline.')
print('oi')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
await ctx.send(embed=embed)
sudo apt install python3
Full error messages would be a lot more practical
preferably in text
Could you copy-paste the full error message please?
Traceback (most recent call last):
File "C:\Users\Utilizador\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
ret = await coro(*args, **kwargs)
File "C:/Users/Utilizador/Documents/Chicago/Chicago.py", line 99, in status
players = sv.clients
AttributeError: 'coroutine' object has no attribute 'clients'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\Utilizador\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\bot.py", line 903, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\Utilizador\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 859, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\Utilizador\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'coroutine' object has no attribute 'clients'
C:\Users\Utilizador\AppData\Local\Programs\Python\Python37\lib\asyncio\events.py:88: RuntimeWarning: coroutine 'FiveM.get_server_info' was never awaited
self._context.run(self._callback, *self._args)
RuntimeWarning: Enable tracemalloc to get the object allocation traceback```
thank you
synaptic
Can I ask something java related
How do you set path
For java
Actually this python library needs Java
To run
I installed Java but I don't know how to set path
Even set up path
But it's not working
GIMP, image editor
try
@bot.command(aliases=['stts'])
async def status(ctx):
sv = FiveM(ip=data.ip, port=data.port)
info = await foo.get_server_info()
players = await sv.get_players_raw()
max_players = sv.max_clients
try:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Online.')
embed.description(f'Players: {players}/{maxp}')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
except aiohttp.ClientConnectorError as e:
embed = discord.Embed(title='SERVER STATUS.', description='Server: Offline.')
print('oi')
embed.set_image(url='https://images-ext-2.discordapp.net/external/aNWIdp38Qfp484V4iot5-hiYT_JdRz-OzoR40ZNhQ-8/https/media.discordapp.net/attachments/819634734291615744/819646947584638976/image0.png')
await ctx.send(embed=embed)
k
The official flameshot site.
STREAMING, what is this
@gentle flint that horse design reminds me those one's you find from old vintage stores
By autocratic bestowment only.
it's a dalahäst
A Dalecarlian horse or Dala horse (; Swedish: Dalahäst) is a traditional carved, painted wooden statue of a horse originating in the Swedish province of Dalarna (Dalecarlia). In the old days the Dalecarlian horse was mostly used as a toy for children; in modern times it has become a symbol of Dalarna, as well as of Sweden in general. Several ty...
that's an error in the server info
either the ip address or the port is wrong
The code is fine
Whoosa good boy? You are! Yes! You are!
@gentle flint
why was I pinged?
WHY
I already told you, multiple times, that I don't know why it doesn't connect.
Quit asking me.
Thanks.
@analog barn Are you using a function that you expect to be returning a dictionary?
Hence .get?
Because if you are expecting to use .get on an object you're getting back from a function, that function is probably returning None.
Either through not having/using a return or from returning something else which is None.
what should i change then
Look at the return of Entry(parent).grid
okay lemem try
@analog barn Maybe entry is expecting grid stuff to be parameters passed into it
Changing your os is not mostly about security : if you don’t click on the first « get the iphone 11 for free », you are kind of safe. It is more about what you like and that for example Linux is more lightweight, or because it is generally better for programming. For the installation, i just recommend to follow the classic v for the distro you chosen.
and the .grid method might be for telling the instance to update itself
but the method, itself, may not have a return
its working now thankyou ^^
def toHue(waveLength: float)->rgb:
Hue = 180
displace = 0.1
while True:
L = 650 - 250 / 270 * Hue
if(L > waveLength):
Hue += displace
else:
Hue -= displace
if(int(L) == int(waveLength)):
break
print(L, waveLength, displace)
return Hue```
@gentle flint : are you on Discord all the day during ?!
XD
lol
I woke up 30 minutes ago 😂
oof lol
def hueToRgb(hue: float) -> rgb:
V = 1
S = 1
C = V*S
X = C * (1-abs(hue/60%2-1))
m = V - C
if (0<=hue<60):
r, g, b = C, X, 0
elif (60<=hue<120):
r, g, b = X, C, 0
elif (120<=hue<180):
r, g, b = 0,C,X
elif (180<=hue<240):
r, g, b = 0,X,C
elif (240<=hue<300):
r, g, b = X,0,C
elif (300<=hue<360):
r, g, b = C,0,X
return rgb(r+m*255,g+m*255,b+m*255)```
class rgb:
def __init__(self,r,g,b):
self.r = r
self.g = g
self.b = b```
We all dox together
What...
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
what were you doing @gentle flint
@jaunty pendant read the actual embed
lol
writing docs
for what?
a library I've been working on for a few months
show me
hurrah
hmmm?
I am on my phone. Again
yes
vex, totalMass, dryMass, specificImpulse, deltaV = symbols("vex totalMass dryMass specificImpulse deltaV")
rocketEquation = vex * log(totalMass / dryMass) - deltaV
rocketEquation = solve(rocketEquation, totalMass/dryMass)[0]
rocketEquation = (rocketEquation.subs({vex:2000, deltaV:4600}))
print(rocketEquation.evalf())
Vex = specific impulse * G_0
Oh
Right
bre
Noic
The C Programming Language (sometimes termed K&R, after its authors' initials) is a computer programming book written by Brian Kernighan and Dennis Ritchie, the latter of whom originally designed and implemented the language, as well as co-designed the Unix operating system with which development of the language was closely intertwined. The boo...
lowercase p
did you save it as a .py file?
you know what, it's probably easier to open a command prompt, cd into your directory, and run your file from there with python filename.py
I turned on noise suppression
yay
Nvidia RTX Voice is an audio application & driver developed for Microsoft Windows 10 to instantly removes all microphone background noise in real time utilizing the massive processing power from your Nvidia RTX GPU Tensor cores via CUDA programming API to run complex machine learning & artificial intelligence algorithms to dynamically determine ...
i actually do everything on "command prompt" (being of a mac, it is called a terminal) : i edit with vim XD

I edit in atom/sublime/anything else
I execute in terminal
on remote servers I edit in nano
lol
you should at least learn 4 basic commands in vim
so you get the basic stuff like highlighting
or completion
Where do I run the code on sublime
Not working.
to go to Tools>build
it is somewhere
i guess
else just run it from the command prompt ^^
it is sometimes better
because you can fully control how you launch your script
Sublime fucking sucks
no
It's not even working
you just need to learn it
it is working
you're just not using it in the way intended
It's intended to edit files
not to run them
i told you that atom would be easier to learn 😉
oh
also not really suitable for that
for integrated running like that use vscode or pycharm
yes
yes
Give them all a go
'til you find what you rock with
but why not just stick with IDLE?
yea
yes
for me, until you don't have a project with multiple files etc. IDLE is perfect
^
sublime or others are if you need additional shorcuts or features like auto-completion (i mean proper auto-completion)
that need admin rights
atom
ok
and then you can get back and see what you like the most
IDLE can run a code just by pressing F5
i guess it is simpler
so can you run your print in idle ?
IDLE
IDLE
just search for IDLE in cortana or whatever
and then open this app
you gen the shell and if you go to file > new you can make a python script
IDLE is the python's "official" editor
it has all the features you need for the moment, and even more
well...
in windows XD
i don't know
are you on window 7 ?
because i guess there is no cortana in windows 7 ^^
docs I wrote last night be like
a yes
lol
no but it is simpler to use
i used sublime for a while and it works perfectly ! you have to learn how to use it, that is the drawback
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
cool never saw that !
my god
Ad that makes fun of German accents and encourages you to learn a foreign language. Hilarious!
do you speak inglish?
personally, I'm Dutch
the video is English/German
German vs Dutch?
I think he's expecting the Euclidean theorem
def euclide(a,b):
while b!=0:
r=a%b
a=b
b=r
return a
what i did :
euclide2 = lambda a, b: 1 if a <= 1 or b <= 1 else euclide(b, a % b)
oh, in france the euclide algorithm is actulally the method to compute GCD
it is not perl.
it could be shorter
e=lambda a,b:1 if b==0 else e(b,a%b)
brb
in voice chat
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
@cunning bough
!voice
read it
okeey
!voice
Voice verification
Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.
Yo 😄
It would be surprising if you didn't...
Pretty cool tbh 👍
Is it 4-bit?
I remember designing this accumulator machine in this program called Logicly
So... what's everyone up to?
Hello @somber heath
Nice. I thought that was that movie that everyone thought existed, but it didn't...
Oh right 😄



