#voice-chat-text-0
1 messages · Page 720 of 1
it would fail if the user inputted more than 6000 chars in the "write your own comments" section
3k to 4k is still massive
"all user input is evil"
how would they, using a discord bot? users are also limited to 2k chars
Yeah I don't think people write 1.5 pages out of malice
Even if they did, worst it would do is error out and just wouldn't send
Bot would still be live
Just that command call would fail
ok, at least it wouldn't crash, so i guess i'm safe
mhm
time to "fix" my code
@faint ermine do the formatting codes **bold** and *italics* work in embed boxes?
depends on the field
[0, 1, 2, 3]
"Brackets" is literally the vaguest description you could give lmao
@faint ermine is the name mandatory for a field in an embed?
check the docs
if u have the file/folder open in the ide u cant delete it
close pycharm, i get that error in vscode if its loaded somewhere it says 'not sufficient perms'
b4
@limber blaze
nobody listenin to me hehe
🙂
i fix
i do good
yes
im here
i don't like talking :/
!e ```py
iterable = [
{"thing": [True, False]},
{"thing": [False, False]},
{"thing": [False, True]}
]
f = filter(lambda x: x["thing"][0], iterable )
print(list(f))
@faint ermine :white_check_mark: Your eval job has completed with return code 0.
[{'thing': [True, False]}]
sum(map(lambda x: x.range.timedelta, entries), timedelta())
@faint ermine I'm so mad because I'm failing to do it
I concede
Yeah, I'm dumb and can't figure it out
do what?
Back in a bit
Cool, got an audit laptop that won't boot
Wheeee
Will be a bit longer for me than I anticipated
Hi people
Unfortunately, it's not as simple as a revert since the original change was made in response to other customer issues with the fmod function. We're currently evaluating a solution to make all parties happy.
VIM
VIM FTW
well vim is really straightforward
if it's running on ARCH LINUX it's even better
well vim is a great editor
and arch linux is a good OS
i use arch btw
a lot, i feel
cuz i use canon because of that same logic
i've got big pants too
and VSCode is just as powerful as EMacs
only people who use EMacs are grizzled Unix Veterans who grew up with it
so guys
in python
does this work the same as self
like in a constructor
this.sessionID
can i do constructor.sessionID to get said sessionID outside the object
whats constructor?
like in node
you can access the instance of the object yes
okay cool thank you
@vivid palm There's something oddly satisfying about the fact that the hat stays in place in your avatar. It's like it's waiting for the bunny booty to be in the right place.
lolll. i originally wanted the hat to animate along with it but nah too much work. sad xmas is now over 😦
Honestly it was hard to tell with COVID
Everything just felt..... off
Hey LX, just noticed you on here. And yeah, I'm usually on here for most of the day on weekdays
Although the topics tend to shift wildly in content
Decent enough
We've always got a shoulder for that. Or suggestions. Not necessarily good ones, but....
'bout yours?
Hows your email conversion going?
Yeah not bad 😄
I drank too much bucks fizz and I'm feeling the effects
champagne and orange juice is a dangerous combination
Always finding new things in the standard library
@lime plaza check out our website:
!resources
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Java is better for learning programming as in the concepts
for production use, it's awful
!projects
Kindling Projects
The Kindling projects page on Ned Batchelder's website contains a list of projects and ideas programmers can tackle to build their skills and knowledge.
every thing but slowly
I feel your pain on so many levels. And yeah, tax season destroys me. Not because of how it hits me, but because of how it hits the accountants
Scary stuf
😄 fghmkgf
documentation
:=
aw lol
@wraith ridge u leavin?
Is that a new channel?
Pooping
Also I think machine learning people are kind of weary of people asking about the subject 😄
Because of all the hype
Square is normally a bit 'nicer' than absolute value.
Because it's more analytical/smooth.
The absolute value function has a kink in it 😄
this sounds like math hahahah
!e
import numpy as np
a = np.random.randint((5,))
b = np.random.randint((5,))
print(a, b)
a **= 2
b **= 2
print(a, b)
c = np.sqrt(a + b)
print(c)
sqrt(sum([(a - b)**2 for a, b in zip(vec1, vec2)]))
@tidal salmon :white_check_mark: Your eval job has completed with return code 0.
001 | [2] [0]
002 | [4] [0]
003 | [2.]
!e
import numpy as np
a = np.random.randint(-10, 10, size=(5,))
b = np.random.randint(-10, 10, size=(5,))
print(a, b)
c = np.sqrt((a - b) ** 2)
print(c)
@tidal salmon :white_check_mark: Your eval job has completed with return code 0.
001 | [ 9 -3 -7 4 -1] [ 0 -3 -7 8 5]
002 | [9. 0. 0. 4. 6.]
!e
import numpy as np
a = np.random.randint(-10, 10, size=(5,))
b = np.random.randint(-10, 10, size=(5,))
print(a, b)
c = np.sqrt(np.sum((a - b) ** 2))
print(c)
@tidal salmon :white_check_mark: Your eval job has completed with return code 0.
001 | [ 4 -3 -10 7 5] [ 7 -2 -5 5 -9]
002 | 15.329709716755891
!e
import numpy as np
a = np.random.randint(-10, 5, size=(5,))
b = np.random.randint(-10, 5, size=(5,))
print(a, b)
c = np.sqrt(np.sum((a - b) ** 2))
print(c)
a, b = np.abs(a), np.abs(b)
print(np.sqrt(np.sum((a - b) ** 2)))
@tidal salmon :white_check_mark: Your eval job has completed with return code 0.
001 | [-1 -9 -2 4 -5] [-8 1 -8 -2 1]
002 | 16.0312195418814
003 | 13.0
a machine learning formula: np.sqrt(np.sum((a - b) ** 2))
Oh right. That's the Euclidean distance.
Yo @gentle flint
Anyone have any resolutions? 😄
Trying to think of a conversation starter 😅
.topic
Suggest more topics here!
We have a bot for that 😄
I'l be out see u later
That sounds like it would have been a good place to use property-based testing.
my favorite test for rest API is extra field test
we check to see if there is any fields we don't expect
Describe "Calc API Tests" -Tags "API"{
Context "Calc Tests"{
It "Adds 5+5"{
$testURI = "$($URI)/calc/add?number1=5&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Subtract 20-10"{
$testURI = "$($URI)/calc/subtract?number1=20&number2=10"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Multiply 2*5"{
$testURI = "$($URI)/calc/multiply?number1=2&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Divide 100/10"{
$testURI = "$($URI)/calc/divide?number1=100&number2=10"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 10} | ConvertTo-Json)
}
It "Expo 5^5"{
$testURI = "$($URI)/calc/expo?number1=5&number2=5"
(Invoke-RestMethod $testURI | ConvertTo-Json) | Should -Be (@{result = 3125} | ConvertTo-Json)
}
It "Calc JSON Post / Adding 5+15"{
$testURI = "$($URI)/calc/calc"
$body = @{
op = 'add'
number1 = 5
number2 = 15
}
(Invoke-RestMethod -Method POST -Body ($body | ConvertTo-Json) -Uri $testURI | ConvertTo-Json) | Should -Be (@{result = 20} | ConvertTo-Json)
}
}
}``` Pester tests
Yep, check #voice-verification for details.
Alright 😄
don't they have an upside-down question mark in Spanish?
Combinatorics can actually be pretty rough 😄
Nice. I've heard of classes where they drop your worst two assignments from your grade.
See ya
Oh, that sucks
At Berkeley they do the opposite and give you altruism points for helping others.
*In some CS courses
Even from one department within the college to the next 😄
The maths department at my uni was way better at doing undergraduate teaching than the CS department.
I'm off too. See Ya
@grave osprey can you hear us
while True:
ret frame = video_capture.read()
anything wrong with this code?
im getting a syntax error and i know its wrong
but in the course im learnin the guy put this and it worked just fine
Weird, can you send the link?
Ah right, thought it might be some weird python interpreter 😄
while True:
ret, frame = video_capture.read()
AttributeError: partially initialized module 'face_recognition' has no attribute 'load_image_file' (most likely due to a circular import)
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-qjdp5db9\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
Maybe you named a module the same as a library module?
Is your file called face_recognition.py?
And you do import face_recognition inside that file?
Ah, that's the issue 😄
Erm, what module are you trying to import?
py -m pip install face_recognition
CMake must be installed to build the following extensions: _dlib_pybind11
*******************************************************************
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Marven\AppData\Local\Temp\pip-install-9_ytej55\dlib_8c2066af32724798900e39f529cd134e\setup.py'"'"'; file='"'"'C:\Users\Marven\AppData\Local\Temp\pip-install-9_ytej55\dlib_8c2066af32724798900e39f529cd134e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\Marven\AppData\Local\Temp\pip-record-zwjva_9s\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\python39\Include\dlib' Check the logs for full command output.
Ah, I'm not very knowledgeable about Windows sorry.
Do you also have python 3.8 installed?
The package is more likely to have pre-built wheels for that.
Try installing it into 3.8
py -3.8 -m pip install face-recognition
If you've heard of Make, CMake is like a tool that generates makefiles.
And that's pretty much the extent of my knowledge. 😄
It may take a while.
Do you have a progress bar?
Oh right 😄
Yep. Is your computer getting hot? 😄
That might be a sign of progress.
Compilation can take a while.
Here I show you how to use the face recognition with the webcam to recognize faces and match it to faces from the photos on your files.
https://github.com/brunocenteno/face_recognition_video_tutorial
IT WORKED
F YES
ValueError: operands could not be broadcast together with shapes (1,720,1280,3) (128,)
brb
@eternal bough i can hear now, airpod wasnt working but shud be gud now
lol
Why don't I have permission to speak in this channel?
my_face_encoding = fr.face_encodings(Marven_image)[0,1]
TypeError: list indices must be integers or slices, not tuple
i gotta go, see ya!
Hi @grave osprey
Any clue on what permissions are needed to speak?
!voiceverification
my_face_encoding = fr.face_encodings(Marven_image)[0,1]
my_face_encoding = fr.face_encodings(Marven_image)[0:1]
@versed breach aha hey
whats up homie?
just configuring my laptop / programs / setting n stuff wbu?
Technically, he's right.
@grave osprey about to check out that link in your server that was sent to you
oh ya that phising thing, its always fun to try n figure out how that stuff works aha
@grave osprey lets pull this to dm's
raceback (most recent call last):
File "d:\Users\Marven\Desktop\opencv\facerecognitionz.py", line 9, in <module>
Marven_face_encoding = fr.face_encodings(Marven_image, Charbel_image)[0:1]
File "C:\python39\lib\site-packages\face_recognition\api.py", line 213, in face_encodings
raw_landmarks = _raw_face_landmarks(face_image, known_face_locations, model)
File "C:\python39\lib\site-packages\face_recognition\api.py", line 158, in _raw_face_landmarks
face_locations = [_css_to_rect(face_location) for face_location in face_locations]
File "C:\python39\lib\site-packages\face_recognition\api.py", line 158, in <listcomp>
face_locations = [_css_to_rect(face_location) for face_location in face_locations]
File "C:\python39\lib\site-packages\face_recognition\api.py", line 49, in _css_to_rect
return dlib.rectangle(css[3], css[0], css[1], css[2])
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. _dlib_pybind11.rectangle(left: int, top: int, right: int, bottom: int)
2. _dlib_pybind11.rectangle(rect: dlib::drectangle)
3. _dlib_pybind11.rectangle(rect: _dlib_pybind11.rectangle)
4. _dlib_pybind11.rectangle()
Invoked with: array([ 83, 128, 63], dtype=uint8), array([ 82, 127, 62], dtype=uint8), array([ 82, 127, 62], dtype=uint8), array([ 82, 127, 62], dtype=uint8)
[ WARN:0] global C:\Users\appveyor\AppData\Local\Temp\1\pip-req-build-qjdp5db9\opencv\modules\videoio\src\cap_msmf.cpp (435) `anonymous-namespace'::SourceReaderCB::~SourceReaderCB terminating async callback
😎
🕵️
!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.
sorry be back in 15min
Victor Mono is a free programming font with semi-connected cursive italics and symbol ligatures.
yall wanna send me ur theme/config 😛

whoevers is better lol
so mine
:sofunntbhai:
Hi
num1 = input('Enter the first value')
num2 = input('Enter the second value')
operation = input('Operation : ')
...
str.split()
hello
hi
anyone can help?
yo
hey
sup bro
welcome
ty
XD
i started to learn python and im loving it
gotcha
hi
sup
im watching a course on freecodecamp by charles severance but i kinda wanna start doing some projects alone
any ideas?
u can with me
im fron lebanon, im @digital jackal friend
i am on intermediate level
who said we are
idk im still kind of a beginner
😩
hahahahaha marven moss ayre
hey can we come on voice call i guess it will be better
im busy rn
oki
nice to meet you
Spooky. First time I've seen the voice chat empty in a long time
@ocean sail are you always Greg ?
No im his friend from school
ohh, nice
Hey @rugged root if you don't mind, can you tell me why is there no requirements.txt file in your python discord bot github repository?
https://github.com/python-discord/bot
because there is Pipfile
We do everything using pipenv, which handles all that jazz, like Inherit said
oh, sorry, didn't know that
No reason to apologize
thanks
I want people to ask questions and learn
import datetime
import win32com.client
scheduler = win32com.client.Dispatch('Schedule.Service')
scheduler.Connect()
root_folder = scheduler.GetFolder('\\')
task_def = scheduler.NewTask(0)
# Create trigger
start_time = datetime.datetime.now() + datetime.timedelta(minutes=5)
TASK_TRIGGER_TIME = 1
trigger = task_def.Triggers.Create(TASK_TRIGGER_TIME)
trigger.StartBoundary = start_time.isoformat()
# Create action
TASK_ACTION_EXEC = 0
action = task_def.Actions.Create(TASK_ACTION_EXEC)
action.ID = 'DO NOTHING'
action.Path = "C:\\Users\\akash\\AppData\\Local\\Programs\\Python\\Python37\\python.exe"
action.Arguments = 'C:\\Users\\akash\\Documents\\python\\IP_address.py'
# Set parameters
task_def.RegistrationInfo.Description = 'Test Task'
task_def.Settings.Enabled = True
task_def.Settings.StopIfGoingOnBatteries = False
task_def.Settings.WakeToRun= True
task_def.Settings.DisallowStartIfOnBatteries= False
# Register task
# If task already exists, it will be updated
TASK_CREATE_OR_UPDATE = 6
TASK_LOGON_NONE = 0
root_folder.RegisterTaskDefinition(
'Test Task', # Task name
task_def,
TASK_CREATE_OR_UPDATE,
'', # No user
'', # No password
TASK_LOGON_NONE)```
Free keyboard macro program. Supports hotkeys for keyboard, mouse, and joystick. Can expand abbreviations as you type them (AutoText).
hey no he is not XD
he is my freind
he just got into coding and stuff
nice name tho Xd
but pfp looked to similar to the one u had before x)
.
just like a jole between us
wow, i spoke to the teacher so casually
We should have a graph of that, that's unacceptable
XD
Were you thinking to get a new console or something?
Yea Ps5 looks pretty nice 8)
Whyyyy
It’s future looking


Lol
!e
class Class:
pass
print(type(Class))
@neon sleet :white_check_mark: Your eval job has completed with return code 0.
<class 'type'>
how much does a ps5 cost at ur place?
499USD
ok
you can look on EBay if you want to pay a scalper
so just for reference how much does the cheapest mcd burger cost at your place?
1USD?
free if you go out back and search the bins
Lol ew
USD = United States Dollar
Oh nvm
Loool
wtf is this thing lol
it's gonna save your hands haha
step-board im stuck in the key
who tf uses that lmao
I type like I live my life "I just keep doing things and it works."
The Kinesis Advantage 2 may be ugly as all hell, but it's the most comfortable mechanical keyboard we've ever tested!
Buy Rosewill CULLINAN-RED on Newegg (http://geni.us/uHUUg)
Buy Rosewill CULLINAN-WHITE on Newegg (http://geni.us/hs7ko3)
Buy Rosewill CULLINAN-BLUE on Newegg (http://geni.us/NJ7j)
Use promo code LTTMAY25 and take additional $2...
You might like this
make your hands better guys
ah yes LTT lol
Lmao
@rugged root https://i.imgur.com/4WPCHtt.jpg
🤢
this is my dream, my current one is a bit less flat
hmm interesting
yh it has faster speed for gaming
i’m in a meeting, it’s boring
yeah saw it
Adam Savage?
who?😂
F
Ah, gotcha
ive looed at the roccat one ngl
its like 130$ and really comfy and good for gaming
yh roccat has great kb's
i just need the money first and then a CPU upgrade is more important than keyboard
Unless you have wrist pain/forearm pain
hahahahahaha no pain no no gain
i dont, i have a bit larger keycaps right now but no wrist pain thanks to wrist rest

oui oui
what cpu do you currently have?
yeah no sh*t
XD
croissant😂
Keyboard > CPU
bigbrain*
yep
CPU > keyborard
get out
sorry guys my bad, my sibling came by haha
HAHAHAHAAHHAHAHAHAA
Mouse > CPU
Rat > Mouse > CPU
Perfect
bat>rat>mouse>CPU
Bra > in
must be a finalmouse XD
for bra in in:
print("brain size : " + len(brain_size))
!e
for a in "a":
from string import ascii_lowercase as a
print(a[0])
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
a
why
:incoming_envelope: :ok_hand: applied mute to @digital jackal until 2020-12-29 16:54 (9 minutes and 58 seconds) (reason: discord_emojis rule: sent 23 emojis in 10s).
HAHAHAHAHAHAHAHAHHAAA
get rekt lol
uh oh
!unmute @digital jackal
:incoming_envelope: :ok_hand: pardoned infraction mute for @digital jackal.
@digital jackal
Well, please don't
lol
he is bragging about it 
AHAHAHAHA F
Smh
F
F
^ shouldn't it say mute? @balmy nymph
That is what he got dm'ed
should be temp mute^^
lol
!source
^ go here @digital jackal
(venv) prime@mac project % import flask
zsh: command not found: import
(venv) prime@mac project %
getting this error
mac
python
okhay
can someone help me
sure
be sure to always state specifically what you want help with. Otherwise no one knows what they're jumping into.
lets say i've been given a string something like that: Hello how are you #today. and I want to remove everything from the sign and beyond is there a method or someway to do that?
Noted
my_string.split('#')
!e
my_string = "Hello how are you #today"
parts = my_string.split('#')
print(parts)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
['Hello how are you ', 'today']
you now have the two portions of the string
thank you very much
np FatT
gg close game
I think we all should move to AFK vc
nice vc
what are the applications of sequence space in math
#maf
That removes only the the sign itself I wanna remove everything beyond it
You have any idea how to do that?
only take the first element of the list
like so
!e
my_string = "Hello how are you #today"
parts = my_string.split('#')
first_part = parts[0]
print(first_part)
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
Hello how are you
split gives you a list of strings, creating a new element of the list when it meets the character specified. In this case #
if we want everything before the first # we can take the first element of the list it gives us back
by using the [0] to gather index 0
guys quick question, i looked at the curriculum for computer science at uni, it has 15 credits of maths like calculus 3 linear algebra and all that
but when do i actully need these
like while coding
to graduate
yeah thats my question, so i dont need them for coding or what?
math will get used, there has been a few times where I have been confused of what a symbol means etc.
but even then its very basic and if I can google it and pick it up
its nothing massive
there probs is a further extension of this tho
gaming engine programming jobs
Database Software Designers
Operating System stuff depending
renderings usually use mathematical equations right? I guess thats why you said Game engines
yep
even then, speed is important so any math needs to be most efficient
in any case, debating their usefulness is pointless, you need it to graduate
^ if ur signed up and paid for it, get it done
so is there a place i can kinda start learning the math i might need
not about solving problem
like self learn it
but just if something is possible in python
any good website?
i usually just google what I need at the time, soz
i did but I don't know how to explain it properly I just want to see if it makes sense
Its just an idea
oh ok, thx
just try, what are you wanting to do?
if you want to get head start, see if your school or look at community college (US)
Alright so
is it possible to use the a class attributes more then one. and assign them in a list
kinda
Because i don't want to make an object out of it
I just want to store values of the attributes in a list
then use that list
hope that makes sense
sounds logical
!e ```python
class Rabbit:
def init(self):
self.rabbit = "Hello Rabbit"
b=[]
for x in range(0,10):
b.append(Rabbit())
print(b)
just never thought of it till today
!e
class MyClass:
def __init__(self):
self.val_a = 5
self.val_b = 2
self.val_c = 12
@property
def allVals(self):
return [self.val_a, self.val_b, self.val_c]
c = MyClass()
print(c.allVals)
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
[<__main__.Rabbit object at 0x7f9e95b19400>, <__main__.Rabbit object at 0x7f9e95b197c0>, <__main__.Rabbit object at 0x7f9e95b198b0>, <__main__.Rabbit object at 0x7f9e95b19970>, <__main__.Rabbit object at 0x7f9e95b19af0>, <__main__.Rabbit object at 0x7f9e95b19b50>, <__main__.Rabbit object at 0x7f9e95b19c40>, <__main__.Rabbit object at 0x7f9e95b19ca0>, <__main__.Rabbit object at 0x7f9e95b19d90>, <__main__.Rabbit object at 0x7f9e95b19fd0>]
@uncut meteor :white_check_mark: Your eval job has completed with return code 0.
[5, 2, 12]
wait
one of us misunderstood
probs me 😂
the thing is with mine, is you're just getting the values
!e ```python
class Rabbit:
def init(self):
self.rabbit = "Hello Rabbit"
b=[]
for x in range(0,10):
b.append(Rabbit())
for x in range(0,10):
print(b[x].rabbit)
@amber raptor :white_check_mark: Your eval job has completed with return code 0.
001 | Hello Rabbit
002 | Hello Rabbit
003 | Hello Rabbit
004 | Hello Rabbit
005 | Hello Rabbit
006 | Hello Rabbit
007 | Hello Rabbit
008 | Hello Rabbit
009 | Hello Rabbit
010 | Hello Rabbit
you could make it the other way, so the properties are val_a, val_b, val_c and they point to a index in a self contained list. Then return that
depends on your requirements, I like mine because cleaner
we are doing different things?
I believe so
i assume attributes means instance attributes
Who knows!
true
there is also dict()
its not defined enough
true. dict then get the list using .values()
thats probs the better way
or list(dict())
!e python b = [{"Person":"Rabbit"}] b[0]['OtherPerson'] = "Griff" print(b[0])
Not sure if serious
Do you like hotdogs? How about horseshoes? Hand grenades? (everyone likes hand grenades) Anyway, we've got all that, and guns. So if you like cooking, lawn games, and ordnance, this is the VR sandbox game for you.Hot dogs, Horseshoes and Hand Grenades is a lazy Sunday trip over to your friends house… if your friend was a retired gun-nut with a w...
$19.99
8636
Welcome to LYNX, the galaxy’s leading ship-salvaging corporation!Across your career, you’ll have the privilege of paying your debt to us by purchasing salvaging rights to increasingly large and valuable ships. Cut them open and extract as much value as possible!You are equipped with the latest in LYNX tech. Carve entry points, salvage valuable m...
$17.49
6709
test
If not told otherwise, curl writes the received data to stdout. It can be instructed to instead save that data into a local file, using the -o, --output or -O, --remote-name options.
i've never seen ur avatar with out the christmas hat... what is it? a buoy?
i like the Orang tho

thx
it's a variant of the RNLAF roundel
had enough of how to wire my PC
decided to draw it
wack
What'd I miss
😳 your mother
I mean I talked to her recently
Is this inside Python application?
what is this in reference to? I just joined lol
ur mom
You use Java, that's even worse that your mom 😒
This is how it looks
what's your rating?
me hall
I'll send a link after this game!
It's irish for Michael
I'm only rated 508...
Ah ok, you send a link then
sounds good
I'll throw in some crap moves too
Stream it to the chat?
gg
got close in the end there 👀
Gotta run - See yous later!
class Student:
def __init__(self, name, favorite_subject, grade):
self.name = name
self.favorite_subject = favorite_subject
self.grade = grade
def study(self):
print(f"I love studying {self.favorite_subject}.")
def eat_lunch(self):
print("Yuck! Meatloaf again!")
def introduce(self):
print(f"My name is {self.name} and I am in {self.grade} grade.")
billy = Student("Billy", "Math", "6th")
sally = Student("Sally", "Science", "5th")
hey guys, i cannot speak since i am new to the server but can someone help me in a doubt about conways game of live?
@broken cedar I'm familiar with the game but not an expert in it. What's your question?
can some admin give me permissin to talk?
see voice-verification channel
!e
class Student:
students = []
def __init__(self, name, favorite_subject, grade):
self.name = name
self.favorite_subject = favorite_subject
self.grade = grade
self.students.append(self)
def study(self):
print(f"I love studying {self.favorite_subject}.")
def eat_lunch(self):
print("Yuck! Meatloaf again!")
def introduce(self):
print(f"My name is {self.name} and I am in {self.grade} grade.")
def __repr__(self):
return self.name
billy = Student("Billy", "Math", "6th")
sally = Student("Sally", "Science", "5th")
print(Student.students)
@rugged root :white_check_mark: Your eval job has completed with return code 0.
[Billy, Sally]
so i already defined a function that counts the neighbours and tells me if my cell is going to be alive or dead in the next generation, but now i got to do a function that updates the state of every cell in the world according to my first function
and i dont really know how to do it
Do you know how to use loops germano?
not really
You probably want to use a for or while loop
Does that answer your question then, or is there something else you don't understand how to do?
but then it goes trough each cell and updates it, so the next cell (second in case) will consider the first cell already updated
You need to create a second list or tuple then which is the new game board.
Don't update the preexisting one until the next iteration of the loop.
I can't, and I don't think you will get permission from a mod.
Can you share a screen_shot_?
the names of the
the names are in portuguese
so that is kinda weird
and i cannot talk so it difficults a lot...
Language doesn't really matter since they're just identifiers.
and this is the code to identify the neighbours
celula_vive is the name of the function that identifies the neighbours
So in the first bit you have if... and elif... which look exactly the same. @broken cedar
Hey, btw, if you can paste your code in chat rather than screenshots, that would make it easier to copy and paste and comment btw, esp. since it's portuguese.
def itera_mundo(mundo, regra = (3, 2, 3)):
matriz = mundo[:]
for i in range(len(matriz)):
for j in range(len(matriz[i])):
if i > 0 and i < len(matriz)-1 and j > 0 and j < len(matriz[i])-1:
l1 = [matriz[i-1][j-1],matriz[i-1][j],matriz[i-1][j+1]]
l2 = [matriz[i][j-1],matriz[i][j],matriz[i][j+1]]
l3 = [matriz[i+1][j-1],matriz[i+1][j],matriz[i+1][j+1]]
if celula_vive([l1,l2,l3], regra = (3, 2, 3)) == True:
atribui_valor_celula(mundo, i, j, 1)
elif celula_vive([l1,l2,l3], regra = (3, 2, 3)) == False:
atribui_valor_celula(mundo, i, j, 0)
return print(mundo)
its suposed to say false
Okay, looks like we caught a mistake then.
when i had both trues i was testing something
What does this indicate ???
DEBUG print mod: Vanilla
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\hlyng\AppData\Local\Programs\Python\Python38\lib\tkinter\__init__.py", line 1883, in __call__
return self.func(*args)
File "app.py", line 409, in openTraderEditor
TraderEditor(self.window,self.selectedMods,self.database)
File "G:\LootEditor\dayz_loot_editor\ui\setprices.py", line 26, in __init__
self.createSubTypes()
File "G:\LootEditor\dayz_loot_editor\ui\setprices.py", line 47, in createSubTypes
for subtype_in_mod in Dao.getSubtypesMods(mod):
TypeError: getSubtypesMods() missing 1 required positional argument: 'mod'
@broken cedar So it looks like there's probably something wrong with your atribui_valor_celula function.
@robust agate lol nice name
it's all good tho
that function is only to give a value to the cell
mundo[linha][coluna] = valor
return mundo
just that
@broken cedar Hold on a sec
okok
@broken cedar So then it looks like the first line might be the problem.
mundo[linha][coluna] = valor
shii can't talk
so that function is suposed to give a value to a cell
so i wrote something like world[i][j] = value
and i refers to the line and j to the column
isn't that right?
Mass censorship is happening rn on ig
The problem is that matriz is defined from mundo, so when you update mundo it's going to change how the values are intepreted. @broken cedar
You need something like nuevo_mundo.
ahh i see
it's gonna be a revolution
so where do i need to change exactly?
You need a new world (nuevo_mundo) to store the new values in so they don't mess up the other ones.
i will only implement this new world on this function right?
MSSQL runs on Linux, pretty sure client driver is efficient on both
do i need to use numpy? or something like that?
The new world is where you store the values until the next iteration of the loop, then mundo becomes neuvo_mundo.
or, sorry, nuevo_mundo becomes mundo @broken cedar
Everything clear @broken cedar ?
okay okay
do i need to use something like numpy to do a copy of the world and call it new_world?
@hidden cove
hold on a sec
@broken cedar No, you don't need to use numpy. You can just copy the [i] and [j] indices from mundo to nuevo_mundo
Just make a new list or tuple and copy each element in the same indices.
nuevo_mundo[i][j] = matriz[i][j] is essentially what you do.
There will be more to it than that, but that is the basic thing you have to do.
And then the next time you enter the loop, you do something like mundo = neuvo_mundo
if u can go on a call that would be very apreciated
okay fine, dm me.
Here comes the VIM Prophets
yesterday was EMac Prophets
I mean, according to JetBrains Python Poll, top popular editors are Pycharm/VSCode/VIM (In really far 3rd Place)
@halcyon flare https://www.jetbrains.com/community/education/#students
@dire folio Hiiiiiiiii
🤔
hey @rugged root 😄
Bye
import speech_recognition as sr
r = sr.Recognizer()
with sr.Microphone() as source:
print("speak:")
audio = r.listen(source)
try :
text = r.recognize_google(audio)
print("You said : ", format(text) )
except:
print("sorry cant hear anything")
C:\python.exe: No module named speech_recognition
pip install SpeechRecognition
he might not have activated the right environment
then it will appear
I tried it lol, but it get's stuck with speak
.
import sys
print(sys.version_info)
sys.version_info(major=3, minor=9, micro=0, releaselevel='final', serial=0)
Hey @coral frigate!
It looks like you tried to attach file type(s) that we do not allow (.whl). We currently allow the following file types: .3gp, .3g2, .avi, .bmp, .gif, .h264, .jpg, .jpeg, .mkv, .mov, .mp4, .mpeg, .mpg, .png, .tiff, .wmv, .svg, .psd, .ai, .aep, .xcf, .mp3, .wav, .ogg, .webm, .webp, .flac, .afdesign, .m4a, .csv.
Feel free to ask in #community-meta if you think this is a mistake.
yikes
pipwin
It requires Pyaudio
pip install PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl
I saw a stack article, that dude was installing Pyaudio using pipwin
that is why he is getting a problem
He should pip installl directly
this one
pip uninstall SpeechRecognition
pip uninstall pipwin
pip uninstall pyaudio
pip install PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl
install visual studio build tools 😔
just copy all this
Yayy software engineering! Just don't touch the code now @digital jackal
There should be a teamviewer integration to discord to debug faster🤔🤔
Consent based lol😂
i guess you need to install it
WARNING: Requirement 'PyAudio‑0.2.11‑cp39‑cp39‑win_amd64.whl' looks like a filename, but the file does not exist
Place the whl file in the same folder
open the cmd in the download folder and install it from them
Have you downloaded the amd64 version?
are you windows/linux?
he is windows
finally
py -m speech_recognition
https://sonic-pi.net/
Music Programming. It's super cool
Sonic Pi is a new kind of instrument for a new generation of musicians. It is simple to learn, powerful enough for live performances and free to download.
google can't shazam.
deleting system32 is like deleting root at ubuntu.
Try the latter out and you will know what would happen in the former case
can i share a video here?
Get a signed shirt: http://jlaservideo.com/clothing
Instagram: http://instagram.com/jlaservideo
TikTok: http://tiktok.com/@jlaservideo
Here's how I made a Spider-Man self tightening suit from the Marvel / Sony Spider-Man movie Spider-Man Homecoming. The suit features 23 nitinol springs that contract when heat is applied. This is done by passing ...
https://www.youtube.com/watch?v=ZGLPxEv_EWo&ab_channel=CNNBusiness
Jarvis by zucky boi
Mark Zuckerberg introduced Jarvis, his new AI assistant with the voice of Morgan Freeman, from the comforts of his own home.
decimeter
decameter
are useless
My favorite measurement of the day : Pirate Ninja XD
My mom's an architect, so you can imagine!😂
from brain import brain
To reduce the severity of his seizures, Joe had the bridge between his left and right cerebral hemisphers (the corpus callosum) severed. As a result, his left and right brains no longer communicate through that pathway. Here's what happens as a result:
I have watched a lot of movies where advanced programmers hack people, can people who know a lot about python or other programming languages possibly hack you?
yes, but its different from the movies are
Consciousness is a bit like poop. It's a mysterious internal process, and if you talk about it at parties you'll stop getting invited to parties.
Proclaim your hate for the channel with t-shirts if you like ► https://teespring.com/stores/exurb1a
Discord server ► https://discord.gg/76ybBSR (just in case that doesn’t work: discord.gg/exurb1a)
Th...
i like him xD
“We have been to the moon, we have charted the depths of the ocean and the heart of the atom, but we have a fear of looking inward to ourselves because we sense that is where all the contradictions flow together.” – Terence McKenna
This one was inspired after a chat I had with the magnificent mystiverse. He makes wonderful stuff ► https://www....
How is it different from the movies?
Also how do I protect against people who hack me?
and more covert entry
Or want too.
exurb1a domestically abused his girlfriend for a long time. Just saying.
If I join the voice channel could you explain it too me?
I guess this theme is a big Mindfuck
lol
there isnt any clear info about it sadly, last i checked at least, the court case wasnt done and its all personal anecdote.
Laundmo could you explain how hacking works and how to protect from it?
most vulnerabilities are not technological, but human based
Yes
or based on covert entry
like my vulnerabiulities
I have lots
Impressing my dad
missing my ex
needing to fart
these are all called vulnerabilities
Possibly, I just followed this up, and the video souned pretty plausible.
https://www.reddit.com/r/OutOfTheLoop/comments/5slnga/whats_happening_with_youtuber_exurb1a_and_his/
86 votes and 41 comments so far on Reddit
Ohh okay...My bad 🙂
k...
I want greg to explain
Oh okay
What is the main take away.
Unless you are high risk, got it.
I just like privacy.
Well they kind of go hand and hand.
No I mean in the sense being private.
Yes that is what I mean
Send the link
Or what do you mean?
I can do that.
Oh no I am not driven off of fear.
Oh I agree.
They could be
Hacking is finding weak points in a system and privacy is protect your own data
Discord messages are not encrypted. They can look at the messages.
I agree.
I feel no danger.
You are looking at this all wrong. The reason I want to do this is irrelvant.
What should I use to stay anonymous?
Use Blackberry, Those phones are highly security oriented
wtf hahaha
have only been active on the server for a few days
and haven't written that many messages yet
Biography of Bolton steeplejack Fred Dibnah. This episode looks at Fred's beginnings in steeplejacking and his passion for steam engines.
Wer brauch die schon?
Jetzt Kanalmitglied werden um uns zu unterstützen und für exklusive Inhalte und Blicke hinter die Kulissen!
Mehr über Poetry Slam auf Poetry Slam News:
https://bit.ly/2OSwppL
Bei Fragen zur Lizenzierung des Videomaterials wenden Sie sich bitte an info@poetryslamtv.de
Donaudampfschiffahrtselektrizitätenhauptbetriebswerkbauunterbeamtengesellschaft
bruhhh.....german words...
@worn mica
oops new here
Dear Felix,
Dear Hufflez,
Hello Felix! Ho ho ho...
Hello Hufflez!
How are you doing Felix
print( var1, var2 )
print(var1, var2)
System.out.println("hello");
Console.WriteLine("hello");
cout << "hello\n";
Hey guys! After over two years of development, I am finally here to show you guys the Redstone Computer v5.0, the latest installment in my series of Redstone Computers! It is improved in every way compared to the Redstone Computer v4.0, and it adds a plethora of new features as well while making existing operations more efficient!
I know I say ...
hey guys, I have a question
ask away!
scroll up and ask in a help channel
should I buy a windows laptop or a mac for programming
no gaming, just programming and work
I would say mac but it's up to you. I think macs are better for productivity
i think so too
but it boils down to personal preference
however Apple is going to give you a headache when it switches to ARM CPUs
mhm, is there any differences in programming or office work stuff?
and let's say I do go with a mac
would an i5 or the new chips be fine?
if you only program in Python, Java, C# then there shouldn't be any difference
yes
but C, C++ might be different in the future
You'll be fine, those are only in special cases. If you have the money go with a mac, they tend to have less problems in my experience.
gotcha. thanks.
wait one last question
would you go with a pro or an air?
or does it not matter?
Depends on use case and budget, the air is actually fairly powerful but if you think you need more than get the pro.
gotcha. thanks.
MBP all the way if your budget allows it though
I mean it's not too bad of a pricing given that I'd go with the cheapest 13inch model
I don't really like to use laptops like that
30
are saying that in biology what survives is the best adapted, in fact it is what can reproduce
Really hard ,one thing that actually got me punched is work permit in order to work remotely
I do
true
Angola, it's hard when you're outside
Perfectionism will mess you up
I do ,one musician said "don't try to live so right ,wise 'cause you'll hate yourself at the end"
Com certeza q sim
you mean you get distracted
i get hyperfocused
Muito mais até,agora estou focado na prep para minha interview na toptal
Where are you from, by the way?

